Latest Ubuntu related questions

Score: 0
Schnitzel Plays avatar
Unable to access the internet after uninstalling python from synaptic
in flag

I uninstalled python from synaptic and then reinstalled it using terminal. It worked fine but now after I restarted my PC when I log in to KDE session I just get a black screen with a cursor and when I log in to Lxqt session I have no access to the internet even though I am connected through Ethernet.

Score: 2
Bobcat33 avatar
Recover lost password from Raspberry Pi 4B
cn flag

I have an RPi that I have forgotten the password to. I have history on the ubuntu command line on my PC of ssh logins and I was hoping there would be a way to get text history entered into to try to find my password. If not is there a way to recover an RPi password? I am running Ubuntu Server (not Raspbian) and was unable to access GRUB.

Earlier I was using the history command but that only shows the ss ...

Score: 0
Joabe Meirelles avatar
Systemd restarts all services automatically
in flag

today my systemd restarted some services and stopped others, I don't know why this happened, it was automatic.

> Aug 15 00:51:36 ns519723 sshd[18469]: Disconnected from 49.88.112.73 port 58638 [preauth]
Aug 15 00:51:36 ns519723 systemd[1]: sqlbak.service: Failed with result 'signal'.
Aug 15 00:51:36 ns519723 systemd[1]: nginx.service: Failed with result 'signal'.
Aug 15 00:51:36 ns519723 systemd ...
Score: 0
Captain H. avatar
Dual boot with Windows 10, Grub no longer working
ec flag

I had dual boot working for the last few months on my PC, with Windows 10 and the EFI partition on a NVMe drive and Ubuntu on a SATA SSD. Both the Windows Boot Loader and Grub are installed on the NVMe drive, while the Grub config is on the SATA SSD.

Unfortunately, the last time I used Windows it did not shut down properly (I had to power cycle the PC) and now grub only displays the grub> prompt. Sel ...

Score: 1
Thomas avatar
apt-check vs apt update different result
cn flag

On my Ubuntu 20.04.2 LTS server i run my script with cron hourly. It's generate a text file. This file processed by conky on my desktop PC. In my script i use apt-check to know is there any update and if is how many is security. My problem is: apt-check and apt update totally different result. for example right now apt-check:

$(/usr/lib/update-notifier/apt-check)
17;1

same numbers which in motd messag ...

Score: 0
Redirecting Apache2 public directory to directory: www inside /home/user in Ubuntu 21.04 for local development
cn flag

I have changed the Apache2 public directory for years changing the content of file
/etc/apache2/sites-available/000-default.conf

so:

DocumentRoot /home/user/www
<Directory "/home/user/www">
   Require all granted
</Directory>

In the file: /etc/apache2/apache2.conf
I wrote the follow line as last line

ServerName localhost

Then I go to restarted Apache with:

sudo /etc/init.d/apache2 res ...

Score: 0
MeMcCree avatar
Problems with Ubuntu partition
tr flag

I just installed Ubuntu 20.04 dual-boot with windows and gave it 520 Gb. But Windows won't see the Ubuntu partition and it still thinks that it has 1Tb of disk space.

Score: 0
Hossein avatar
How can I reload bashrc in a script and not failing?
cl flag

I have written a script that downloads and installs anaconda3, and some other dependencies, and then it installs a couple of python modules using pip3.
The issue is that my source ~/.bashrc doesn't seem to work, and thus pip3's are not recognized. If I use exec bash, the remaining instructions after this command are not executed. What should I do? This is my script by the way :

#!/bin/bash

## Bash scr ...
Score: 1
smartroad avatar
Internal NTFS drives not mounting RW
in flag

I am trying to move over from Win10 to Ubuntu (20.04 in this instance) so am beginning to work more in depth with Linux (have played a little with RPi's). I have internal SATA 2x1TB SSD's that are NTFS however when I try to access them I can only read them.

Searching online it says about install ntfs-3g to gain writeable access but that hasn't worked for me.

These are the settings I have been using: ...

Score: 0
Charo avatar
tasksel: apt-get failed (100) when installing ubuntu-mate-desktop
br flag

I tried to install ubuntu-mate-desktop with this command:

sudo tasksel install ubuntu-mate-desktop

It seems that xserver-xorg was installed successfully However, in next line, I got this error.

tasksel : apt-get failed(100)

What do I do to fix this error?

Environment: Ubuntu 18.04 Wsl1

Score: 0
Tintin avatar
adding Ethereum repository fails (Ubuntu 20.04)
cn flag

I am running the following code:

sudo add-apt-repository -y ppa:ethereum/ethereum

The error message is:

...
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/hpttps could not be found.
N: Is the package apt-transport-hpttps installed?
E: Some index files failed to download. They have been ignored, or old ones used instead.

How can I fix this?

Score: 1
My elantech fingerprint cannot be detected in lsusb. How can i fix this?
es flag

My ELANTECH Fingerprint reader is not detected in lsusb but the touchpad is running. The fingerprint sensor is embedded on the touchpad. My laptop is Asus X509JP.

vatsal@vatsal-pc:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 13d3:5a11 IMC Networks USB2.0 VGA UVC WebCam
Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader  ...
Score: 0
Ariful Haque Tomal avatar
Disk Partitions
jp flag

I have recently installed Kubuntu as my laptop's only os. I have a 500gb disk space. Everything is working fine. The problem I think is maybe with the disk partitioning. As I only have 100 gb allocated to my machine and the rest I can't access. Anyone please help me with the problem. I am not using dual boot. I want to gey access to my whole disk space as in windows with different drives(e.g c:, e:). Th ...

Score: 0
Suresh Kumar M avatar
I am getting ImportError: No module named '_gdbm' error whenever the command I enter is not valid
in flag
work@suresh-Lenovo-B50-80:~$ sadfsdf

Traceback (most recent call last):
  File "/usr/lib/python3.5/dbm/gnu.py", line 4, in <module>
    from _gdbm import *
ImportError: No module named '_gdbm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 7, in <module>
  ...
Score: 0
Fluffy_Alpaca avatar
Ubuntu 20.04.2 only boots on recovery mode, graphic card issue
cn flag

I know there are already dozens of this same question, and I've tried several fixes suggested in the other questions, with no results.

I can only boot in recovery mode, which is typically an issue with graphic card drivers. My computer used to boot normally. Issues started months ago, but until now I could fix it by rebooting several times until it worked.

lspci | grep "VGA"

gives

00:02.0 VGA co ...

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.