Latest Ubuntu related questions

Score: 0
Deepika avatar
installation using pip on conda env taking very long time
pm flag

I am trying to install the below requirements contained in a file requirements.txt in a conda environment:

amazon-braket-pennylane-plugin==1.1.0.post1
cvxopt==1.2.6
cvxpy==1.1.11
dill==0.3.3
ipywidgets==7.6.3
jupyter==1.0.0
jupytext==1.10.2
matplotlib==3.3.4
Mosek==9.2.40
notebook==6.2.0
numpy==1.19.5
pandas==1.2.2
pytest==6.2.2
scikit-learn==0.24.1
scipy==1.6.0
seaborn==0.11.1
sklearn==0.0
sympy== ...
Score: 1
What is the difference between packages in jammy and jammy-updates?
ye flag

I upgraded today my laptop from Ubuntu 20.04 to 22.04 (Jammy). After this update, I noticed I was affected by a bug in mutter 42.0 that was fixed in 42.1-0ubuntu1. However sudo apt update && sudo apt upgrade doesn’t upgrade the package.

The new version doesn’t show up anywhere even if that bug was fixed almost one year ago.

$ apt policy mutter
mutter:
  Installed: 42.0-3ubuntu2
  Candi ...
Score: 0
batboy9322 avatar
How to block more than 3 ping requests from a host through iptables?
bw flag

i want to block more than 3 ping echo-requests for demonstration purpose of my college practical, and i am unable to do so using the following rules in my firewall.

iptables -A INPUT -p icmp --icmp-type echo-request -m limit --limit 3/s -j ACCEPT
iptables -A INPUT -p icmp --icmp-type echo-request -j DROP

Pinging from a windows / linux client doesn't block more than 3 pings. Also wanted to know how to  ...

Score: 0
libgdal26 looks broken on the ubuntu 22.04
us flag

I've upgraded my system to Ubuntu 22.04 and found problems using the libgdal26 package

The libgdal26 package is used to have my Django v.2.2 application working. It works fine on Ubuntu 20.04.

After the upgrade, I found the following problem:

  • libgdal26 depends on libproj15 and libgeotiff5
  • libgeotiff5 depends on libproj22

As a result, loading libgdal26 the application loads both, libproj15 and libproj ...

Score: 0
Tomáš Pečený avatar
Is it possible to move the /home directory without reinstalling the whole computer?
sh flag

I have Ubuntu 18.04 on a 50 GB SSD partition (+9.9 GB swap). I also have a mechanical drive with >= 105GB free Ext4 partition in that computer. I'm running out of space on that SSD partition. I'd like to move the entire /home folder to that mech drive. How would I do that?

Score: 0
Mosschops13 avatar
22.04 KVM Guest (also 22.04) will not update "0% Waiting for headers" and then connection failure
hk flag

I have two Ubuntu 22.04 VMs with this problem, and a third new install gave the same problems. All of these machines will download from the internet without issues using wget.

Two existing guests under the same KVM engine WILL still update successfully.

A KVM image that will not update copied to different server KVM instance will now update correctly, move it back and the error persists.

The host and oth ...

Score: 0
Paul merk avatar
Why does ubuntu 22.10 open snap store instead of ubuntu software?
la flag

I recently installed Ubuntu 22.10 on my Lenovo V580c laptop. Updated deb and snap packages. Then I open the ubuntu-software, and instead it opens the snap-store. How to fix it? desktop screenshot

Score: 0
user12140050 avatar
Unable to SSH to Ubuntu Server after changing the MTU size to 1550
nf flag

The Current Setup consists of a virtual router managing the VLANS 201, 401, 601 and routing traffic between the VLANs and the external network. Device A is connected to the virtual router via a switch.

Switch Configuation

VLAN 201
  - Tagged Port: 1
VLAN 401 
  - Tagged Port: 1 
  - Untagged Ports: 2
VLAN 601
  - Tagged Ports: 1
  - Untagged Ports: 3

Devices Connected to the Switch

Port 1 -> Virt ...
Score: 0
Fred McKinney avatar
Document not saving in Live 365 collaboration
jp flag

I'm about to rip my hair out on this one -- what little I have, anyway. I'm helping an old friend with her doctoral dissertation, and she's using Live 365 as the platform on which her dissertation is saved. I've gone through the very same stuff MULTIPLE times, correcting things, and making sure I'm signed in and saving as I go -- DILIGENTLY. Yet, MY changes NEVER show up when she opens it, while her  ...

Score: 0
Sourav Shome avatar
after I installed python3.11 a red dot(like a no parking sign) appeared and when I click on it, it disappears and I ran into this apt error
gb flag

When I run sudo apt update, this is the output:

Ign:1 https://repo.vivaldi.com/stable/deb stable InRelease
Hit:2 https://repo.vivaldi.com/stable/deb stable Release                       
Hit:4 http://in.archive.ubuntu.com/ubuntu jammy InRelease                      
Hit:5 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease              
Get:6 http://security.ubuntu.com/ubuntu jammy-security InRele ...
Score: 2
Running grep via GNU parallel
jp flag

How can I make searches with grep on a large number of files run faster? My first attempt uses parallel (which could be improved or other approaches suggested).

The first grep simply gives the list of files, which are then passed to parallel, which runs grep again to output matches.

The parallel command is- supposed to wait for a grep to finish so that I get the results from each file together. Ot ...

Score: 0
sofia sousa avatar
Ubuntu: gunzip: No space left on device, while df shows otherwise
sb flag

I am trying to decompress a .gz file with the gunzip command and I get the error 'No space left on device'.

This is the output of 'df -h':

Filesystem       Size  Used Avail Use% Mounted on
/dev/root         25G  9.2G   15G  39% /
tmpfs             15G     0   15G   0% /dev/shm
tmpfs            3.1G  872K  3.1G   1% /run
tmpfs            5.0M     0  5.0M   0% /run/lock
/dev/nvme0n1p15  105M  6.1M   99M ...
Score: 0
user12140050 avatar
No internet access on Ubuntu server when connected to Trunk port
nf flag

I have ubuntu server configured as a virtual router for routing traffic from the isolated VLANs 10.2.0.0/16 (VLAN 201), 10.4.0.0/16 (VLAN 401) and 10.6.0.0/16 (VLAN 601) to the external network 10.1.1.1/24. The virtual router has 2 ethernet interfaces.

Interface A -> Connected to the external network. Interface B -> Connected to a 802.1q managed switch via a tagged port.

Switch Configuation

 ...
Score: 1
Jonatan Pipping avatar
Why does UFW keep logging to syslog even when I turn it off through rsyslog settings?
jm flag

I've uncommented

& stop

in /etc/rsyslog.d/20-ufw.conf.

I've set

StandardOutput=null

by using

systemctl edit ufw

which shouldnt help anyway because the syslog messages are sent by a "kernel" unit, not the "ufw" service, but I tried it anyway.

Ive restarted ufw and rsyslog through

systemctl daemon-reload
systemctl restart ufw
systemctl restart rsyslog

and yet, journalctl is filled with [UFW BLOCK] m ...

Score: 0
DrLime2k10 avatar
Duplicate DNS entries after updating to 22.04
gb flag

My server has two network interfaces configured with DHCP and after updating from Ubuntu 20.04 5.4.0-144-generic to 22.04 5.15.0-67-generic, this results in /var/run/systemd/resolve/resolv.conf containing duplicate DNS entries.

My /etc/netplan used to look like,

$ cat /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
  ethernets:
    eno1:
      dhcp4 ...
Score: 1
shaggy avatar
Load Netplan yaml file from other directory apart from "/etc/netplan" in Ubuntu 22.04 LTS Desktop
bg flag

System - Ubuntu 22.04 LTS Desktop Netplan renderer - NetworkManager

Usecase -

  1. By default, there is a netplan yaml 01-network-manager-all.yaml file in /etc/netplan.
  2. On boot the netplan is applied.
  3. During runtime, there is a need to apply another netplan file 02-network-manager-all.yaml that is kept at /home/$USER/ProjectX/02-network-manager-all.yaml

Due to security factors, it is not possible to write d ...

Score: 0
NickN avatar
How can Xubuntu read/write to an unmounted HDD
gt flag

This is a follow-on from my question a few days back: How can I stop constant HD journaling?

Setup is now:

  • Windows 10 Pro on SSD
  • Xubuntu 22.04 on SSD: partitioned as 1. /root (ext4) 2. /home (ext4) 3. /swap
  • One internal SATA 2Tb HDD drive partitioned into two, both NTFS
  • Boot is GPT

Problem/issue: Running Windows I can access the Windows SSD partition, internal HDD and any USB-connected external har ...

Score: 1
Luiz Carlos avatar
snap-store and snaps not working ( /home/my_sudo_user/my_regular_user )
hm flag

I'm on Ubuntu 22.04 LTS

I have two users account. One of them has sudo "permissions" and the other is a regular account.

My regular account was created this way:

$ sudo useradd --home=/home/my_sudo_user/my_regular_user --shell=/bin/bash my_regular_user

As you can read i intenttionaly created my regular account into my_sudo_user dir with it's own directory my_regular_user.

My intention is to avoid b ...

Score: 0
koushik naskar avatar
Ubuntu won't detect 100mbps ethernet conection
hr flag

So recently I bought a new machine and installed ubuntu on it. I connected a 1000mbps ethernet connection to it. Later for some reason, I had to connect to a different ethernet connection that has only 100mbps. Now the machine won't detect the new 100mbps connection. Ubuntu shows "Cable unplugged". But I if connect the previous 1000mbps connection, it works. I checked and the later 100mbps connection is ...

Score: 3
Pablo avatar
Install llama.cpp locally?
tr flag

Hey I'm looking for install llama.cpp from this github link... May someone help me please ? There is no ubuntu tutorial on youtube and I don't want to follow chatGPT for something so important. Thanks

Score: 0
Silvio Levy avatar
What is the modifier key?
br flag

I'm trying to use gnome-tweaks to learn more key bindings and assign new ones. The most extensive list of assignable actions seems to be provided by gnome-tweaks, under Settings Editor, row xfce4-keyboard-shortcuts.

As shown on the screenshot, many such bindings involve a modifier key. What does that map to in physical keyboards? For concreteness, mine is a ThinkPad keyboard with bottom row o ...

Score: 0
x44 avatar
HP network printer queue suddenly won't un-pause
sj flag
x44

I've got an HP MFP M479 which has worked fine (driverless) for years. Last week I started having the same problem on two different Ubuntu 20.04 computers: when I try to print the print queue immediately pauses. Every time I hit "resume" it immediately re-pauses without printing anything.

The printer is still being autodetected correctly and scanning still works fine. The printing works fine from  ...

Score: 0
flimsy avatar
Apple Magic Keyboard no longer working on Ubuntu 22.04
se flag

I was previously using an Apple Magic Keyboard with Ubuntu 18.04 LTS, but after upgrading to 22.04 support seems to be really flaky. The keyboard pairs easily, and seems to work for a few seconds after pairing (I can enter input for the first few seconds), but then stops. Sort of frustrating since this used to work fine. Any obvious places I should be looking for logs?

Score: 0
Luiz Carlos avatar
/etc files security/hardening (sudo)
hm flag

On Ubuntu 22.04, is that possible to deny ALL /etc files modifications and grant ONLY specific file(s) running as sudo? ex:

sudo text-mode-editor-filtered-path /etc/hostname

If /etc/hostname absolute path is into /etc/text-mode-editor-filtered-path.conf, the command above works with root read/write permission(s).

It is like visudo (sudo visudo). But visudo is only permitted to read/write /etc/sud ...

Score: 0
VENU S N avatar
Unable to resolve the DNS queries to a domain
cv flag

I have a windows dns server which has 2 DNS zones configured.

  1. mylab.local
  2. devapp.lab

Also I have a ubuntu machine which is getting IP and DNS from DHCP server. I am facing an issue ubuntu

is unable to resolve any *.devapp.lab

but it can resolve

*.mylab.local

for example, If I do nslookup app.devapp.lab the DNS is resolving. on pinging app.devapp.lab it is not resolving.

I followed this link

Score: 0
cloud-init images are minimal. Is there any full server cloud-init image matched what we get with standard Ubuntu ISO installation?
kz flag

I created a Proxmox cloud-init image and I am noticing the image is locked down and minimal.

Is there any full server cloud-init image matched what we get with standard Ubuntu ISO installation?

Update 1

I am taking my images here:

https://cloud-images.ubuntu.com/jammy/current/

Score: 1
Abu Yousuf avatar
Continuously monitor usb connection status
mx flag

I am facing a problem with usb port. when I connect a mobile device to my PC USB port, sometimes it becomes disconnect and immediately gets connected. So I want to monitor the USB connection status continuously. Is there any way I can monitor the connection status live?

It would be good if can get the log file also with only usb connection status

Score: 0
Nicholas Stommel avatar
How do I automatically connect to a VPN with ethernet on boot and after resume on the Gnome desktop? (systemd script)
sy flag

I was running Gnome and I noticed something obnoxious about autoconnecting to my VPN on startup and after resume. It simply wasn't working, and I changed password permissions and availability to no avail. Something odd was that if I enabled all connections and passwords for all users, it would connect supposedly right after boot but when I logged in, I couldn't resolve any domains or access web pages an ...

Score: 2
Gudiputi Transcendence avatar
Dualboot with windows 11 and ubuntu boot issue
am flag

I am Using Lenovo laptop with i5 Processor. I kept dual boot with windows 11 and ubuntu. sometimes while booting into ubuntu screen stuck with data like below. enter image description here

installed Ubuntu details:
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:   jammy

Like above i am facing issue sometimes when ever i booted into ubuntu. Kindly please guide me to fix this issue.

Score: 0
Ben avatar
Lag with dual external monitors when primary display disabled on 22.04
ng flag
Ben

The setup ran fine (18.04) before my upgrade to 22.04.

It is a Lenovo Thinkpad with a DisplayLink USB-C dock with two external monitors connected.

Nvidia info: TU117GLM [Quadro T2000 Mobile / Max-Q]

With all three displays enabled, the performance is normal, but disabling the primary display leads to severe performance drop / screen lag. The primary needs to be disabled or windows sometimes spawn there ...

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.