Latest Ubuntu related questions

Score: 0
how to fix sub-process /usr/bin/dpkg while installing libgranite5
in flag
dnp

I am trying to install libgranite5 which is a dependency for ubuntudde or installing deepin desktop environment but I am getting following error

dpkg: error processing archive /var/cache/apt/archives/libgranite5_5.3.0-1_amd64
.deb (--unpack):
 trying to overwrite '/usr/share/metainfo/granite.appdata.xml', which is also in
 package libgranite-common 6.2.0+r2223+pkg122~ubuntu6.1
Errors were encounter ...
Score: 0
JeanSibelius avatar
Trying to set up an HP LaserJet MFP via an ASUS router (USB)
sr flag

I'm trying to install a networked HP LaserJet MFP M130FW printer, which is connected to an ASUS RT-N66R.

Following these instructions, I can get the printer recognized, and the drivers installed. When trying to print a test page or other documents, however, the print job SEEMS to go through, but then nothing prints. The status in the print queue is "held." Anoter print test has it held as "processing" wit ...

Score: 0
Executing sudo in a script using expect works but then dropped out
hu flag

I have a script like below that basically auto execute "sudo -i", entered password and become root. Problem was that once I become root, it just froze about 10 seconds and then got dropped out back to regular user.

I checked in the /var/log/auth and /var/log/syslog, there is no error. I wonder whats wrong. Thanks

#!/usr/bin/expect
    spawn sudo -i
    expect "*?assword*"
    send -- "mypassword\r"
   ...
Score: 1
Why is update-notifier.desktop scanning /proc/3782/fd without permission?
nc flag

Why is that, occasionally, update-notifier spits out a large number of "Permission denied" lines in journalctl?

Dec 04 08:55:32 ML systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Dec 04 08:55:56 ML pkexec[334886]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Dec 04 08:55:56 ML pkexec[334886]: jabowery: Executing command [USER=root] [TTY=unknown] [CWD=/home/jabowery] [ ...
Score: 0
Josée Mallah avatar
Many 403 failed to fetch errors and repository warnings when I try to run sudo apt-get update
tr flag

I am attempting to use Python on Ubuntu 20.04 on a virtual machine. I was trying to install pip, and used the instruction get-update, and a long series of errors appeared as below.

Does anyone know what the problem is and what can I do to fix it? Thank you.

joseemallah@joseemallah:~$ sudo apt-get update
Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease
403 Forbidden [IP: 91.189.88.142 8 ...
Score: -3
Ayat Allan avatar
How do I solve "cp: cannot stat '/etc/kubernetes/admin.conf': No such file or directory"?
kr flag

I'm getting this error

$ cp /etc/kubernetes/admin.conf $HOME/
cp: cannot stat '/etc/kubernetes/admin.conf': No such file or directory

How can I solve it?

Score: 0
How to install Java 18 (JRE) on Ubuntu LTS 20.04
za flag

My kid really wants me to upgrade the minecraft server I run from 1.17.1 to 1.18, but when I tried, I found that it required Java 18. It looks like Java 18 is only available on the latest release of Ubuntu, but I want to stick with the LTS releases. Is there a backport available for Java 18?

Score: 0
Laptop fan runs at full speed for a few minutes on startup
us flag

My current laptop is an MSI but I've also encountered the same issue on a MacBook Pro & a Samsung laptop. All have dedicated GPU RAM.

Running Ubuntu 21.04, Intel i7, 32GB RAM, NVIDIA GeForce RTX 2060, 6GB RAM.

What happens? - When I boot up the laptop, the fan starts at full speed & continues for several minutes. I've checked the System Monitor & some of the individual cores in the CPU r ...

Score: 0
Andrea Moro avatar
Python -m venv installs a version of pip that is not upgraded. How can I upgrade it?
cn flag

I often recur to the -m venv option to isolate my working environment. Python has been installed using pyenv.

However, since I have migrated to Ubuntu, I noticed a strange behaviour with the Pip command not being upgraded to the most recent version. This is strange; if - in a brand new terminal - I run something like pythom -m pip -V to date, I get the 21.3.1 version. A pip install --upgrade pip c ...

Score: 1
yazici11 avatar
Merging all disks in ubuntu
br flag

My hard disk is 4x10 TB so i would like use all storage as 40 TB. I shared my disk info also i used no raid. Is there any way to do that. I tried to remove disk but i got error for that. I have "sda", "sdb","sdc", "sdd" and i already use sda as / . So "sdb", "sdc", "sdd" i could not them. i would like use other storage. Thanks helping from now.

enter image description here

Edit: I tried to mount  ...

Score: 1
Angel Developer avatar
I got these error messages when trying to unmount /dev/sda3
th flag

I got these error messages when trying to unmount /dev/sda3.

root@marudhu:~# umount -t /dev/sda3
umount: bad usage
Try 'umount --help' for more information.
root@marudhu:~# umount -t/dev/sda3
umount: bad usage
Try 'umount --help' for more information.
root@marudhu:~#

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.