Latest Ubuntu related questions

Score: 1
RTC222 avatar
ModuleNotFoundError: No module named 'apt_pkg' trying to install deadsnakes repository
cn flag

I want to install Python 3.10 on Ubuntu 18.04 (I'm currently on Python 3.8) from the deadsnakes repository with the following set of commands I found on the internet:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.10

But I got the error "sudo: add-apt-repository: command not found."

More net research led me to this set of commands at "ModuleNotFoundError: No m ...

Score: 0
Finbar avatar
Persistent error with phpmyadmin "Array and string offset access syntax with curly braces is no longer supported"
uy flag

The following error is in my /var/log/apache2/error.log file. I can not access the index.php file or any other phpmyadmin file, in replace of phpmyadmins interface my server returns an http 500 error. All other files work fine, its only phpmyadmin's which has this issue.

Array and string offset access syntax with curly braces is no longer supported in /usr/share/$
$share/phpmyadmin/libraries/Util.php o ...
Score: 4
Phil UK avatar
Security Delete files
kr flag

I am looking for a program that I can use to security delete files/folders. I know you can do it via the terminal, but in previous releases there was a program that you could install that was accessible from the right click menu.

Can anyone recommend anything?

Score: 0
Problem with graphics card driver NVIDIA GeForce GT 710
ve flag

suddenly at a boot up the resolution of my monitor was at 800x600 and only one of three monitors showed a picture.

I opened a terminal and run following command:

sudo ubuntu-drivers devices

result:

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd0000128Bsv00001043sd00008770bc03sc00i00
vendor   : NVIDIA Corporation
model    : GK208B [GeForce GT 710]
driver   : nvidia-d ...
Score: 0
error electrum after ubuntu update
jp flag

After updating Ubuntu have the following error whe I try to run electrum:

Traceback (most recent call last): File "/home/bin/electrum", line 83, in

from electrum.logging import get_logger, configure_logging # import logging submodule first ModuleNotFoundError: No module named 'electrum'

Score: 1
How do I make second disk in zpool bootable?
cn flag

I have two M2 drives. The old one appears to be in pre-fail mode, so I am trying to migrate my system over to the new M2 drive. I have successfully created four partitions (boot, swap, bpool, rpool) on the M2 drive. Here are the layouts of my drives:

nvme0n1                                          rpool  /dev/nvme0n1   zfs_member
|-nvme0n1p1 68f4123e-f220-4ea3-8746-339e258a1f75        /dev/nvme0n1 ...
Score: 0
user2912964 avatar
Cannot Upgrade from Ubuntu 18.04 to 20.04
ro flag

I am having problems upgrading from Ubuntu 18.04 to 20.04 This is what happens.

sudo apt update

Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 
Hit:5 https: ...
Score: 0
Andrew Brown avatar
cannot update ubuntu system is broken
kr flag

Unable to update I get this error message.

Transaction failed: The package system is broken
 The following packages have unmet dependencies:
libc6-dbg: Depends: libc6 (= 2.27-3ubuntu1.4) but 2.27-3ubuntu1 is installed
libc6-dev: Depends: libc6 (= 2.27-3ubuntu1.4) but 2.27-3ubuntu1 is installed
           Depends: libc-dev-bin (= 2.27-3ubuntu1.4) but 2.27-3ubuntu1.4 is installed

how can I fix this, ple ...

Score: 0
Image Magick will not purge
cn flag

I have a similar problem on double - boot windows 10 / Ubuntu (originally windows 7/windows 10 / ubuntu... I started to get notices in the log that Image Magick was in a 'bad confiiguration state' so I used apt-remove to remove it... The icon was removed, so I assume so was the software, but now there seems to be glitch in auto updates (which may be looking for the original image magick I had just remov ...

Score: 0
Micheal Saunders avatar
How do I make a folder owner writable, and world readable
in flag

I have just successfully setup a local user with FTP access with his own home folder and chrooted to that folder, but he's asking if there's a way for that folder (/home/username) can be owner writable and world readable for apache? This is so that others in the same building can download files using standard http protocols but only the owner can upload via FTP.

EG A local user sends a zip file  ...

Score: 1
Installing Ubuntu in VM with Vagrant without automatically installing GNOME?
in flag

I'm setting up a vagrant script on my MacBook Pro to set up an Ubuntu Focal LTS VM. I've provisioned it to install Mate DE, but when I set it up, it's automatically installing GNOME and overwriting Mate. I know Mate is based off of GNOME 2, but that doesn't seem to be the reason as previously today, the mate provision was fine (I've been tweaking things and doing vagrant up and vagrant destroy on  ...

Score: 0
mohamad zbib avatar
static ip DNS not working
ar flag

i am have problem with the configuration of the DNS in file /etc/network/interfaces:

auto eth0
  iface eth0 inet static
  address 192.168.0.10
  netmask 255.255.255.0
  gateway 192.168.0.1
  dns-nameservers 192.168.0.1 192.168.1.1

the net is working but the dns is not, checking file /etc/resolv.conf:

# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf fil ...
Score: 0
Connect laptop to home network using wifi-hotspot on iPhone
in flag

Looking for some guidance/thoughts here. I'm going on vacation and will be bringing my laptop which runs 21.04.

I use wireguard on my iPhone to connect to my home network whenever I need to access files stored on my NAS, which runs Ubuntu Server 20.04. Everything works great with the connection between my cell and my home network and I can SSH into my home network from my phone using my NAS' ho ...

Score: 0
Ns3 installation stucks
in flag

I'm trying to install ns3.34 on ubuntu 20.04 , and it stucks during installation.I increased the ram but it didnt work.

When i enter this command " ./build.py --enable-examples --enable-tests" it stucks in this line: " [2551/3008] compiling src/netanim/examples/star-animation.cc " and my system stops working.

After some time i got this error: g++ fatal error: killed signal terminated program cc1plus ...

Score: 1
Name avatar
How to resize root partition
kr flag

I'm about to run out of space on my root partition and I have plenty of unallocated space. When creating the partitions, I thought I had enough space, but it turned out that I didn't. On the information I found it says that it is quite risky, so I want to make sure to do it properly. How should I resize the root partition? (I have a dual boot with windows)

Here is the situation:

enter image description here enter image description here enter image description here

Update: I followed yo ...

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.