Latest Ubuntu related questions

Score: -1
neon99921 avatar
How can I set wget to download only newer file in a specific url?
mx flag

How do I get wget to download only newest file version in a url?

Sample url: https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/

As you can see, there are multiple versions of Edge installer file.

Score: 0
initramfs shows up when I use Ubuntu Studio 20.04
us flag

I have a strange problem: Ubuntu Studio is on another hard drive. I don't use it every day, but when I open Ubuntu Studio 20.04, an error with initramfs shows up. I tried to use a live CD and used the terminal with this command: sudo fisk -l and sudo fsck /dev/sdaX. After that it prints a lot of lines asking me to type y at a line with (Y) for accepting the renewal trouble . Finally I press Enter  ...

Score: 3
tezman avatar
Custom workaround udev script for hibernate/suspend error doesn't work
cn flag

So I have an old ASUS K46CM laptop running Xubuntu 20.04, with a functioning speaker but defunct audio jack. I've disabled the audio from BIOS now to deal with it.

This presents a new problem: I can no longer hibernate nor suspend this laptop. It generated an error that said:

0000:01:00.1: can't change power state from D3cold to D0 (config space inaccessible)

I googled around and found someone wit ...

Score: 0
Athena Wisdom avatar
Find Largest Directories/Files when Drive is Full
gr flag

When the drive of an Ubuntu 20.04 server is full, how can we find out the directories/files with the largest sizes, ranked from largest to smallest? This can allow me to find some files to delete (likely log files)

Tried installing ncdu but theres insufficient space

# sudo apt install ncdu
Reading package lists... Error!
E: Write error - write (28: No space left on device)
E: Write error - write (2 ...
Score: 0
romeplow avatar
upgrading packages on 18.04 running on AWS ec2 instance results in error
ua flag

Attempting to upgrade packages on 18.04 running on an AWS ec2 instance and getting the following error.

The package linux-aws-5.4-headers-5.4.0-1030 needs to be reinstalled, but I can't find an archive for it.

I've tried apt dist-upgrade , apt-get install --fix-missing and dpkg --configure -a. All result in the same error above.The package linux-aws-5.4-headers-5.4.0-1030 doesn't appear to be listed ...

Score: 0
Terminal printing on file is being shrank with ellipses
in flag

I am running a command like this: command > output.txt but my output.txt is having "...43 more items" written on it because the command prints too many things, it is like:

{
this is a text
text again
[more text,
more text
...43 more items
],
text again
}

Any help on how to make output.txt save all the lines without shrinking it with the "...43 more items" is very appreciated! Thank you :)

EDIT: My c ...

Score: 0
Cyclo avatar
Ubuntu 20.0.4 Autoinstall ISO not working on UEFI
ni flag

My custom Ubuntu server 20.0.4 ISO does not "detect" my user-data file. It boots into the regular installation when booted on UEFI. If I boot the same ISO in legacy mode, the installation goes unattended and finishes successfully.

I have edited the following files:

  • boot/grub/grub.cfg
  • boot/grub/loopback.cfg
  • isolinux/txt.cfg

Does anyone know what could possibly be missing?

Score: 0
Mohsin Ullah avatar
How do you access other drives through ssh?
th flag

We have made a computer with a GPU for AI simulations. It has 512 GB SSD on which ubuntu is installed and a 2TB HDD. After installing ssh server the 2TB HDD is not accessible from the client side of the ssh session. How do you access the 2TB HDD drive through ssh? We want to keep datasets in the 2TB HDD drive so that during simulations data is loaded from the 2TB HDD to the GPU’s memory and be able to ...

Score: 3
Benjamin Márkus avatar
How to access contents of an old Android SD card?
us flag

I have an SD card with lots of important personal documents on it. I've used it with an Android phone as an 'Adoptable Storage' so it showed up as internal storage on that device, which, according to this post makes it very likely to have been encrypted. I do not remember the exact version of Android the phone used. I still have the phone lying around, but I'm afraid it has had a factory reset sin ...

Score: 0
BrookCom avatar
18.04 Video Drivers for Tiger Lake and GTX 1650
br flag

I am trying to setup 18.04 LTS on an Acer Nitro 5 and running into problems with no screen at boot. I have tried a variety of Intel and NVIDIA drivers and various combinations of "nomodeset", "nouveau.modeset=0" and "i915.modeset=0" in the bot arguments with no luck so far. In most cases I can still ctrl+alt+F2-6 and get TTY, although sometimes the screen flickering is so bad I can't type.

Is i ...

Score: 0
Nathan Sowatskey avatar
Packer Autoinstall with Ubuntu 21.04/21.10 Desktop
tr flag

I was trying to automate a Packer build of Ubuntu Desktop 21.04 in vSphere with the HCL below. Since then I have found out that this won't work with the desktop images until 21.10 "Impish" at minimum, as discussed here:

https://discourse.ubuntu.com/t/refreshing-the-ubuntu-desktop-installer/20659/76?u=nathanto

The original question is below to help others.

The key piece is where the boot command defines th ...

Score: 0
Ubuntu 18: eclipse fails while attempting to load SWT libraries
pe flag

I am running latest eclipse, and when I open WindowBuilder JTable's model's diaglog, I get this error:

Blockquote org.eclipse.swt.SWTError: Unspecified error [Error while starting AWT] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: /media/Backup/eclipse/java-2021-09/eclipse/configuration/org.eclipse.osgi/333/0/.cp/libswt-awt-gtk-4946r21.so: /usr/lib/jvm/jdk-17/lib/libjawt.so: vers ...

Score: 0
Browsers keep crashing on Ubuntu 20.04
tn flag

I have Ubuntu 20.04 on my Lenovo Thinkpad E530. The Chrome and Firefox browsers keep crashing randomly. Today Firefox crashed and I can't launch it. I have this error:

17:45 ~ [home]$ ExceptionHandler::GenerateDump cloned child 85321
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Failed to open curl li ...
Score: 0
Fafa avatar
Error as executing "mpirun''
in flag

I am running to run a RegCM test simulation with the command line "mpirun -np 2 /bin/regcmMPI test_001.in" but I keep getting the error:

"mpirun was unable to launch the specified application as it could not access or execute an executable:

Executable: /bin/regcmMPI Node: josh-Swift-SF314-52

while attempting to start process rank 0.


2 total processes failed to start"

Score: 0
AnneBright avatar
groupadd command not working error: 'is not a valid group name'
il flag

I re-did the code to something less complicated and now it says:

ubuntu@ubuntu-VirtualBox:~$ ./newuseradd.sh Newbies.csv [sudo] password for ubuntu: useradd: group 'acct' does not exist useradd: group 'hr' does not exist useradd: group 'purch' does not exist

Script:

 #!/bin/bash

 if [ $# -ne 1 ]; then
   echo "USAGE: $0 FILE"
    exit 7
 fi

 sed -i'.bak' 's/Accounting/acct/;s/Purchasing/purch/;s/Human  ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.