Automatically restart docker daemon if there are no running containers https://askubuntu.com/questions/1565604/automatically-restart-docker-daemon-if-there-are-no-running-containers

My installation pauses when a manual APT update include a new version of docker.io on one of my systems .. this requires me to type yes to restart the daemon, despite there being no running containers to impact

I've found some suggestions to blanket enable noninteractive mode, but that's not granular enough for me

What is the most practical way to always and automatically restart the daemon on a new version install (or other apt interactions?) if there are no running containers?

As a stretch goal, ensuring there are no building containers would also be an advantage!

I imagine a script can be added somewhere to override this behavior like

#!/bin/sh
# docker ps
#   only output container IDs
# grep
#   don't output matches, returncode is 0 for matched, 1 for unmatched
#   trailing dot matches any container ID(s)
docker ps --quiet | grep --quiet .
Unable to open Cronopete https://askubuntu.com/questions/1565603/unable-to-open-cronopete

I have updated to Ubuntu 22.04 on my laptop. Previously I have used Cronopete for my backups. I have installed Cronopete in Ubuntu 22.04.

Cronopete does not open when I click on the icon in "Show Applications"

If I try to run Cronopete from the terminal I get the following error message:

$ tony@TONYZ-UBUNTU:\~$ cronopete
cronopete: symbol lookup error: cronopete: undefined symbol: g_once_init_enter_pointer
Error when trying to reinstall Ubuntu https://askubuntu.com/questions/1565602/error-when-trying-to-reinstall-ubuntu

I have had Ubuntu running on this system for a year. I tried Truenas, but I decided to go back to Ubuntu. When trying to install it give an error, and does not complete installation. Nothing else has changed in the system. I'm using 24.04.04 desktop.

This is what it shows on the log when it errors out.

                                              Something went wrong

Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:       
                                                              builtin_curthooks(cfg, target, state)
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/
python3.10/site-packages/curtin/commands/curthooks.py", line 2179, in builtin_curthooks
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:             update_initramfs(target, all_kernels=True)
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/
python3.10/site-packages/curtin/commands/curthooks.py", line 908, in update_initramfs
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:             in_chroot.subp(cmd)
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/
python3.10/site-packages/curtin/util.py", line 851, in subp
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:             return subp(*args, **kwargs)
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/
python3.10/site-packages/curtin/util.py", line 331, in subp
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:             return _subp(*args, **kwargs)
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/
python3.10/site-packages/curtin/util.py", line 175, in _subp
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:             raise ProcessExecutionError(stdout=out,
stderr=err,
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]: curtin.util.ProcessExecutionError: Unexpected error
while running command.
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]: Command: ['unshare', '--fork', '--pid', '--mount-
proc=/target/proc', '--', 'chroot', '/target', 'update-initramfs', '-c', '-k', '6.17.0-20-generic']
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Exit code: 1
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Reason: -
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Stdout: ''
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Stderr: ''
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Unexpected error while running command.
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]: Command: ['unshare', '--fork', '--pid', '--mount-
proc=/target/proc', '--', 'chroot', '/target', 'update-initramfs', '-c', '-k', '6.17.0-20-generic']
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Exit code: 1
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Reason: -
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Stdout: ''
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Stderr: ''
Apr 09 15:04:42 ubuntu subiquity_log.6881[10641]:         Stderr: ''
Apr 09 15:04:42 ubuntu subiquity_event.6881[6881]:  curtin command install
Why do I suddenly get "A privileged instruction was executed at address 004dd5b4" Wine error? https://askubuntu.com/questions/1565600/why-do-i-suddenly-get-a-privileged-instruction-was-executed-at-address-004dd5b4

I played the old original Command and Conquer game, There was an update and suddenly it would no longer start.

It stops with:

A privileged instruction was executed at address 004dd5b4    
Click on OK to terminate the application.

Kubuntu 22.04 LTS (Yes, I know we have to upgrade). And yes, I know OpenRA exists.

The error first appeared in Lutris, so I tried reinstall, new wine prefix, complete reinstall of game, try different wine versions in Lutris. Nothing worked. Then I moved over to PlayOnLinux, installed there and I had the same issue.

At first I thought it was a Lutris issue, but it seem this is system-wide. I am unsure what update would cause this, but it seems as if something is blocking Wine. The game worked just fine, then one day this error message appeared and it no longer worked.

System: Ryzen 7 2700, 16 GB RAM, Nvidia GTX 1650 4 GB; kernel 5.15.0-174-generic x86_64

Lutris log - original error:

Started initial process 30014 from taskset -c 0-0 /home/user/.local/share/lutris/runners/wine/wine-staging-11.2-x86_64/bin/wine /media/user/biggames1/CnC/drive_c/WESTWOOD/CNC95/C&C95.EXE DXVK_FRAME_RATE 60  
Start monitoring process.  
libEGL warning: egl: failed to create dri2 screen  
libEGL warning: egl: failed to create dri2 screen  
libEGL warning: egl: failed to create dri2 screen  
libEGL warning: egl: failed to create dri2 screen  
Monitored process exited.  
Initial process has exited (return code: 256)  
Exit with return code 256"  
\-Lutris log    
  
new prefix in Lutris and fresh install:  
Started initial process 52570 from /home/user/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wine /media/user/biggames1/cncz/drive_c/WESTWOOD/CNC95/C&C95.EXE  
Start monitoring process.  
esync: up and running.  
wine: RLIMIT_NICE is \<= 20, unable to use setpriority safely  
Monitored process exited.  
Initial process has exited (return code: 38400)  
Exit with return code 38400
Why does /var/lib/apt/lists get so big? [closed] https://askubuntu.com/questions/1565598/why-does-var-lib-apt-lists-get-so-big

The question is the title. Note, I am NOT asking why it is big in my particular case, nor am I asking a previously asked question. If files /var/lib/apt/lists is supposed to store lists of the packages in repos, then it should NOT be hundreds of megabytes in size.

New 25.10 install on ASUS Zenbook UX3407R install, 4 major issues https://askubuntu.com/questions/1565597/new-25-10-install-on-asus-zenbook-ux3407r-install-4-major-issues

Issue 1: battery not found, upower -e (no bat0,1,etc.) Main issue is there is no indication of battery level. Can I resolve this out of the UEFI?

Issue 2: Cannot upgrade driver for Snapdragon Elite X. Unable to install anything for qualcom

Issue 3: Can get a network connection via ethernet, cannot get my wireless working or even seen in settings or terminal.

Issue 4: When in the App Center the screen starts flickering. I have set the value to 60 Hz now but there are still instances occurring mainly in the app center.

I have searched through other people's solutions, but couldn't get anything to work besides updating and upgrading via sudo apt. This is beating me down; I was going to Ubuntu 24.04 LTS on because I have lost patience, but that wouldn't boot. Can anyone please advise me on this?

How to make a Bluetooth game controller show up under /dev/input/js* in addition to /dev/input/event*? https://askubuntu.com/questions/1565596/how-to-make-a-bluetooth-game-controller-show-up-under-dev-input-js-in-addition

I'm using Ubuntu Cinnamon 24.04, and have a Bluetooth gamepad (a Gioteck WX5 that emulates a Nintendo Switch 2 Pro Controller). I can pair it with my laptop, and when I do, it shows up as a pair of devices in /dev/input (specifically, "Pro Controller" in /dev/input/event18, which responds to button presses and thumbstick movements, and "Pro Controller (IMU)" in /dev/input/event19, which I think (but am not totally sure) is the accelerometer / motion controls).

I can confirm that the gamepad is working by using evtest, which displays the button presses. I have added myself to the input group in /etc/group, giving myself permissions to read from /dev/input directly.

However, the gamepad doesn't show up under /dev/input/js*, which means that some programs (such as jstest-gtk) aren't able to see it. I'm particularly interested in using the gamepad from a browser such as Firefox or Chromium, but they don't appear to see the gamepad either, and I think that the fact that it doesn't show up under /dev/input/js* is the most likely cause. (To rule out possibilities, I also tried a wired Xbox 360 game controller, and this does show up as /dev/input/js0 and does work correctly in at least Chromium.)

I tried checking for existing questions but none seemed to have similar enough circumstances: in most of them, the controller was appearing in /dev/input/js* and the problem was elsewhere. This question is the closest, but the journalctl entries I'm seeing are substantially different from the ones seen in that case:

kernel: nintendo 0005:057E:2009.0005: hidraw2: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on [REDACTED]
kernel: nintendo 0005:057E:2009.0005: controller MAC = [REDACTED]
kernel: nintendo 0005:057E:2009.0005: using user cal for left stick
kernel: nintendo 0005:057E:2009.0005: using user cal for right stick
[...]
kernel: nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
kernel: nintendo 0005:057E:2009.0005: Failed to read left stick cal, using defaults; e=-110
kernel: nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
kernel: nintendo 0005:057E:2009.0005: Failed to read right stick cal, using defaults; e=-110
kernel: nintendo 0005:057E:2009.0005: using factory cal for IMU
kernel: nintendo 0005:057E:2009.0005: assigned player 1 led pattern
kernel: input: Pro Controller as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:3/0005:057E:2009.0005/input/input31
kernel: input: Pro Controller (IMU) as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:3/0005:057E:2009.0005/input/input32
systemd[1]: Starting iio-sensor-proxy.service - IIO Sensor Proxy service...
systemd[1]: Started iio-sensor-proxy.service - IIO Sensor Proxy service.
systemd[1]: iio-sensor-proxy.service: Deactivated successfully.

I also don't want to blacklist the Nintendo driver because part of the reason I bought this controller is that I was interested in making use of the motion/accelerometer inputs (given that I already have a different controller for which the button/joystick inputs work).

Is there a way to configure the Bluetooth gamepad to show up under /dev/input/js* in addition to /dev/input/event*, and/or to allow Chromium to see it directly from /dev/input/event*?

udevadm info

One of the comments asked for information from the udevadm command; here it is (with MAC addresses redacted):

$ udevadm info --no-pager /sys/class/input/input35
P: /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:1/0005:057E:2009.0007/input/input35
M: input35
R: 35
U: input
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:1/0005:057E:2009.0007/input/input35
E: SUBSYSTEM=input
E: PRODUCT=5/57e/2009/8001
E: NAME="Pro Controller"
E: PHYS="[REDACTED]"
E: UNIQ="[REDACTED]"
E: PROP=0
E: EV=20000b
E: KEY=7ffb000000000000 0 0 0 0
E: ABS=3001b
E: FF=107030000 0
E: MODALIAS=input:b0005v057Ep2009e8001-e0,1,3,15,k130,131,133,134,135,136,137,138,139,13A,13B,13C,13D,13E,ra0,1,3,4,10,11,mlsf50,51,58,59,5A,60,w
E: USEC_INITIALIZED=34383723107
E: ID_INPUT=1
E: ID_INPUT_JOYSTICK=1
E: ID_BUS=bluetooth
E: ID_PATH_WITH_USB_REVISION=pci-0000:00:14.0-usbv2-0:8:1.0
E: ID_PATH=pci-0000:00:14.0-usb-0:8:1.0
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_8_1_0
E: ID_FOR_SEAT=input-pci-0000_00_14_0-usb-0_8_1_0
E: TAGS=:seat:
E: CURRENT_TAGS=:seat:

$ udevadm info --no-pager /sys/class/input/input36
P: /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:1/0005:057E:2009.0007/input/input36
M: input36
R: 36
U: input
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/bluetooth/hci0/hci0:1/0005:057E:2009.0007/input/input36
E: SUBSYSTEM=input
E: PRODUCT=5/57e/2009/8001
E: NAME="Pro Controller (IMU)"
E: PHYS="[REDACTED]"
E: UNIQ="[REDACTED]"
E: PROP=40
E: EV=19
E: ABS=3f
E: MSC=20
E: MODALIAS=input:b0005v057Ep2009e8001-e0,3,4,kra0,1,2,3,4,5,m5,lsfw
E: USEC_INITIALIZED=34383723420
E: ID_INPUT=1
E: ID_INPUT_ACCELEROMETER=1
E: ID_BUS=bluetooth
E: ID_PATH_WITH_USB_REVISION=pci-0000:00:14.0-usbv2-0:8:1.0
E: ID_PATH=pci-0000:00:14.0-usb-0:8:1.0
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_8_1_0
E: ID_FOR_SEAT=input-pci-0000_00_14_0-usb-0_8_1_0
E: IIO_SENSOR_PROXY_TYPE=input-accel
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: TAGS=:systemd:seat:
E: CURRENT_TAGS=:systemd:seat:
How to manage top toolbar in Lubuntu 24.04 LTS version https://askubuntu.com/questions/1565594/how-to-manage-top-toolbar-in-lubuntu-24-04-lts-version

how to enlarge the top toolbar on the home page in Lubuntu 24.04 LTS version.

Can't access Windows partition [duplicate] https://askubuntu.com/questions/1565593/cant-access-windows-partition

My PC is a Lenovo L390 Yoga. I want to access some documents from this partition before formatting if they are still intact.

Error message:

Error message

It's a partition on my SSD with Windows 11. It broke when installing Linux, and I was unable to log in afterwards (probably user errors), and the installation completely broke when trying some recovery options and getting into the system through safe mode.

I'm not sure if the issue is just NTFS or the installation got corrupted. I don't think I have a hardware error. Are there any good tools to get access and copy some old files?

Why do all my programs spam app icons when installed? https://askubuntu.com/questions/1565590/why-do-all-my-programs-spam-app-icons-when-installed

I'm not sure how to phrase this. Every time I download an app or program, no matter if it's from Steam, App Center, Flathub, or anywhere else, I get either one icon of it on my app screen, or I get 1-2 pages full of it.

or i get 1-2 pages full of it

I thought maybe I pressed a button to mess it up, but I just downloaded something new, and the same thing happened again.

Before you ask, no, I didn't download most of these programs from different sources. only a few apps were downloaded from different sources, and those aren't the ones I'm confused about. For example, all of my Steam games have several respective icons.

all of my steam games have several respective icons

...and you can't download a game from Steam twice. Most things I download are Steam games, so this is the bigger issue.

I only have one semi-normal page. It's getting out of control.

i only have one semi-normal page.

VG is missing PV https://askubuntu.com/questions/1565588/vg-is-missing-pv

I add to log in with Ubuntu ISO USB to execute logical volume commands. (see this post : BusyBox Error: /dev/mapper/ubuntu--vg--1-ubuntu--lv does not exist)

This is the output of sudo pvdisplay :

WARNING: Couldn't find device with uuid s1Lc3M-IEV3-rlYT-Xh2M-sOrW-V7uT-13gZHI
WARNING: VG ubuntu-vg-1 is missing PV s1LC3M-IEV3-rlYT-Xh2M-sOrW-V7uT-13gZHI (last written to /dev/sda3)

--- Physical volume ---
PV Name  /dev/sdb3
VG Name ubuntu-vg-1
PV Size 229.83 GiB / not usable 2.00 MiB
Allocatable yes (but full)
Free PE 0
Allocated PE 58837
PV UUID feuyw9-FMnT-0sV2-dex4-ETaf-ss2f-ayXBPV

-- Physical volume ---
PV Name  [unknown]
VG Name  ubuntu-vg-1
PV Size <1.82 TiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 476150
Free PE 476150
Allocated PE 0

Output of pvs -a :

WARNING: Couldn't find device with uuid s1Lc3M-IEV3-rlYT-Xh2M-sOrW-V7uT-13gZHI
WARNING: VG ubuntu-vg-1 is missing PV s1LC3M-IEV3-rlYT-Xh2M-sOrW-V7uT-13gZHI (last written to /dev/sda3)

PV          VG           Fmt        Attr   PSize    PFree

/dev/sda                            ---    0        0
/dev/sdb3   ubuntu-vg-1  lvm2       a--   229.83g   0
[unknown]   ubuntu-vg-1  lvm2       a-m   <1.82t    <1.82t

Output of lsblk :

NAME                        SIZE    RO  TYPE    MOUNTPOINTS

sda                         1.8T    0    disk
sdb                         232.9G  0    disk
  sdb1                      1G      0    part
  sdb2                      2G      0    part
  sdb3                      229.8G  0    part
    ubuntu--vg--1-ubuntu--lv 229.8G 0 lvm

What to do in order to recover the device and make the system work?

Problem customizing an Ubuntu 24 qcow2 image with virt-customize https://askubuntu.com/questions/1565586/problem-customizing-an-ubuntu-24-qcow2-image-with-virt-customize

I'm using an Ubuntu 24.04 server to customize a qcow2 file (also Ubuntu 24.04). When I did this on an Ubuntu 22.04 server, this process seemed to work. Now I'm getting a few errors that I can't seem to resolve. I run virt-customize --network

When the image is booting, see these errors

+ grep nameserver /etc/resolv.conf
grep: /etc/resolv.conf: No such file or directory
No filesystem is currently mounted on /sys/fs/cgroup.

When the actual script is running, I see entries like this

Temporary failure resolving 'security.ubuntu.com'

I tried running the virt-customize with the -v -x debug flags as well as with these settings enabled

export LIBGUESTFS_BACKEND=direct
export LIBGUESTFS_DEBUG=1
export LIBGUESTFS_TRACE=1

Asking AI, it suggested to disable some sysctl setings. But that didn't work.

sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

I tried changing the /etc/resolv.conf and the /etc/systemd/resolved.conf but to no avail...

Has anyone else experienced this? Do you you have some good tips and tricks on changing qcow files?

BusyBox Error: /dev/mapper/ubuntu--vg--1-ubuntu--lv does not exist https://askubuntu.com/questions/1565584/busybox-error-dev-mapper-ubuntu-vg-1-ubuntu-lv-does-not-exist

During installation and configuration of Ubuntu 24.04 I must have made some mess because rebooting I get the BusyBox error:

(initramfs) exit
Gave up waiting for root file system device. Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules: ls /dev)
ALERT! /dev/mapper/ubuntu--vg--1-ubuntu--lv does not exist. Dropping to a shell!!

BusyBox v1.36.1 (Ubuntu 1:1.36.1-6ubuntu3.1) built-in shell (ash)

(initramfs) blkid
/dev/sdb2: UUID="a4052609-0706-438a-b474-9a14fbc00a00" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="bd533eb7-85c7-499c-89a1-3a6414c6c48e"
/dev/sdb3: UUID="feuyw9-FMnT-0sV2-dex4-ETaf-ss2f-ayXBPV" TYPE="LVM2_member" PARTUUID="ce9cc95c-273c-4e5a-b659-e224c029ee83"
/dev/sda: UUID="cb1ca592-49da-4743-a031-62cb2ee8926b" BLOCK_SIZE="4096" TYPE="ext4"

(initramfs) fsck -y /dev/sdb2
fsck from util-linux 2.39.3
e2fsck 1.47.0 (5-Feb-2023)
/dev/sdb2: clean, 317/131072 files, 55322/524288 blocks

(initramfs) fsck -y /dev/sda
fsck from util-linux 2.39.3
e2fsck 1.47.0 (5-Feb-2023)
/dev/sda: clean, 11/122101760 files, 7947223/488378646 blocks

(initramfs) fsck -y /dev/sdb3
fsck from util-linux 2.39.3

(initramfs) fsck -y /dev/sdb1
fsck from util-linux 2.39.3

(initramfs) reboot
(initramfs)_

The "reboot" command does not execute

How to solve the issue?

How to have /home on a separate partition [duplicate] https://askubuntu.com/questions/1565582/how-to-have-home-on-a-separate-partition

I am working with 24.4.1 LTS. I have a new (to me) laptop with 256gig SDD. I have the appropriate copies of my old data.

I have used gparted to set up my new hard drive with two partitions. It is my desire to create a new fresh installation with the system files on the smaller (30gig) partition and /home on the larger (220+gig) partition.

At install I don't see any option for that setup. When I run the install everything goes on the small partition.

So, how do I instruct the installer to use the large partition for /home? Or failing that how can I copy /home to the new partition and edit etc/fstab to mount it in the proper position. (BTW I tried the edit and royally ducked my laptop and had to start over.

Thank you in advance for your help. I am not a power user but have been using Ubuntu for many years.

No wired or wireless connection in Ubuntu 24.04.4 LTS https://askubuntu.com/questions/1565576/no-wired-or-wireless-connection-in-ubuntu-24-04-4-lts

One day recently my Wifi stopped working. If I go to Settings > Network, I see the VPN and Proxy settings but nothing else. No networks are listed.

I tried a hard reset -- powering down, removing the battery, holding down the power button for 30 seconds. That didn't help.

root@xps:/home/myself# lshw -C network
  *-network UNCLAIMED       
       description: Network controller
       product: Comet Lake PCH CNVi WiFi
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
       resources: iomemory:600-5ff memory:604b11c000-604b11ffff
root@xps:/home/myself# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever                                                                     

It appears I may need iwlwifi. If I run dmesg | grep iwl there is no output. The internet says I can get iwlwifi by manually installing linux-firmware. Presumably this was installed when the wifi connection was working, but has disappeared. I downloaded the .tar.gz from https://gitlab.com/kernel-firmware/linux-firmware and copied the contents of linux-firmware to /lib/firmware. After running sudo update-initramfs -u and rebooting, I still don't see any networks at Settings > Network.

I have also tried establishing a wired connection, but connecting to the router (using an ethernet-to-usb-c adapter) does not result in any networks being listed at Settings > Network.

The computer is a Dell XPS 9500.

--

Update: The issue (or at least the symptoms) were resolved by booting into an older kernel. Subsequently there was a recommendation that I post the output from sudo dpkg --configure -a. To be clear, this is the output from dpkg when I boot into the older kernel:

Setting up linux-modules-nvidia-580-6.17.0-20-generic (6.17.0-20.20~24.04.1) ...
linux-image-nvidia-6.17.0-20-generic: constructing .ko files
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.17.0-20-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.17.0-20-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.17.0-20-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.17.0-20-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.17.0-20-generic/scripts/module.lds: No such file or directory
sha256sum: nvidia-drm.ko: No such file or directory
nvidia-drm.ko: FAILED open or read
sha256sum: nvidia-modeset.ko: No such file or directory
nvidia-modeset.ko: FAILED open or read
sha256sum: nvidia-peermem.ko: No such file or directory
nvidia-peermem.ko: FAILED open or read
sha256sum: nvidia-uvm.ko: No such file or directory
nvidia-uvm.ko: FAILED open or read
sha256sum: nvidia.ko: No such file or directory
nvidia.ko: FAILED open or read
sha256sum: WARNING: 5 listed files could not be read
dpkg: error processing package linux-modules-nvidia-580-6.17.0-20-generic (--configure):
 installed linux-modules-nvidia-580-6.17.0-20-generic package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-modules-nvidia-580-generic-hwe-24.04:
 linux-modules-nvidia-580-generic-hwe-24.04 depends on linux-modules-nvidia-580-6.17.0-20-generic (= 6.17.0-20.20~24.04.1); however:
  Package linux-modules-nvidia-580-6.17.0-20-generic is not configured yet.

dpkg: error processing package linux-modules-nvidia-580-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-modules-nvidia-550-generic-hwe-24.04:
 linux-modules-nvidia-550-generic-hwe-24.04 depends on linux-modules-nvidia-580-generic-hwe-24.04; however:
  Package linux-modules-nvidia-580-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-modules-nvidia-550-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-modules-nvidia-580-6.17.0-20-generic
 linux-modules-nvidia-580-generic-hwe-24.04
 linux-modules-nvidia-550-generic-hwe-24.04

Here is the output from sudo apt install --reinstall linux-modules-extra-6.17.0-20-generic:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.17.0-14-generic linux-hwe-6.17-headers-6.17.0-14
  linux-hwe-6.17-tools-6.17.0-14 linux-image-6.17.0-14-generic
  linux-modules-6.17.0-14-generic linux-modules-nvidia-580-6.17.0-14-generic
  linux-objects-nvidia-580-6.17.0-14-generic
  linux-signatures-nvidia-6.17.0-14-generic linux-tools-6.17.0-14-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 59 not upgraded.
3 not fully installed or removed.
Need to get 0 B/122 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 244865 files and directories currently installed.)
Preparing to unpack .../linux-modules-extra-6.17.0-20-generic_6.17.0-20.20~24.04
.1_amd64.deb ...
Unpacking linux-modules-extra-6.17.0-20-generic (6.17.0-20.20~24.04.1) over (6.1
7.0-20.20~24.04.1) ...
Setting up linux-modules-nvidia-580-6.17.0-20-generic (6.17.0-20.20~24.04.1) ...
linux-image-nvidia-6.17.0-20-generic: constructing .ko files
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.17.0-20
-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.17.0-20
-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.17.0-20
-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.17.0-20
-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.17.0-20
-generic/scripts/module.lds: No such file or directory
sha256sum: nvidia-drm.ko: No such file or directory
nvidia-drm.ko: FAILED open or read
sha256sum: nvidia-modeset.ko: No such file or directory
nvidia-modeset.ko: FAILED open or read
sha256sum: nvidia-peermem.ko: No such file or directory
nvidia-peermem.ko: FAILED open or read
sha256sum: nvidia-uvm.ko: No such file or directory
nvidia-uvm.ko: FAILED open or read
sha256sum: nvidia.ko: No such file or directory
nvidia.ko: FAILED open or read
sha256sum: WARNING: 5 listed files could not be read
dpkg: error processing package linux-modules-nvidia-580-6.17.0-20-generic (--con
figure):
 installed linux-modules-nvidia-580-6.17.0-20-generic package post-installation 
script subprocess returned error exit status 1
Setting up linux-modules-extra-6.17.0-20-generic (6.17.0-20.20~24.04.1) ...
dpkg: dependency problems prevent configuration of linux-modules-nvidia-580-gene
ric-hwe-24.04:
 linux-modules-nvidia-580-generic-hwe-24.04 depends on linux-modules-nvidia-580-
6.17.0-20-generic (= 6.17.0-20.20~24.04.1); however:
  Package linux-modules-nvidia-580-6.17.0-20-generic is not configured yet.

dpkg: error processing package linux-modules-nvidia-580-generic-hwe-24.04 (--con
figure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-modules-nvidia-550-gene
ric-hwe-24.04:
 linux-modules-nvidia-550-generic-hwe-24.04 depends on linux-modules-nvidia-580-
generic-hwe-24.04; however:
  Package linux-modules-nvidia-580-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-modules-nvidia-550-generic-hwe-24.04 (--con
figure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
                          No apport report written because the error message ind
icates its a followup error from a previous failure.
                                                    Processing triggers for linu
x-image-6.17.0-20-generic (6.17.0-20.20~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: autoinstall for kernel 6.17.0-20-generic was skipped since the kernel h
eaders for this kernel do not seem to be installed
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.17.0-20-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.17.0-20-generic
Found initrd image: /boot/initrd.img-6.17.0-20-generic
Found linux image: /boot/vmlinuz-6.17.0-19-generic
Found initrd image: /boot/initrd.img-6.17.0-19-generic
Found linux image: /boot/vmlinuz-6.17.0-14-generic
Found initrd image: /boot/initrd.img-6.17.0-14-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Errors were encountered while processing:
 linux-modules-nvidia-580-6.17.0-20-generic
 linux-modules-nvidia-580-generic-hwe-24.04
 linux-modules-nvidia-550-generic-hwe-24.04
E: Sub-process /usr/bin/dpkg returned an error code (1)
Connecting VTR to Desktop PC https://askubuntu.com/questions/1565563/connecting-vtr-to-desktop-pc

Sony VTR, 2009 model, How can I connect this machine to my Desktop 24.04, to both run and save content to Memory stick or whatever. Currently running most recent version of Ubuntu.

I am running 24.04, and await the April release of 26.04. I agree I was vague. My mistake and sorry. The Sony VCR is Model SLV-SE820. It only has Scart in and Scart out on the rear panel and 2 phone female plugs, white and red. The recorder does have on the front panel "line in" Red, White and Yellow.

System Details Report

Report details

  • Date generated: 2026-04-08 17:45:42

Hardware Information:

  • Hardware Model: Gigabyte Technology Co., Ltd. H110M-S2H
  • Memory: 8.0 GiB
  • Processor: Intel® Pentium® G4400 × 2
  • Graphics: Intel® HD Graphics 510 (SKL GT1)
  • Disk Capacity: 878.2 GB

Software Information:

  • Firmware Version: F22
  • OS Name: Ubuntu 24.04.4 LTS
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 46
  • Windowing System: Wayland
  • Kernel Version: Linux 6.17.0-20-generic

Thanks

Fix modprobe: ERROR: could not insert 'module_name', separate vermagic SMP and flags between modinfo on module and current linux kernel version https://askubuntu.com/questions/1565426/fix-modprobe-error-could-not-insert-module-name-separate-vermagic-smp-and-f

I am trying to run modprobe on a kernel module, specifically 'nft_fib' and 'nft_fib_ipv4'. When I try to run the 'sudo modprobe nft_fib' command, I receive:

 modprobe: ERROR: could not insert 'nft_fib': Exec format error    

I recently upgraded from Ubuntu 24.04 LTS to 25.10, upon examination:

Results of me@compuper:\~$ find /lib/modules/$(uname -r) -type f -name 'nft_fib\*

/lib/modules/6.17.0-20-generic/kernel/net/netfilter/nft_fib.ko.zst
/lib/modules/6.17.0-20-generic/kernel/net/netfilter/nft_fib_netdev.ko.zst
/lib/modules/6.17.0-20-generic/kernel/net/netfilter/nft_fib_inet.ko.zst
/lib/modules/6.17.0-20-generic/kernel/net/ipv6/netfilter/nft_fib_ipv6.ko.zst
/lib/modules/6.17.0-20-generic/kernel/net/ipv4/netfilter/nft_fib_ipv4.ko.zst  

Results of `me@compuper:\~$ modinfo /lib/modules/6.17.0-20-generic/kernel/net/netfilter/nft_fib.ko.zst | grep vermagic` :
vermagic:       6.17.0-20-generic SMP preempt mod_unload modversions 

... vs. ...

Results of me@compuper:\~$ uname -r:

6.17.0-20-generic

I discovered I have different kernel version between my system's kernel and the vermagic kernel version on the module. I think these different flags are what are giving my error while trying to run modprobe on my kernel module. If anyone thinks otherwise, please let me know.

I want to have the vermagic version exactly match the kernel I get on my machine by typing uname -r. I have tried: sudo apt-get reinstall linux-headers-$(uname -r) and the vermagic versions on the modules did not change.

Afterwards, I tried moving the modules to another directory so their path could be broken, I thought then the correct modules would be installed if I tried re-installing again. Subsequent apt installs and apt reinstalls do not install these kernel module headers.

How can I make these kernel module header files exactly match the kernel version of my machine? (what I get from typing uname -r)?

~ EDIT

~ here is the output of dpkg-query --no-page -l linux-* : (notes, the nft-tables modules I mentioned earlier are still in another directory when I ran this command, but their location didn't seem relevant to the command so I didn't bother putting them back in place.) ~

me@compuper:~$ dpkg-query --no-pager -l linux-\* 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version                         Architecture Description
+++-======================================-===============================-============-===============================================================
ii  linux-base                             4.14ubuntu2                     all          Linux image base package
un  linux-cpupower                         <none>                          <none>       (no description available)
ii  linux-firmware                         20250901.git993ff19b-0ubuntu1.9 all          Firmware for Linux kernel drivers
un  linux-firmware-raspi2                  <none>                          <none>       (no description available)
un  linux-firmware-snapdragon              <none>                          <none>       (no description available)
ii  linux-generic                          6.17.0-20.20                    amd64        Complete Generic Linux kernel and headers
ii  linux-generic-hwe-24.04                6.17.0-20.20                    amd64        Complete Generic Linux kernel and headers
un  linux-headers                          <none>                          <none>       (no description available)
un  linux-headers-3.0                      <none>                          <none>       (no description available)
un  linux-headers-6.11.0-17-generic        <none>                          <none>       (no description available)
un  linux-headers-6.11.0-29-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-24-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-27-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-28-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-29-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-32-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-33-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-34-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-35-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-36-generic        <none>                          <none>       (no description available)
un  linux-headers-6.14.0-37-generic        <none>                          <none>       (no description available)
un  linux-headers-6.17.0-14-generic        <none>                          <none>       (no description available)
ii  linux-headers-6.17.0-19                6.17.0-19.19                    all          Header files related to Linux kernel version 6.17.0
ii  linux-headers-6.17.0-19-generic        6.17.0-19.19                    amd64        Linux kernel headers for version 6.17.0
ii  linux-headers-6.17.0-20                6.17.0-20.20                    all          Header files related to Linux kernel version 6.17.0
ii  linux-headers-6.17.0-20-generic        6.17.0-20.20                    amd64        Linux kernel headers for version 6.17.0
ii  linux-headers-generic                  6.17.0-20.20                    amd64        Generic Linux kernel headers
ii  linux-headers-generic-hwe-24.04        6.17.0-20.20                    amd64        Generic Linux kernel headers
un  linux-hwe-6.11-tools                   <none>                          <none>       (no description available)
un  linux-hwe-6.14-tools                   <none>                          <none>       (no description available)
un  linux-hwe-6.17-tools                   <none>                          <none>       (no description available)
un  linux-image                            <none>                          <none>       (no description available)
rc  linux-image-6.11.0-17-generic          6.11.0-17.17~24.04.2            amd64        Signed kernel image generic
rc  linux-image-6.11.0-29-generic          6.11.0-29.29~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-24-generic          6.14.0-24.24~24.04.3            amd64        Signed kernel image generic
rc  linux-image-6.14.0-27-generic          6.14.0-27.27~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-28-generic          6.14.0-28.28~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-29-generic          6.14.0-29.29~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-32-generic          6.14.0-32.32~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-33-generic          6.14.0-33.33~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-34-generic          6.14.0-34.34~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-35-generic          6.14.0-35.35~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-36-generic          6.14.0-36.36~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.14.0-37-generic          6.14.0-37.37~24.04.1            amd64        Signed kernel image generic
rc  linux-image-6.17.0-14-generic          6.17.0-14.14~24.04.1            amd64        Signed kernel image generic
ii  linux-image-6.17.0-19-generic          6.17.0-19.19                    amd64        Signed kernel image generic
ii  linux-image-6.17.0-20-generic          6.17.0-20.20                    amd64        Signed kernel image generic
un  linux-image-fb-generic                 <none>                          <none>       (no description available)
un  linux-image-fb-generic-hwe-24.04       <none>                          <none>       (no description available)
ii  linux-image-generic                    6.17.0-20.20                    amd64        Generic Linux kernel image
ii  linux-image-generic-hwe-24.04          6.17.0-20.20                    amd64        Generic Linux kernel image
un  linux-image-unsigned-6.11.0-17-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.11.0-29-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-24-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-27-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-28-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-29-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-32-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-33-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-34-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-35-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-36-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.14.0-37-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.17.0-14-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.17.0-19-generic <none>                          <none>       (no description available)
un  linux-image-unsigned-6.17.0-20-generic <none>                          <none>       (no description available)
un  linux-initramfs-tool                   <none>                          <none>       (no description available)
un  linux-kernel-headers                   <none>                          <none>       (no description available)
un  linux-kernel-log-daemon                <none>                          <none>       (no description available)
ii  linux-libc-dev:amd64                   6.17.0-20.20                    amd64        Linux Kernel Headers for development
rc  linux-modules-6.11.0-17-generic        6.11.0-17.17~24.04.2            amd64        Linux kernel extra modules for version 6.11.0 on 64 bit x86 SMP
rc  linux-modules-6.11.0-29-generic        6.11.0-29.29~24.04.1            amd64        Linux kernel extra modules for version 6.11.0 on 64 bit x86 SMP
rc  linux-modules-6.14.0-24-generic        6.14.0-24.24~24.04.3            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-27-generic        6.14.0-27.27~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-28-generic        6.14.0-28.28~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-29-generic        6.14.0-29.29~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-32-generic        6.14.0-32.32~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-33-generic        6.14.0-33.33~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-34-generic        6.14.0-34.34~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-35-generic        6.14.0-35.35~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-36-generic        6.14.0-36.36~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.14.0-37-generic        6.14.0-37.37~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-6.17.0-14-generic        6.17.0-14.14~24.04.1            amd64        Linux kernel extra modules for version 6.17.0
ii  linux-modules-6.17.0-19-generic        6.17.0-19.19                    amd64        Linux kernel modules for version 6.17.0
ii  linux-modules-6.17.0-20-generic        6.17.0-20.20                    amd64        Linux kernel modules for version 6.17.0
rc  linux-modules-extra-6.11.0-17-generic  6.11.0-17.17~24.04.2            amd64        Linux kernel extra modules for version 6.11.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.11.0-29-generic  6.11.0-29.29~24.04.1            amd64        Linux kernel extra modules for version 6.11.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.14.0-24-generic  6.14.0-24.24~24.04.3            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-27-generic  6.14.0-27.27~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-28-generic  6.14.0-28.28~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-29-generic  6.14.0-29.29~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-32-generic  6.14.0-32.32~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-33-generic  6.14.0-33.33~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-34-generic  6.14.0-34.34~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-35-generic  6.14.0-35.35~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-36-generic  6.14.0-36.36~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.14.0-37-generic  6.14.0-37.37~24.04.1            amd64        Linux kernel extra modules for version 6.14.0
rc  linux-modules-extra-6.17.0-14-generic  6.17.0-14.14~24.04.1            amd64        Linux kernel extra modules for version 6.17.0
ii  linux-modules-extra-6.17.0-19-generic  6.17.0-19.19~24.04.2            amd64        Linux kernel extra modules for version 6.17.0
ii  linux-modules-extra-6.17.0-20-generic  6.17.0-20.20~24.04.1            amd64        Linux kernel extra modules for version 6.17.0
ii  linux-perf                             6.17.0-20.20                    amd64        Performance analysis tools for Linux
un  linux-restricted-common                <none>                          <none>       (no description available)
ii  linux-sound-base                       1.0.25+dfsg-0ubuntu8            all          base package for ALSA and OSS sound systems
ii  linux-sysctl-defaults                  4.14ubuntu2                     all          default sysctl configuration for Linux
un  linux-tools                            <none>                          <none>       (no description available)
ii  linux-tools-6.17.0-19                  6.17.0-19.19                    amd64        Linux kernel version specific tools for version 6.17.0-19
ii  linux-tools-6.17.0-19-generic          6.17.0-19.19                    amd64        Linux kernel version specific tools for version 6.17.0-19
ii  linux-tools-6.17.0-20                  6.17.0-20.20                    amd64        Linux kernel version specific tools for version 6.17.0-20
ii  linux-tools-6.17.0-20-generic          6.17.0-20.20                    amd64        Linux kernel version specific tools for version 6.17.0-20
ii  linux-tools-common                     6.17.0-20.20                    all          Linux kernel version specific tools for version 6.17.0

~ Additional Edit ~ Running modinfo ahci does show the vermagic with the same flags!

me@compupers:~$ modinfo ahci | grep vermagic vermagic: 6.17.0-20-generic SMP preempt mod_unload modversions

I moved the kernel modules back into their original place and ran "sudo modprobe -v nft_fib", the output I got is:

me@compuper:~$ sudo modprobe -v nft_fib insmod /lib/modules/6.17.0-20-generic/kernel/net/netfilter/nft_fib.ko.zst modprobe: ERROR: could not insert 'nft_fib': Exec format error

~ EDIT ~

It seems like I have unknowingly still added an out of tree / incompatible kernel module. Is there a way to force reinstall kernell modules from the official apt if I know my kernel version and architecture?

I ran

me@compuper:~$ sudo apt-get reinstall linux-headers-generic ,

and it set up and unpacked the new headers,but running modprobe on nft_fib still returns the same error.

Random Application freeze on Ubuntu 24.04, 25.04 and 25.10 ASUS ZenBook Duo (Intel Arc Graphics) https://askubuntu.com/questions/1563544/random-application-freeze-on-ubuntu-24-04-25-04-and-25-10-asus-zenbook-duo-int

I'm having a situation where applications are very slow to start on first launch, and often freeze with the standard "Application is not responding" dialog in GNOME popping up. If I give it a few seconds (sometimes up to a few minutes!), it will go away and the application will act like nothing's wrong. However when I switch to a different application, the same thing will sometimes happen. This happens often enough to be very annoying. I thought it might have something to do with the video drivers, since this is a bleeding edge new machine (Intel Arc graphics, and dual screens in the laptop). But reinstalling the graphics drivers doesn't fix the issue. I've also tried upgrading and downgrading to different versions of Ubuntu (24.04, and 25.10), and still have same issues, so I know it's not specific to 25.04, which is what I'm currently using, and it's likely specific to this machine (ASUS Zenbook Duo with Intel Arc Graphics).

It's odd because I know the graphics card is working - I've been using it to render Blender stuff for various clients. There are the occasional freezes, but nothing is actually broken. The mouse cursor moves freely, and the rest of the system seems to run smoothly while the application is unresponsive. I've been getting by by switching tasks, while the applications recover, which works, but is definitely not ideal.

My laptop is an ASUS Zenbook Duo, UX8406C, and here's my full system details:

# System Details Report

---

## Report details

- **Date generated:** 2026-02-03 12:09:08

## Hardware Information:

- **Hardware Model:** ASUSTeK COMPUTER INC. ASUS Zenbook Duo UX8406CA_UX8406CA

- **Memory:** 32.0 GiB

- **Processor:** Intel® Core™ Ultra 9 285H × 16

- **Graphics:** Intel® Graphics (ARL)

- **Disk Capacity:** 2.0 TB

## Software Information:

- **Firmware Version:** UX8406CA.303

- **OS Name:** Ubuntu 25.04

- **OS Build:** (null)

- **OS Type:** 64-bit

- **GNOME Version:** 48

- **Windowing System:** Wayland

- **Kernel Version:** Linux 6.14.0-37-generic

What is the Super key? https://askubuntu.com/questions/1445421/what-is-the-super-key

I'm trying to see the notification list. The documentation states:

The notification list gives you a way to get back to your notifications when it is convenient for you. It appears when you click on the clock, or press Super+V. The notification list contains all the notifications that you have not acted upon or that permanently reside in it.

What is Super?

Ubuntu 22.04 Kernel Panic - Cannot open root device LVC https://askubuntu.com/questions/1418195/ubuntu-22-04-kernel-panic-cannot-open-root-device-lvc

I tried to update to Ubuntu 22.04 from 20.04 though after updating I have an issue with the system not starting either via normal or recovery or an old kernel version.

[    1.530064] integrity: Loaded X.509 cert 'Canonical Ltd. Master Certificate Authority: ad91990bc22ab1f517048c23b6655a2
[    1.530683] ima: No TPM chip found, activating TPM-bypass!
[    1.530999] Loading compiled-in module X.509 certificates
[    1.531584] Loaded X.509 cert 'Build time autogenerated kernel key: 7f2e266096ca6df1a1e0bcd33100abd18aeaa3ca'
[    1.531911] ima: Allocated hash algorithm: sha1
[    1.532296] ima: No architecture policies found
[    1.532627] evm: Initialising EVM extended attributes:
[    1.532959] evm: security.selinux
[    1.533294] evm: security.SMACK64
[    1.533631] evm: security.SMACK64EXEC
[    1.533969] evm: security.SMACK64TRANSMUTE
[    1.534308] evm: security.SMACK64MMAP
[    1.534757] evm: security.apparmor
[    1.535088] evm: security.ima
[    1.535414] evm: security.capability
[    1.535737] evm: HMAC attrs: 0x1
[    1.536216] PM: Magic number: 14:125:879
[    1.536649] RAS: Correctable Errors collector initialized.
[    1.536987] md: Waiting for all devices to be available before autodetect
[    1.537310] md: If you don't use raid, use raid=noautodetect
[    1.537633] md: Autodetecting RAID arrays.
[    1.537956] md: autorun ...
[    1.538271] md: ... autorun DONE.
[    1.538651] VFS: Cannot open root device "mapper/ubuntu--vg-ubuntu--lv" or unknown-block(0,0): error -6
[    1.538977] Please append a correct "root=" boot option; here are the available partitions:
[    1.539310] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.539644] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.0-40-generic #43-Ubuntu
[    1.539996] Hardware name: Gigabyte Technology Co., Ltd. Z590 AORUS PRO AX/Z590 AORUS PRO AX, BIOS F5 03/16/2021
[    1.540404] Call Trace:
[    1.540799]  <TASK>
[    1.541189]  show_stack+0x52/0x58
[    1.541582]  dump_stack_lvl+0x4a/0x5f
[    1.541968]  dump_stack+0x10/0x12
[    1.542345]  panic+0x149/0x321
[    1.542718]  mount_block_root+0x144/0x1d9
[    1.543084]  mount_root+0x10c/0x118
[    1.543440]  prepare_namespace+0x13f/0x18d
[    1.543793]  kernel_init_freeable+0x18c/0x1b1
[    1.544152]  ? rest_init+0x100/0x100
[    1.544486]  kernel_init+0x1b/0x150
[    1.544807]  ? rest_init+0x100/0x100
[    1.545125]  ret_from_fork+0x1f/0x30
[    1.545445]  </TASK>
[    1.545808] Kernel Offset: 0x4200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    1.546165] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

Do you have any suggestions?

How to do a release upgrade using private deb repositories? https://askubuntu.com/questions/1405274/how-to-do-a-release-upgrade-using-private-deb-repositories

We have Ubuntu servers (20.04 LTS) without Internet connection. In order to get new apt packages, we have a JFrog Artifactory server with Internet access and connection to our Ubuntu servers mirroring archive.ubuntu.com for specific requests. The sources.list file is changed accordingly. This works fine for apt install <package> and package upgrades.

With the release of 22.04 LTS, we now tried to do a distribution upgrade. However, sudo do-release-upgrade fails with the error message

Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings

Ignoring that currently, 22.04 LTS is not yet in this file, I do not know how to circumvent the tool's desire to download this file from the Internet and do the upgrade using our private package repositories.

I see that do-release-upgrade offers the option --data-dir. It is only shown using --help and unfortunately not within its man page (at least not that I can see). Can this be used? Is there any other switch? I am fine with providing my own meta-release-lts file pointing to our private repositories, if necessary.

G_IS_DBUS_connection failed https://askubuntu.com/questions/1128343/g-is-dbus-connection-failed

I am new to Linux, trying to connect to Nucleo board using putty. I am sure the serial line is correct, this is the message error I got in terminal:

(putty:10263): GLib-GIO-CRITICAL **: 12:18:45.537: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(putty:10263): GLib-GIO-CRITICAL **: 12:18:45.537: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(putty:10263): GLib-GIO-CRITICAL **: 12:18:45.537: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(putty:10263): GLib-GIO-CRITICAL **: 12:18:45.537: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(putty:10263): GLib-GIO-CRITICAL **: 12:18:45.537: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Cannot run live USB, kernel panic in ThinkPad E560 https://askubuntu.com/questions/927377/cannot-run-live-usb-kernel-panic-in-thinkpad-e560

I tried to install Ubuntu in Lenovo Thinkpad 560 but every time it's shows kernel panic. Version I tried are Ubuntu 17.04, 14.04.1, Fedora 25 (all 32-bit). I cannot start the live desktop mode either.

Options I tried:

  1. nomodeset
  2. intel_pstate=no_hwp
  3. intel_pstate=disable
  4. multiple USB flash drives
  5. multiple applications to create a USB bootable flash drive
  6. UEFI
  7. Legacy
  8. Run memory test, and passed

I got the following boot messages:

e6 42 ff 15 fc c5 92 c1 b8 00 b9 98 c1 ff 15 00 b9 98 c1 89 c6 e4 61 <88> c3 ff
15 fc c5 92 c1 80 e3 20 74 f1 b8 00 b9 98 c1 ff 15 00
[   56.195168] BUG: soft lockup - CPU#2 stuck for 23s! [swapper/0:1]
[   56.195257] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 3.13.0-32-generic #57-Ubuntu
[   56.195340] Hardware name: LENOVO 20EV002FUS/20EV002FUS, BIOS R00ET37W (1.12) 01/17/2016
[   56.195426] task: f34f0000 ti: f34f8000 task.ti: f34f8000
[   56.195526] Stack:
[   56.195619] Call Trace:
[   56.195759] Code: c8 01 e6 61 b0 b0 e6 43 b0 d3 e6 42 ff 15 fc c5 92 c1 b0 8b
e6 42 ff 15 fc c5 92 c1 b8 00 b9 98 c1 ff 15 00 b9 98 c1 89 c6 e4 61 <88> c3 ff
15 fc c5 92 c1 80 e3 20 74 f1 b8 00 b9 98 c1 ff 15 00
[   84.217301] BUG: soft lockup - CPU#2 stuck for 22s! [swapper/0:1]
[   84.217390] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 3.13.0-32-generic #57-Ubuntu
[   84.217499] Hardware name: LENOVO 20EV002FUS/20EV002FUS, BIOS R00ET37W (1.12) 01/17/2016
[   84.217632] task: f34f0000 ti: f34f8000 task.ti: f34f8000
[   84.217758] Stack:
[   84.217877] Call Trace:
[   84.218047] Code: c8 01 e6 61 b0 b0 e6 43 b0 d3 e6 42 ff 15 fc c5 92 c1 b0 8b
e6 42 ff 15 fc c5 92 c1 b8 00 b9 98 c1 ff 15 00 b9 98 c1 89 c6 e4 61 <88> c3 ff
15 fc c5 92 c1 80 e3 20 74 f1 b8 00 b9 98 c1 ff 15 00
_
Upgrade from 14.04 to 16.04 results in kernel panic [closed] https://askubuntu.com/questions/855362/upgrade-from-14-04-to-16-04-results-in-kernel-panic

I've been upgrading my Ubuntu 14.04 to 16.04 by following this guide.

First I did sudo apt-get update and it updated successfully. Then I did sudo apt-get upgrade and it downloaded packages around 300 MB or something. After that I did sudo apt-get dist-upgrade which downloaded about 800 MB of data.

Then the system restarted. Now it's not booting up. As of now, it just shows a blank screen and my Caps-Lock Indicator is blinking infinitely.

I've enabled Secure Boot from the BIOS, and now I am getting some errors on the screen.

/init: line 277: readlink: not found
Target filesystem doesn't have requested /sbin/init.
/init: line 295: readlink: not found
/init: line 295: readlink: not found
/init: line 295: readlink: not found
/bin/sh: 0: Can't open splash
[    2.196669] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    2.196669]
[    2.196715] CPU: 2 PID: 1 Comm: sh Not tainted 4.4.0-47-generic #68-Ubuntu
[    2.196746] Hardware name: ASUSTeK COMPUTER INC. TP300LA/TP300LA, BIOS TP300LA.202 05/14/2014
[    2.196784] 0000000000000086 000000008ec44fac ffff880119843e08 ffffffff813f5aa3
[    2.196825] ffff8801cb4548 ffff880119843ea0 ffff880119843e90 ffffffff8118c657
[    2.196866] ffff880100000010 ffff880119843ea0 ffff880119843e38 000000008ec44fac
[    2.196906] Call Trace:
[    2.196926]  [<ffffffff813f5aa3>] dump_stack+0x63/0x90
[    2.196953]  [<ffffffff8118c657>] panic+0xd3/0x215
[    2.196977]  [<ffffffff811854fe>] ? perf_event_exit_task+0xbe/0x350
[    2.197009]  [<ffffffff810846b1>] do_exit+0xaf1/0xb00
[    2.197034]  [<ffffffff81084743>] do_group_exit+0x43/0xb0
[    2.197059]  [<ffffffff810847c4>] SyS_exit_group+0x14/0x20
[    2.197087]  [<ffffffff81834ff2>] entry_SYSCALL_64_fastpath+0x16/0x71
[    2.197142] Kernel Offset: disabled
[    2.197160] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    2.197160]
_
Random kernel panics after upgrade to 14.04 https://askubuntu.com/questions/533105/random-kernel-panics-after-upgrade-to-14-04

I installed a fresh Ubuntu 13.10 on my Samsung series 9 (NP900X3C). It was working great, however after upgrading to Ubuntu 14.04 I'm getting random crashes and kernel panics. The system might run well for a whole day, but at other times the system crashes each hour.

The way a crash occurs isn't consistent. The system may freeze up, it can go black or I can get a kernel panic.

I often get a Machine Check Exception as shown below, but I've also had not syncing messages.

[ 4441.599827] mce: [Hardware Error]: CPU 1: Machine Check Exception: 5 Bank 4: b200000000100402
[ 4441.599962] mce: [Hardware Error]: RIP !INEXACT! 33:<00007f604592dcb8>
[ 4441.600061] mce: [Hardware Error]: TSC 6da71b11897
[ 4441.600137] mce: [Hardware Error]: PROCESSOR 0:306a9 TIME 1407489419 SOCKET 0 APIC 1 microcode 12
[ 4441.600259] mce: [Hardware Error]: Run the above through 'mcelog --ascii'
[ 4441.600357] mce: [Hardware Error]: CPU 3: Machine Check Exception: 5 Bank 4: b200000000100402
[ 4441.600475] mce: [Hardware Error]: RIP !INEXACT! 10:<ffffffff813e3d68> {intel_idle+0xd8/0x140}
[ 4441.600611] mce: [Hardware Error]: TSC 6da71b1d47c
[ 4441.600686] mce: [Hardware Error]: PROCESSOR 0:306a9 TIME 1407489419 SOCKET 0 APIC 3 microcode 12
[ 4441.600812] mce: [Hardware Error]: Run the above through 'mcelog --ascii'
[ 4441.600910] mce: [Hardware Error]: CPU 2: Machine Check Exception: 5 Bank 4: b200000000100402
[ 4441.601028] mce: [Hardware Error]: RIP !INEXACT! 10:<ffffffff813e3d68> {intel_idle+0xd8/0x140}
[ 4441.601160] mce: [Hardware Error]: TSC 6da71b1d48d
[ 4441.601234] mce: [Hardware Error]: PROCESSOR 0:306a9 TIME 1407489419 SOCKET 0 APIC 2 microcode 12
[ 4441.601356] mce: [Hardware Error]: Run the above through 'mcelog --ascii'
[ 4441.601451] mce: [Hardware Error]: CPU 0: Machine Check Exception: 5 Bank 4: b200000000100402
[ 4441.601569] mce: [Hardware Error]: RIP !INEXACT! 10:<ffffffff813e3d68> {intel_idle+0xd8/0x140}
[ 4441.601690] mce: [Hardware Error]: TSC 6da71b11ba5
[ 4441.601773] mce: [Hardware Error]: PROCESSOR 0:306a9 TIME 1407489419 SOCKET 0 APIC 0 microcode 12
[ 4441.601894] mce: [Hardware Error]: Run the above through 'mcelog --ascii'
[ 4441.601989] mce: [Hardware Error]: Machine check: Processor context corrupt
[ 4441.602006] Kernel panic - not syncing: Fatal Machine check
[ 4441.602176] drm_kms_helper: panic occurred, switching back to text console
[ 4441.628152] Rebooting in 30 seconds..

Please don't dismiss it as just faulty hardware. The laptop did not have this problem before upgrading and the kernel panics started almost right after the dist upgrade.

Ubuntu 14.04 doesn't boot anymore, kernel panic appears https://askubuntu.com/questions/509514/ubuntu-14-04-doesnt-boot-anymore-kernel-panic-appears

I installed Ubuntu 14.04 on my computer, and it worked OK for about 2 months, but now when I try booting it I only get this:

wn-block(0,0)
[     0.747081] CPU: 1 PID: 1 Comm: swapper/0 Not Tainted 3.13.0-33-generic #58-Ubuntu
[     0.747132] Hardware name: Dell Inc. Inspiron N5010/0TD2K6, BIOS A08 09/13/2010
[     0.747183] 0000000000008000 ffff880131e3dd70 ffffffff8171bd04 ffffffff81a3c210
[     0.747373] ffff880131e3de68 ffffffff81714f05 ffffffff00000010 ffff880131e3de78
[     0.747566] ffff880131e3de18 ffffffff81715a26 ffff880131e3de88 00000000000000cc
[     0.747761] Call Trace:
[     0.747810]  [<ffffffff8171bd04>] dump_stack+0x45/0x56
[     0.747861]  [<ffffffff81714f05>] panic+0xc8/0x1d7
[     0.747908]  [<ffffffff81715a26>] ? printk+0x067/0x69
[     0.747959]  [<ffffffff81d3646a>] mount_block_root+0x225/0x2b0
[     0.748008]  [<ffffffff81d36692>] mount_root+0x53/0x56
[     0.748056]  [<ffffffff81d36801>] prepare_namespace+0x16c/0x1a4
[     0.748105]  [<ffffffff81d3616e>] kernel_init_freeable+0x1f3/0x200
[     0.748155]  [<ffffffff81d358e5>] ? do_early_param+0x88//0x88
[     0.748205]  [<ffffffff8170a1e0>] ? rest_init+0x80/0x80
[     0.748252]  [<ffffffff8170a1ee>] kernel_init+0xe/0x130
[     0.748303]  [<ffffffff8172c63c>] ret_from_fork+0x7c/0xb0
[     0.748351]  [<ffffffff8170a1e0>] ? rest_init+0x80/0x80

Can anyone tell me what to do and if that is a virus?

Start a transmission-gtk using a cron job https://askubuntu.com/questions/499108/start-a-transmission-gtk-using-a-cron-job

I'm trying to start my torrent client using a cron job. Following is the job I added to crontab file(contab -e)

00 20 17 07 * transmission-gtk

I waited for the time but transmission-gtk didn't startup. but when I try a simple command like "mkdir test". It works. Any ideas friends

How do I install drivers for a Netgear WNDA3100v2? https://askubuntu.com/questions/483066/how-do-i-install-drivers-for-a-netgear-wnda3100v2

I have a Netgear WNDA3100v2 usb wifi adapter, and I need to figure out how to install the drivers. I have the disc that came with the adapter. What do I need to install in order to use this on Ubuntu 14.0.4? And how do I install those programs without an internet connection?

Hiding output of a command https://askubuntu.com/questions/474556/hiding-output-of-a-command

I have a script where it checks whether a package is installed or not and whether the port 8080 is being used by a particular process or not. I am not experienced at all with bash, so I did something like this:

if dpkg -s net-tools; then
    if  netstat -tlpn | grep 8080 | grep java; then
        echo "Shut down server before executing this script"
        exit
    fi
else
    echo "If the server is running please shut it down before continuing with the execution of this script"
fi

# the rest of the script...

However when the script is executed I get both the dpkg -s net-tools and the netstat -tlpn | grep 8080 | grep java outputs in the terminal, and I don't want that, how can I hide the output and just stick with the result of the ifs?

Also, is there a more elegant way to do what I'm doing? And is there a more elegant way to know what process is using the port 8080 (not just if it's being used), if any?

How to know what program is listening on a given port? https://askubuntu.com/questions/278448/how-to-know-what-program-is-listening-on-a-given-port

I suspect a program is listening on port 8000 on my machine.

When I run the following command, I get this error:

> python -m SimpleHTTPServer
# Lots of python error
socket.error: [Errno 98] Address already in use

If I use another port (8000 is the default), the web server runs fine.

If I run wget localhost:8000 from the command line, it returns 404 Not Found.

What can I do (or what tools are available) to find what program is listening on port 8000, and from there where that program is configured?