Ubuntu 24.04 stuck on emergency boot https://askubuntu.com/questions/1566587/ubuntu-24-04-stuck-on-emergency-boot

Specs:

  • KDE Plasma Version: 5.27.12
  • KDE Frameworks Version: 5.115.0
  • Qt Version: 5.15.13
  • Kernel Version: 5.15.13 6.8.0-111-generic (64-bit)
  • Graphics Platform: X11
  • Processors: 16 x Intel Core I9-9900K CPU @ 3.60GHZ
  • Memory: 31.3 GiB of RAM
  • Graphics Processor: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2

Deduced my issue to a faulty Nvidia graphics card driver, so I'm currently stuck in emergency mode. I tried to replace it with a previously tested driver, but apt-get is somehow now failing.

Err: could not return resolve 'archive.ubuntu.com'.

If more info is needed, please let me know.

Ubuntu 24.04.04: How to change the GFX driver from Nvidia 580 to Nvidia 535 https://askubuntu.com/questions/1566584/ubuntu-24-04-04-how-to-change-the-gfx-driver-from-nvidia-580-to-nvidia-535

In the terminal how do I change the GFX driver Nvidia 580, installed in error, to the Nvidia 535 which is recommended for the Nvidia GeForce RTX 3060. Followed by cleaning up any drivers which have been used in the past?

upgrade 20.04 to 24.04 with RAID1 and FDE https://askubuntu.com/questions/1566583/upgrade-20-04-to-24-04-with-raid1-and-fde

Question

What steps are required to safely upgrade a Ubuntu 20.04 running a RAID1 (btrfs native RAID) with full disk encryption, including /boot, to 24.04?

Background

Ubuntu 20.04 was the original OS upon installation. The RAID and FDE was set up when it was installed.

I want to upgrade to 24.04. I know that I have to first upgrade to 22.04. I believe that 22.04 saw significant changes with systemd and cryptsetup, hence my concern.

Info

Running

$ lsblk -f

yields the following (with irrelevant omitted, and UUIDs redacted)

nvme0n1                                                                               
├─nvme0n1p1     vfat              XXXX-XXXX                             504.9M     1%  /boot/efi
├─nvme0n1p2     swap              xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx                
│ └─cryptswap_A swap              xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx                [SWAP]
└─nvme0n1p3     crypto_LUKS       xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx                
  └─crypt_A     btrfs             xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx   83.5G    60% /home
nvme1n1                                                                               
├─nvme1n1p1     btrfs             xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx                
├─nvme1n1p2     swap              xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx                
│ └─cryptswap_B swap              xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx                [SWAP]
└─nvme1n1p3     crypto_LUKS       xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx                
  └─crypt_B     btrfs             xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Saved docs/configs

In case something breaks during upgrade/reboot, I have created backups of various files/command outputs, which will be accessible on a different computer.

The following files:

/etc/cryptab
/etc/fstab
/etc/default/grub
/boot/grub/grub.cfg
/etc/cryptsetup-initramfs/conf-hook

The following commands:

$ sudo btrfs filesystem show
$ lsblk -f
$ sudo dmsetup ls --tree
$ sudo btrfs subvolume list
$ sudo cryptsetup luksHeaderBackup /dev/nvme0n1p3 --header-backup-file nvme0n1p3-luks-header-backup.bak
$ sudo cryptsetup luksHeaderBackup /dev/nvme1n1p3 --header-backup-file nvme1n1p3-luks-header-backup.bak

Interim questions

  1. Are those the correct luksHeaderBackup files I should have created (based on the lsblk -f info)?
  2. Are there other files or command outputs I should back up?
  3. Are there other issues or concerns I should have about the efi?
  4. Do I need to do something special with grub before my first reboot into 22.04, like the following?

$ sudo grub-install nvme0n1

Next steps

  1. With all of the above done, can I simply use the Ubuntu GUI to perform a release upgrade to 22.04?
  2. Once that is completed (and confirmed that everything is working well), can I then simply perform yet another release upgrade to 24.04?
  3. What I am missing?

Thanks so much for any feedback or help you can provide.

how to recover from these commands? https://askubuntu.com/questions/1566581/how-to-recover-from-these-commands

I followed the instructions in another thread to fix something, but since it didn't work, I'd like to go back and restore the original configuration.

So, as the title says, how can I restore and go back after running these commands?

sudo chmod -R ugo+rX /lib/python3.12/
sudo chmod -R ugo+rX /lib/python3/dist-packages/
24.04 LTS Installing specific NVIDIA Driver https://askubuntu.com/questions/1566578/24-04-lts-installing-specific-nvidia-driver

I need to install a specific NVIDIA driver, but I haven't been able to. The version I need is "570.133.20". My graphics card is an NVIDIA A4000 ADA. It must be this specific version; the version number absolutely must not change, please don't ask.

Audio Issue Kubuntu 26.04 LTS https://askubuntu.com/questions/1566575/audio-issue-kubuntu-26-04-lts

It’s been a while! Anyway, since my question at Ubuntu Discourse and the HP forums have been cold, with zero activity, I’m gonna try this issue on Ask Ubuntu! Third time’s a charm, eh? Anyway, here is the original post that I sent on both of those websites:

OS: Kubuntu 26.04 LTS

Computer: HP Pavilion All-in-One 24 xa (2018)

Audio Codec: ALC225

DE: KDE Plasma

I’m experiencing a horrible audio issue, that whatever I try to fix it, the internal speakers seems to not work, at all.

I have tried pavucontrol, alsamixer, I’ve ran sudo nano /etc/modprobe.d/alsa-base.conf numerous times, adding options snd-hda-intel model=generic, and switching from that to options snd-hda-intel model=hp, and then adding power_save=0; which actually helped solve the popping I had too, but it didn’t solve my main issue. Lastly, I installed alsa-tools-gui, and ran sudo hdajackretask to install boot override of the “Internal Speaker” option and rebooted, but that didn’t work.

Here’s my outputs for lspci -k | grep -A3 -i audio, cat /proc/asound/cards, and pactl list short sinks respectively:

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10) DeviceName: Onboard - Sound Subsystem: Hewlett-Packard Company Device 84ee Kernel driver in use: snd_hda_intel

0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xa1410000 irq 146

55 alsa_output.pci-0000_00_1f.3.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED (i then changed “SUSPENDED” to RUNNING using pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo, but that didn’t fix the sound issue either)

What do I do? When I had Linux Mint, the internal speakers worked perfectly, yet on Ubuntu + Kubuntu, they don’t. How do I fix this issue?

How do I stop the recurring update notification? https://askubuntu.com/questions/1566573/how-do-i-stop-the-recurring-update-notification

Every time I sign in, I get a notification saying that an important update has been installed. If I click on the notification to review the installed updates, it shows only one piece of software installed : "UEFI dbx". If I click on it, it tries to download the change information, but this never completes.

This is just a mild annoyance, I can live with it. But if this can be corrected, I'd be an inch closer to inner peace. Note that:

  • Other notifications work. E.g. if Thunderbird is opened and I get an email, I get the corresponding notification

  • Updates work: Software Update pops up from time to time and does it job when I click ok.

  • If Software Update ask to reboot (I assume to complete an important update), the notification shown after I sign back in only lists the "UEFI dbx" entry, and I am pretty sure it is never in the list of software shown in Software Update before reboot.

  • The UEFI dbx notification shows up even if there was no update during the previous session.

I don't want to turn notification off. I want to fix the issue making the notification system think there was an update that did not happen. Any idea how I can resolve this ?

Ubuntu 24.04.4 LTS

Gnome Version: 46

UEFI dbx version: 20241101

My 3080 stopped outputting in ubuntu randomly on 26.04 lts https://askubuntu.com/questions/1566571/my-3080-stopped-outputting-in-ubuntu-randomly-on-26-04-lts

i am new to ubuntu, i had it as a teenaget but thats at was about 12 years ago and due to economics havent had a computer for nearly a decade outside my laptop which is windows for specific software, i have installed ubuntu 26.04 lts, and all was fine for a few days, but now my rtx 3080 wont display anything past boot, as soon as it enters the opperating system it outputs nothing and i can not figure it out, so if anyone more knowledgeable than i knows how to fix it i would be super greatful for some help please, thank you in advance, i tried clear cmos after all else failed and it also failed. I am also unsure where to report this issue to.

Automatically mount shared partitions https://askubuntu.com/questions/1566569/automatically-mount-shared-partitions

I'm a beginner using a dual-boot system: Windows 11 and Ubuntu 2604LTS. I want the shared partition to be automatically mounted every time I boot into Ubuntu. I've tried several times with Nano but it doesn't work. I've taken some pictures; could you please take a look?

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

I have an issue with a video capture card https://askubuntu.com/questions/1566567/i-have-an-issue-with-a-video-capture-card

My video capture card is an AVMatrix VC12 4K HDMI Capture card that works fine on Ubuntu 24.04, but on 26.04, the driver installs and loads the kernel module, but is invisible to programs that can use it.

How do I get wifi to work with Ubuntu 26 on Asus tuff f15 https://askubuntu.com/questions/1566565/how-do-i-get-wifi-to-work-with-ubuntu-26-on-asus-tuff-f15

I can use a tethered connection but there is no option for a wifi connection when I use Ubuntu from a USB.

How to remove a broken Linux kernel not installed with apt? https://askubuntu.com/questions/1566560/how-to-remove-a-broken-linux-kernel-not-installed-with-apt

When I boot up, the default kernel is 6.17.0-14-generic. This kernel doesn't have any modules associated with it and can't unlock my disk. I have to manually switch to 6.8.0-111-generic via GRUB, but if the system skips the GRUB menu, I have to unplug the computer to stop it from acting up.

All the sources I've seen on removing a kernel say to simply remove it with apt, but this kernel version isn't installed with apt. If I try to apt list 'linux-*' --installed, I get all the valid kernels, but not the broken one. How do I remove it?

How do I fix the Dirty Frag LPE vulnerability on Ubuntu? https://askubuntu.com/questions/1566558/how-do-i-fix-the-dirty-frag-lpe-vulnerability-on-ubuntu

I saw Dirty Frag: Universal Linux LPE, which yields a root shell (!) on 24.04.4.

In an (isolated) 26.04 x86-64 VM, I've reproduced it with both V4bel/dirtyfrag and 0xdeadbeefnetwork/Copy_Fail2-Electric_Boogaloo.

How should I patch my system to secure it from this vulnerability?

Unmet dependencies in Nvidia driver packages Ubuntu 24.04 LTS https://askubuntu.com/questions/1566551/unmet-dependencies-in-nvidia-driver-packages-ubuntu-24-04-lts

This week my OS updated a few packages and after the update my nvidia drivers stopped working. I was using nvidia-driver-580-open and tried switching to nvidia-driver-590. The computer still felt laggy so I tried switching back to the 580 drivers but I ran into the following issue

    Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linux-modules-nvidia-580-open-generic-hwe-24.04 : Depends: linux-modules-nvidia-580-open-6.17.0-23-generic (= 6.17.0-23.23~24.04.1+1) but it is not going to be installed
                                                   Depends: nvidia-kernel-common-580 (>= 580.142) but 580.126.09-0ubuntu0.24.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.

I also tried using

ubuntu-drivers autoinstall

as well as purging, updating and re-installing the drivers.

I am using Ubuntu 24.04 LTS and have a 3060 RTX Mobile

Currently I've tried the 570 and they showed the same issue as the 590, laggy, without smooth transitions in the desktop and couldn't run games. And I've also tried the 535 drivers that led me to have to log in with tty4 to purge them.

When I try to manually install the packages manually

sudo aptitude -f install nvidia-kernel-common-580 
The following NEW packages will be installed:
  nvidia-firmware-580-580.126.09{a} nvidia-kernel-common-580 

I tried looking online and I couldn't find nvidia-kernel-common-580.142 available anywhere

After trying many solutions from Unable to correct problems, you have held broken packages, none of them worked as when I perform the install I do not have any nvidia related packages on my computer.

Currently the only drivers that somehow work are the Xorg drivers and that's what I'm trying to switch from into nvidia drivers.

It seems to me like the packages are still not available but I cannot confirm the issue is on my side

Also my sources list reads as

Types: deb deb-src URIs: http://pt.archive.ubuntu.com/ubuntu/ Suites: noble noble-updates noble-backports Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg  Types: deb deb-src URIs: http://security.ubuntu.com/ubuntu/ Suites: noble-security Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg 
why the + after nfs mounted files when there is no additional attributes https://askubuntu.com/questions/1566517/why-the-after-nfs-mounted-files-when-there-is-no-additional-attributes

Up through release 24.04, when I look at a list of files on an NFS mount using the ls -l command, I see the permissions then the number of hard links, then owner . . .

On 26.04 When I look at a similar list of files on an NFS mount using the ls -l command, I see a plus (+) sign after the permissions.

I found some discussion of the plus sign at the spot meaning there were additional attributes which could be viewed with the getfacl command. On both 24.04 where there isn't a plus to the right of permissions as well as on 26.04, where I do see the + to the right of the permissions, in both cases getfacl shows no additional information, just

# file:
# owner:
# group:
user::rw-
group::rw-
other::r--

So why does 24.04 show -rw-rw-r-- yet 26.04 shows -rw-rw-r--+

Interesting, in 26.04 (as per a comment here) gnuls -l gives the same result as ls -l in 24.04. gnuls is not found in my Xbuntu 24.04 system.

Perhaps this is a change to the ls command as of 26.04?

Secure Boot Certificate in QEMU Ubuntu 24.04 for Windows Guest https://askubuntu.com/questions/1566505/secure-boot-certificate-in-qemu-ubuntu-24-04-for-windows-guest

I have a computer running Ubuntu 24.04 LTS desktop where I have QEMU/KVM running. One of the guest OS is Windows 11. This VM has secure-boot on as required by Windows. The secure boot certificates originally issued in 2011 will expire next month. The new certificates were issued in 2023.

The above page shows a table of expiring certificates:

| **Expiring Certificate**                  | **Expiration date** | **New Certificate**                  | **Storing location** | **Purpose**                                          |
| ----------------------------------------- | ------------------- | ------------------------------------ | -------------------- | ---------------------------------------------------- |
| **Microsoft Corporation KEK CA 2011**     | June 2026           | Microsoft Corporation KEK 2K CA 2023 | Stored in KEK        | Signs updates to DB and DBX.                         |
| **Microsoft Windows Production PCA 2011** | Oct 2026            | Windows UEFI CA 2023                 | Stored in DB         | Used for signing the   Windows boot loader.          |
| **Microsoft UEFI CA 2011\***              | June 2026           | Microsoft UEFI CA 2023               | Stored in DB         | Signs third-party boot loaders and EFI applications. |
| **Microsoft UEFI CA 2011\***              | June 2026           | Microsoft Option ROM UEFI CA 2023    | Stored in DB         | Signs third-party option ROMs                        |

It looks like my VM is not using the new certificates. When I check the secure boot status from within Windows guest, it says:

Secure boot is on, but your device is using an older boot trust configuration that should be updated. There is not yet enough data to classify your device for automatic update.

This page says if I see this message then:

Your device might need additional validation before the update can proceed automatically. Visit aka.ms/getsecureboot for more information.

The link takes me back to the original page linked above.

This made me think Windows update failed to work with QEMU's UEFI firmware called OVMF.

The XML tab of the Overview section of the Virtual Machine Manager shows in part:

    <loader readonly="yes" secure="yes" type="pflash">/usr/share/OVMF/OVMF_CODE_4M.ms.fd</loader>
    <nvram template="/usr/share/OVMF/OVMF_VARS_4M.ms.fd">/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>

The files OVMF_CODE_4M.ms.fd and OVMF_VARS_4M.ms.fd have the modified date of December 10, 2025. The file OVMF_CODE_4M.ms.fd is linked to OVMF_CODE_4M.secboot.fd in the folder /usr/share/OVMF/.

I looked at the OMVF UEFI configuration menu and couldn’t find anything regarding the secure boot certificates or anyway to add new ones.

Here is the Windows 11 System log:

Log Name:      System
Source:        Microsoft-Windows-TPM-WMI
Date:          5/6/2026 2:37:16 PM
Event ID:      1801
Task Category: None
Level:         Error
Keywords:      
User:          SYSTEM
Computer:      Dev1-Win11
Description:
Updated Secure Boot certificates are available on this device but have not yet been applied to the firmware. 
Review the published guidance to complete the update and maintain full protection. 
This device signature information is included here.
DeviceAttributes: 
BaseBoardManufacturer:;
FirmwareManufacturer:Ubuntu distribution of EDK II;
FirmwareVersion:2024.02-2ubuntu0.8;
OEMModelNumber:Ubuntu 24.04 PC (Q35 + ICH9, 2009);OEMModelBaseBoard:;
OEMModelSystemFamily:;OEMManufacturerName:QEMU;OEMModelSKU:;OSArchitecture:amd64;
BucketId: 2a0656131aa2862c533c820200125d8c3c845a85144dde851c754bc22261465a
BucketConfidenceLevel: No Data Observed - Action Required
UpdateType: 
For more information, please see https://go.microsoft.com/fwlink/?linkid=2301018

My searches have led to some solutions for Red Hat, and Proxmox, but nothing specific to Ubuntu.

From the Linux perspective most solutions refer only to updating to the Microsoft UEFI CA 2023 certificate. I have not seen anything on how or if one should update the two other certificates expiring in June 2026 when running Windows in a VM.

Q: How do I make sure that the OMVF is using all the secure boot certificates from 2023 so that Windows 11 works as expected beyond June 2023?

Thanks

Ubuntu 26.04 Mouse input/coordinates mismatch in XWayland apps - Clicks hitting wrong targets https://askubuntu.com/questions/1566476/ubuntu-26-04-mouse-input-coordinates-mismatch-in-xwayland-apps-clicks-hitting

I'm experiencing a frustrating issue on a fresh install of Ubuntu 26.04 (GNOME 50). I'm using a Ryzen 5 7000 series laptop with integrated graphics.

The Problem: In applications running through XWayland, specifically Apache NetBeans and Steam, the mouse coordinates are completely misaligned. For example, when I click on the "File" menu (top left), the system registers the click on the search icon at the opposite end of the window.

Key Observations:

  1. If I am very quick right after opening the app, the first click might work, but then it breaks.

  2. This seems to be a coordinate offset issue between Wayland and XWayland.

  3. I have already tried common fixes like gsettings set org.gnome.mutter.xwayland-grab-access-rules "['*']" without success.

  4. Since Xorg is no longer available by default in the login gear icon for 26.04, I am stuck on Wayland.

Has anyone found a workaround for this input mapping bug in GNOME 50/Ubuntu 26.04? Is there a specific environment variable for Java/NetBeans to fix this offset?

Thanks in advance!

Software Updater has hung while configuring a kernel update; what do I do? https://askubuntu.com/questions/1566462/software-updater-has-hung-while-configuring-a-kernel-update-what-do-i-do

A few days ago, Software Updater notified me of new updates (including a kernel update), so I pressed the button to begin the update process. Then I ignored it and let it do its thing.

This morning, I noticed that the Software Updater window is still open. I clicked on it, and… it appears it never finished installing the updates. Specifically, it seems to have become stuck while configuring the kernel updates. If I expand “Details,” it looks like this:Software Updater stuck while “Configuring linux-image-6.17.0-23-generic”

Since it’s been stuck like this for days, I really don’t know what to do, now. I’m particularly worried about what will happen the next time the system boots (like, if it loses power or something and needs to restart).

Now, this could be a red herring, but: the only times I’ve previously had the Software Updater hang, it’s had to do with Keybase, where I’ve had problems similar to this: https://github.com/keybase/keybase-issues/issues/4206 The symptoms aren’t the same, though; previously, if Keybase has had to do with why Software Updater hangs, it hangs specifically when configuring an updated Keybase package, not a kernel update.

I’m running Ubuntu 24.04.1 on a ThinkPad P53.

Edit 2026-05-07: Well, following Daniel T’s answer, I opened a terminal window and did sudo killall dpkg and… strangely, it seemed to try again (in Software Updater) to configure the kernel package, once again hanging at the message about os-prober. I tried to capture the output in Software Updater, but I couldn’t seem to copy anything I’d selected. When I finally tried Shift+Ctrl+C (since that’s how you use the “copy” command in the terminal), it interpreted that as Ctrl+C, killed the dpkg process (I assume), and tried again to configure the package, hanging at the os-prober message. …I think I tried Ctrl+C once or twice more, and eventually Software Updater just told me (in its window, with no “Details” expandable) that the process was finished and some packages were left unconfigured (I forget the exact message). So I did sudo dpkg --configure -a in the terminal, and once again it tried to configure the package (this time in the terminal window), hanging at the os-prober message! Here’s the output:

tina@harmonia:~$ sudo dpkg --configure -a
Setting up linux-image-6.17.0-23-generic (6.17.0-23.23~24.04.1) ...
Setting up linux-image-6.17.0-22-generic (6.17.0-22.22~24.04.1) ...
Processing triggers for linux-image-6.17.0-23-generic (6.17.0-23.23~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-23-generic
 * dkms: autoinstall for kernel 6.17.0-23-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.17.0-23-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-23-generic
Found initrd image: /boot/initrd.img-6.17.0-23-generic
Found linux image: /boot/vmlinuz-6.17.0-22-generic
Found initrd image: /boot/initrd.img-6.17.0-22-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 be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.

Since it keeps hanging at the os-prober message, I suppose this problem might have something to do with os-prober. I should note that this laptop came with Windows 11, and that I installed Ubuntu with a dual-boot configuration, but I don’t think I’ve used Windows 11 since installing Ubuntu. Anyway, it might be relevant.

Framework 13 suddenly always starts with read-only filesystem https://askubuntu.com/questions/1565434/framework-13-suddenly-always-starts-with-read-only-filesystem

I have a Framework 13 Laptop with Ubuntu 24.04.4 that I used daily for years without issue.

The Laptop has a NVMe drive and I set it up with a full encryption with LUKS and LVM, just using the default options for this from the Ubuntu 24.04 installation.

Some days ago I ran normal package updates from the GUI, then also a Firmware update, also from the GUI, which failed with a generic error. I can't remember which packages or firmware, unfortunately.

After rebooting, all the system services fail to start: see photo of failing services

I checked for secure boot in UEFI, turning it off or on makes no difference. Ditto Fastboot. There seems to be no RAID option on this Laptop.

I can start a terminal with CTRL+ALT+F3 and log in, and the filesystem is read-only.

I can remount it with: sudo mount -o remount,rw / and it works fine. I can then start sudo systemctl start gdm.service and snapd.service and my system works normally (in fact, typing from it now). I ran all package upgrades, and successfully updated firmware this time, but the issue persists.

After a lot of wrangling with an Ubuntu USB stick, I think I am sure the NVMe drive is not damaged, I got fsck to run on all partitions without error.

All the guides/AI slop online assumes the read-only filesystem means the disk is going bad somehow but I don't know what else to check.

Also, I think the fstab looks... Wrong. What is this Flashdisk?

nails:~ $ cat /etc/fstab 
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# /boot was on /dev/nvme0n1p2 during installation
UUID=ade2b99c-e8b3-49ee-9f93-ea1949e8a345 /boot           ext4    defaults        0       2
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=B0FB-94D1  /boot/efi       vfat    umask=0077      0       1
/dev/mapper/vgubuntu-swap_1 none            swap    sw              0       0
/dev/disk/by-id/usb-ACTIONS_HS_USB_FlashDisk_CA4512482ADF0FEEEE /mnt/usb-ACTIONS_HS_USB_FlashDisk_CA4512482ADF0FEEEE auto nosuid,nodev,nofail,noauto,x-gvfs-show,user 0 0

Edit to add parts of journalctl -b0 where there are red error messages, but I can't really find a smoking gun where something obviously fails before there are errors about a read-only filesystem:


Apr 04 20:54:56 nails kernel: Module hid_sensor_hub is blacklisted
...
Apr 04 20:54:56 nails systemd-random-seed[794]: Failed to remove extended attribute, ignoring: Read-only file system
...
Apr 04 20:54:57 nails kernel: i915 0000:00:02.0: [drm] VT-d active for gfx access
Apr 04 20:54:57 nails kernel: cros-usbpd-charger cros-usbpd-charger.2.auto: No USB PD charging ports found
Apr 04 20:54:57 nails kernel: cros-usbpd-charger cros-usbpd-charger.2.auto: Unexpected number of charge port count
Apr 04 20:54:57 nails kernel: cros-usbpd-charger cros-usbpd-charger.2.auto: Failing probe (err:0xffffffb9)
Apr 04 20:54:57 nails kernel: cros-usbpd-charger: probe of cros-usbpd-charger.2.auto failed with error -71
Apr 04 20:54:57 nails kernel: usbcore: registered new interface driver uvcvideo

...

Apr 04 20:54:57 nails kernel: audit: type=1400 audit(1775328897.554:12): apparmor="STATUS" operation="profile_load" profile="unconfined" name="D>
Apr 04 20:54:57 nails kernel: audit: type=1400 audit(1775328897.554:13): apparmor="STATUS" operation="profile_load" profile="unconfined" name="e>
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm_rf(/tmp/snap-private-tmp): Read-only file system
Apr 04 20:54:57 nails systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System.
Apr 04 20:54:57 nails systemd[1]: Finished systemd-binfmt.service - Set Up Additional Binary Formats.
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm(/tmp/.X1025-lock): Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm(/tmp/.X1024-lock): Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm_rf(/tmp/.ICE-unix): Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm_rf(/tmp/.X11-unix): Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm_rf(/tmp): Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: fchmod() of /var/log failed: Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: Setting access ACL "u::rwx,g::r-x,g:adm:r-x,m::r-x,o::r-x" on /var/log/journal failed: Read-only f>
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: Cannot set file attributes for '/var/log/journal', value=0x00800000, mask=0x00800000, ignoring: Re>
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: Setting access ACL "u::rwx,g::r-x,g:adm:r-x,m::r-x,o::r-x" on /var/log/journal/7c921dd0094b445caed>
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: Cannot set file attributes for '/var/log/journal/7c921dd0094b445caeda08f2cf86fa86', value=0x008000>
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: Setting access ACL "u::rw-,g::r-x,g:adm:r--,m::r--,o::---" on /var/log/journal/7c921dd0094b445caed>
Apr 04 20:54:57 nails systemd[1]: Finished systemd-tmpfiles-setup.service - Create Volatile Files and Directories.


Why did ubuntu switch from gnu-coreutils to uutils https://askubuntu.com/questions/1564801/why-did-ubuntu-switch-from-gnu-coreutils-to-uutils

When I see a stable, well-accepted package like coreutils get removed, my initial reaction is something of shock. However, I know the danger of "speaking without knowledge" to use the biblical wording, and that the Ubuntu people know way more about this than I do, but:

Why did the Ubuntu team want to change from coreutils to uutils?

I know there's a big push for "safer" languages like rust right now, is simply that the reason? or is there a more complex reason? It seems like a mature project like coreutils would no longer have any memory leaks or similar errors that might make the Ubuntu team have second thoughts about using it. So, why?

Just a note for those who don't know, this is not in an LTS release yet, just in intern releases.

Issue with Wireless Network Connection on Ubuntu 24.04 LTS https://askubuntu.com/questions/1513315/issue-with-wireless-network-connection-on-ubuntu-24-04-lts

Hello Ubuntu community,

I installed Ubuntu 24.04 LTS onto a USB drive using an MSI machine. However, I'm encountering difficulties with connecting to the wireless network. Ubuntu doesn't recognize any wireless networks, whereas I can successfully connect to the internet on Windows. Currently, I'm able to use a wired connection on Ubuntu.

I'm a beginner and I'm not sure how to troubleshoot this issue. Below are some relevant pieces of information:

Relevant Information

lspci -k

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
    Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8125 2.5GbE Controller
    Kernel driver in use: r8169
    Kernel modules: r8169, r8125
05:00.0 Network controller: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] (rev 01)
    Subsystem: Foxconn International, Inc. High Band Simultaneous Wireless Network Adapter
    Kernel driver in use: ath12k_pci
    Kernel modules: ath12k

ifconfig

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.107  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::da43:aeff:fe0b:414b  prefixlen 64  scopeid 0x20<link>
        ether d8:43:ae:0b:41:4b  txqueuelen 1000  (Ethernet)
        RX packets 469  bytes 263903 (263.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 405  bytes 56774 (56.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 185  bytes 15956 (15.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 185  bytes 15956 (15.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sudo lshw -C network

  *-network                 
       description: Ethernet interface
       product: RTL8125 2.5GbE Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: enp4s0
       version: 05
       serial: d8:43:ae:0b:41:4b
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.8.0-31-generic duplex=full firmware=rtl8125b-2_0.0.2 07/13/20 ip=192.168.1.107 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:41 ioport:e000(size=256) memory:fc900000-fc90ffff memory:fc910000-fc913fff
  *-network
       description: Network controller
       product: WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800]
       vendor: Qualcomm Technologies, Inc
       physical id: 0
       bus info: pci@0000:05:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=ath12k_pci latency=0
       resources: irq:108 memory:fc200000-fc3fffff

Attempts Made

I attempted to download drivers from the Realtek website, including r8169 and r8125, but they didn't seem to work (Realtek Downloads, Realtek Downloads). I also tried searching for drivers on the Qualcomm website, but couldn't find any.

Any assistance or guidance on how to resolve this issue would be greatly appreciated.

Thank you!


Relevant Information Added in 2024.5.10

sudo journalctl -b 0 -u NetworkManager

May 10 15:09:44 larry-Alpha-17-C7VF systemd[1]: Starting NetworkManager.service - Network Manager...
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.8412] NetworkManager (version 1.46.0) is starting... (boot:2f785b24-7fd9-4fa3-bf2e-2e173d5a3ae4)
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.8459] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 10-dns-resolved.conf, 20-connectivity-ubuntu.conf, no-mac-addr-change.conf) (run: 10-globally-managed-de>
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.9116] manager[0x5a4848d9b810]: monitoring kernel firmware directory '/lib/firmware'.
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.9117] monitoring ifupdown state file '/run/network/ifstate'.
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.9146] hostname: hostname: using hostnamed
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.9147] hostname: static hostname changed from (none) to "larry-Alpha-17-C7VF"
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.9176] dns-mgr: init: dns=systemd-resolved rc-manager=unmanaged (auto), plugin=systemd-resolved
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.9183] manager[0x5a4848d9b810]: rfkill: Wi-Fi hardware radio set enabled
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.9183] manager[0x5a4848d9b810]: rfkill: WWAN hardware radio set enabled
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.9579] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-bluetooth.so)
May 10 15:09:45 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324985.9635] Loaded device plugin: NMWwanFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-wwan.so)
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.0838] Loaded device plugin: NMTeamFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-team.so)
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.1100] Loaded device plugin: NMWifiFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-wifi.so)
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.1230] Loaded device plugin: NMAtmManager (/usr/lib/x86_64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-adsl.so)
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.1232] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.1232] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.1232] manager: Networking is enabled by state file
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.1534] settings: Loaded settings plugin: ifupdown ("/usr/lib/x86_64-linux-gnu/NetworkManager/1.46.0/libnm-settings-plugin-ifupdown.so")
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.1535] settings: Loaded settings plugin: keyfile (internal)
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.1535] ifupdown: management mode: unmanaged
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.1596] ifupdown: interfaces file /etc/network/interfaces doesn't exist
May 10 15:09:46 larry-Alpha-17-C7VF generate[1686]: Permissions for /etc/netplan/01-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.8594] dhcp: init: Using DHCP client 'internal'
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.8595] manager: (lo): new Loopback device (/org/freedesktop/NetworkManager/Devices/1)
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.8600] device (lo): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.8602] device (lo): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.8604] device (lo): Activation: starting connection 'lo' (2d4af236-db73-4ce7-bcd9-9baac19a348d)
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.8609] manager: (enp4s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
May 10 15:09:46 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324986.8610] device (enp4s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0566] failed to open /run/network/ifstate
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0569] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
May 10 15:09:47 larry-Alpha-17-C7VF systemd[1]: Started NetworkManager.service - Network Manager.
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0573] device (lo): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0574] device (lo): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0575] device (lo): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0577] device (lo): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0582] modem-manager: ModemManager available
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0589] device (lo): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0589] device (lo): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0591] device (lo): Activation: successful, device activated.
May 10 15:09:53 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324993.0564] manager: startup complete
May 10 15:09:54 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324994.2185] agent-manager: agent[7e974a7dc47e03cb,:1.36/org.gnome.Shell.NetworkAgent/120]: agent registered
May 10 15:10:07 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715325007.4870] agent-manager: agent[defb4cf0828c9331,:1.79/org.gnome.Shell.NetworkAgent/1000]: agent registered

service NetworkManager status

● NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-05-10 15:09:47 CST; 10min ago
       Docs: man:NetworkManager(8)
   Main PID: 1557 (NetworkManager)
      Tasks: 4 (limit: 18099)
     Memory: 17.2M (peak: 33.7M)
        CPU: 196ms
     CGroup: /system.slice/NetworkManager.service
             └─1557 /usr/sbin/NetworkManager --no-daemon

May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0574] device (lo): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0575] device (lo): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0577] device (lo): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0582] modem-manager: ModemManager available
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0589] device (lo): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0589] device (lo): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
May 10 15:09:47 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324987.0591] device (lo): Activation: successful, device activated.
May 10 15:09:53 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324993.0564] manager: startup complete
May 10 15:09:54 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715324994.2185] agent-manager: agent[7e974a7dc47e03cb,:1.36/org.gnome.Shell.NetworkAgent/120]: agent registered
May 10 15:10:07 larry-Alpha-17-C7VF NetworkManager[1557]: <info>  [1715325007.4870] agent-manager: agent[defb4cf0828c9331,:1.79/org.gnome.Shell.NetworkAgent/1000]: agent registered

service --status-all

[ + ]  alsa-utils
 [ - ]  anacron
 [ - ]  apache-htcacheclean
 [ + ]  apache2
 [ + ]  apparmor
 [ + ]  apport
 [ + ]  bluetooth
 [ - ]  console-setup.sh
 [ + ]  cron
 [ + ]  cups
 [ + ]  dbus
 [ + ]  gdm3
 [ - ]  grub-common
 [ + ]  kerneloops
 [ - ]  keyboard-setup.sh
 [ + ]  kmod
 [ + ]  openvpn
 [ - ]  plymouth
 [ + ]  plymouth-log
 [ + ]  procps
 [ - ]  rsync
 [ - ]  saned
 [ - ]  speech-dispatcher
 [ - ]  spice-vdagent
 [ - ]  sssd
 [ + ]  sysstat
 [ + ]  ufw
 [ + ]  unattended-upgrades
 [ - ]  uuidd
 [ - ]  whoopsie
 [ - ]  x11-common

2024.7.14

Thank you, Matt Wyllie, and everyone who offered advice. My issue has been resolved. Due to final exams, I only recently had the time to address this.

Following the instructions in the "Upgrade Ubuntu kernel version" section at https://sypalo.com/how-to-upgrade-ubuntu, I downloaded and installed the latest kernel packages:

cd /tmp
wget -c https://kernel.ubuntu.com/mainline/v6.9.9/amd64/linux-headers-6.9.9-060909_6.9.9-060909.202407111135_all.deb
wget -c https://kernel.ubuntu.com/mainline/v6.9.9/amd64/linux-headers-6.9.9-060909-generic_6.9.9-060909.202407111135_amd64.deb
wget -c https://kernel.ubuntu.com/mainline/v6.9.9/amd64/linux-image-unsigned-6.9.9-060909-generic_6.9.9-060909.202407111135_amd64.deb
wget -c https://kernel.ubuntu.com/mainline/v6.9.9/amd64/linux-modules-6.9.9-060909-generic_6.9.9-060909.202407111135_amd64.deb
sudo dpkg -i *.deb
sudo reboot

After rebooting, I encountered a "bad shim signature" error. By disabling the Secure Boot option in the BIOS security settings, I resolved the issue, and my wireless connection is now working fine.

How can I dismiss "Software Updates Installed" UEFI dbx notification - the saga continues https://askubuntu.com/questions/1490410/how-can-i-dismiss-software-updates-installed-uefi-dbx-notification-the-saga

The problem described in this article

How can I dismiss "Software Updates Installed" notification

continues to plague me and the fixes in that article do not work in my case. I hope someone here can help!

I too receive the notification:

Software Update Installed
An important OS update has been installed.

In my case, this relates to a component called

UEFI dbx

whose window title in the Ubuntu Store is 371. If I click on the item shown in the Ubuntu store, a new message appears:

Downloading change information...

which after many minutes does not appear to deliver results nor exit.

The remedy suggested in the linked article, check in /var/lib/PackageKit and remove offline-update-completed, does not work for me since there is only one file there, called transactions.db which is an SQLite database. I haven't tried to explore that, maybe I should?

Nor do I have gnome-software installed.

I do notice in my syslog:

integrity: Revoking X.509 certificate: UEFI:dbx
blacklist: Revoked X.509 cert 'Canonical Ltd. Secure Boot Signing: 61482aa2830d0ab2ad5af10b7250da9033ddcef0'
integrity: Revoking X.509 certificate: UEFI:dbx
blacklist: Revoked X.509 cert 'Debian Secure Boot Signer: 00a7468def'

which puzzles me... perhaps related?

In case this is useful, I am running Ubuntu Mantic / 23.10, to which I recently upgraded from Lunar / 23.04. Perhaps some of these revoked UEFI certificates, especially UEFI:dbx, are the cause of my problem and should be dealt with, somehow?

Thanks in advance for any and all help.

ubuntu 22.04 / Mediatek mt7921e network card "No wifi adapter found" https://askubuntu.com/questions/1484787/ubuntu-22-04-mediatek-mt7921e-network-card-no-wifi-adapter-found

I have just installed ubuntu 20.04 (alone, no dual boot) on a hp elitebook laptop (which is new). Wifi worked for a few hours, but then stopped working ("No wifi adapter found"). Ethernet is working fine though.

I have tried several options to resolve it (especially this and this), but none of them worked. Secure boot and fast boot options are disabled.

Output of sudo lshw -C network

  *-network                 
   description: Ethernet interface
   produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
   fabricant: Realtek Semiconductor Co., Ltd.
   identifiant matériel: 0
   information bus: pci@0000:01:00.0
   nom logique: enp1s0
   version: 15
   numéro de série: bc:0f:f3:72:ec:bd
   taille: 100Mbit/s
   capacité: 1Gbit/s
   bits: 64 bits
   horloge: 33MHz
   fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
   configuration : autonegotiation=on broadcast=yes driver=r8169 driverversion=6.2.0-32-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=140.77.152.15 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
   ressources : irq:56 portE/S:2000(taille=256) mémoire:fb704000-fb704fff mémoire:fb700000-fb703fff
*-network NON-RÉCLAMÉ
       description: Network controller
       produit: MEDIATEK Corp.
       fabricant: MEDIATEK Corp.
       identifiant matériel: 0
       information bus: pci@0000:02:00.0
       version: 00
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pciexpress msi pm cap_list
       configuration : latency=0
       ressources : mémoire:fb500000-fb5fffff mémoire:fb600000-fb607fff

Output of lspci -nn

00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex [1022:1630]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU [1022:1631]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634]
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus [1022:1635]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 51)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0 [1022:166a]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1 [1022:166b]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2 [1022:166c]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3 [1022:166d]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4 [1022:166e]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5 [1022:166f]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6 [1022:1670]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7 [1022:1671]
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
02:00.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:0616]
03:00.0 Non-Volatile memory controller [0108]: Sandisk Corp Device [15b7:5017] (rev 01)
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo [1002:15e7] (rev c6)
04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]
04:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]
04:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 [1022:1639]
04:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 [1022:1639]
04:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor [1022:15e2] (rev 01)
04:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller [1022:15e3]

Output of lsmod | grep mt7921e

mt7921e                28672  0
mt7921_common         114688  1 mt7921e
mt76_connac_lib        90112  2 mt7921e,mt7921_common
mt76                  122880  3 mt7921e,mt7921_common,mt76_connac_lib

Output of cat /etc/modprobe.d/mt7921e.conf

alias pci:v000014C3d00000608xsv*sd*bc*sc*i* mt7921e

Output of cat /etc/udev/rules.d/99-mt7921e.rules

SUBSYSTEM=="drivers", DEVPATH=="/bus/pci/drivers/mt7921e", ATTR{new_id}="14c3 0608"

I have noticed that bluetooth isn't working either (i don't know if both problems can be linked).

I am far from being an expert, so any help is welcome. Thanks :)

Update

I updated to ubuntu 22.04, which did not fix the issue (kernel version is 6.2).

The init command of the driver seems to fail : output of journalctl -b | grep -iE '02:00.0|mt7921e'

sept. 06 08:39:52 camille-mmi kernel: pci 0000:02:00.0: [14c3:0616] type 00 class 0x028000
sept. 06 08:39:52 camille-mmi kernel: pci 0000:02:00.0: reg 0x10: [mem 0xfb500000-0xfb5fffff 64bit pref]
sept. 06 08:39:52 camille-mmi kernel: pci 0000:02:00.0: reg 0x18: [mem 0xfb600000-0xfb607fff 64bit]
sept. 06 08:39:52 camille-mmi kernel: pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
sept. 06 08:39:52 camille-mmi kernel: pci 0000:02:00.0: Adding to iommu group 10
sept. 06 08:39:52 camille-mmi kernel: mt7921e 0000:02:00.0: ASIC revision: 79220010
sept. 06 08:39:52 camille-mmi systemd-udevd[325]: mt7921e: /etc/udev/rules.d/99-mt7921e.rules:1 Failed to write ATTR{/sys/bus/pci/drivers/mt7921e/new_id}, ignoring: File exists
sept. 06 08:39:55 camille-mmi kernel: mt7921e 0000:02:00.0: Message 00000010 (seq 1) timeout
sept. 06 08:39:55 camille-mmi kernel: mt7921e 0000:02:00.0: Failed to get patch semaphore
sept. 06 08:39:59 camille-mmi kernel: mt7921e 0000:02:00.0: Message 00000010 (seq 2) timeout
sept. 06 08:39:59 camille-mmi kernel: mt7921e 0000:02:00.0: Failed to get patch semaphore
sept. 06 08:40:02 camille-mmi kernel: mt7921e 0000:02:00.0: Message 00000010 (seq 3) timeout
sept. 06 08:40:02 camille-mmi kernel: mt7921e 0000:02:00.0: Failed to get patch semaphore
sept. 06 08:40:05 camille-mmi kernel: mt7921e 0000:02:00.0: Message 00000010 (seq 4) timeout
sept. 06 08:40:05 camille-mmi kernel: mt7921e 0000:02:00.0: Failed to get patch semaphore
sept. 06 08:40:09 camille-mmi kernel: mt7921e 0000:02:00.0: Message 00000010 (seq 5) timeout
sept. 06 08:40:09 camille-mmi kernel: mt7921e 0000:02:00.0: Failed to get patch semaphore
sept. 06 08:40:12 camille-mmi kernel: mt7921e 0000:02:00.0: Message 00000010 (seq 6) timeout
sept. 06 08:40:12 camille-mmi kernel: mt7921e 0000:02:00.0: Failed to get patch semaphore
sept. 06 08:40:15 camille-mmi kernel: mt7921e 0000:02:00.0: Message 00000010 (seq 7) timeout
sept. 06 08:40:15 camille-mmi kernel: mt7921e 0000:02:00.0: Failed to get patch semaphore
sept. 06 08:40:19 camille-mmi kernel: mt7921e 0000:02:00.0: Message 00000010 (seq 8) timeout
sept. 06 08:40:19 camille-mmi kernel: mt7921e 0000:02:00.0: Failed to get patch semaphore
sept. 06 08:40:22 camille-mmi kernel: mt7921e 0000:02:00.0: Message 00000010 (seq 9) timeout
sept. 06 08:40:22 camille-mmi kernel: mt7921e 0000:02:00.0: Failed to get patch semaphore
sept. 06 08:40:25 camille-mmi kernel: mt7921e 0000:02:00.0: Message 00000010 (seq 10) timeout
sept. 06 08:40:25 camille-mmi kernel: mt7921e 0000:02:00.0: Failed to get patch semaphore
sept. 06 08:40:26 camille-mmi kernel: mt7921e 0000:02:00.0: hardware init failed

Update 2 I updated my kernel to version 6.5.1, i still have the "No wifi adapter found" error, however the error messages changed :

camille@camille-mmi:~$ journalctl -b | grep -iE '02:00.0|mt7921e'
sept. 06 10:32:51 camille-mmi kernel: pci 0000:02:00.0: [14c3:0616] type 00 class 0x028000
sept. 06 10:32:51 camille-mmi kernel: pci 0000:02:00.0: reg 0x10: [mem 0xfb500000-0xfb5fffff 64bit pref]
sept. 06 10:32:51 camille-mmi kernel: pci 0000:02:00.0: reg 0x18: [mem 0xfb600000-0xfb607fff 64bit]
sept. 06 10:32:51 camille-mmi kernel: pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
sept. 06 10:32:51 camille-mmi kernel: pci 0000:02:00.0: Adding to iommu group 10
sept. 06 10:32:53 camille-mmi systemd-udevd[379]: mt7921e: /etc/udev/rules.d/99-mt7921e.rules:1 Failed to write ATTR{/sys/bus/pci/drivers/mt7921e/new_id}, ignoring: File exists
sept. 06 10:32:55 camille-mmi kernel: mt7921e 0000:02:00.0: driver own failed
sept. 06 10:32:55 camille-mmi kernel: mt7921e: probe of 0000:02:00.0 failed with error -5

Update 3 It finally worked after the kernel update and switching off my computer, waiting a few minutes and turning it on again (instead of reboot).

Where do I find core dump files, and how do I view and analyze the backtrace (stack trace) in one? https://askubuntu.com/questions/1349047/where-do-i-find-core-dump-files-and-how-do-i-view-and-analyze-the-backtrace-st

When I run my C program on Ubuntu 20.04, I get this run-time error:

Segmentation fault (core dumped)

I really need to find and view the core file, but I can't find it anywhere. Where is it, and how do I view the backtrace in it?

Connecting to CIFS Error 115 https://askubuntu.com/questions/1002358/connecting-to-cifs-error-115

I'm trying to connect to a data share via the VPN of my university. I have contacted support and set the following:

In my /et/fstab:

//serverlocation/share /mnt/Ldrive cifs credentials=/home/laurens/.smbcredentials,iocharset=utf8,sec=ntlm 0 0

And double checked the smbcredentials file.

When running sudo mount -a the following error is returned: enter image description here

My university IT guy simply told me to just revert to using a windows machine.

What I've tried

  • Read the wiki
  • Read this post, tried switching off ipv6, did not help
  • ping the server, returned 'unknown host'
  • Checked if VPN connection is active via ifconfig -a The VPN seems to be active. enter image description here
  • Tried to approach via chrome browser, returns a 'your file was not found' error, suggesting that the server returns something, right? enter image description here
  • Changing the SMB protocol as in the below answer. Rebooted, still error 115. enter image description here

Other post that had the same question but did not have an answer: post1

What could be the problem and/or how could I troubleshoot it?

Newly added network card disabled https://askubuntu.com/questions/961098/newly-added-network-card-disabled

Background: I want to link CCTV server directly to my Ubuntu PC to record the streams from the CCTV onto the Ubuntu PC.

I want to keep the network traffic from the CCTV server isolated from the rest of my network, so I decided to add another network card to the PC to allow me to have a peer to peer link with the CCTV server.

Problem: I installed a new generic network card in the PC which uses a Realtek 8100/8101L/8139 chipset.

When I rebooted after installing the card, it did not appear to work.

ifconfig

Returns

enp0s14: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.0.102  netmask 255.255.255.0  broadcast 192.168.0.255
    inet6 fe80::250:8dff:fed3:63a0  prefixlen 64  scopeid 0x20<link>
    ether 00:50:8d:d3:63:a0  txqueuelen 1000  (Ethernet)
    RX packets 20937  bytes 12660083 (12.6 MB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 22521  bytes 4156566 (4.1 MB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    device interrupt 22  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
    inet 127.0.0.1  netmask 255.0.0.0
    inet6 ::1  prefixlen 128  scopeid 0x10<host>
    loop  txqueuelen 1000  (Local Loopback)
    RX packets 10794  bytes 547578 (547.5 KB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 10794  bytes 547578 (547.5 KB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s14 is the built in network adapter on my motherboard which is still working fine and connects me to my home network.

There's no entry listed relating to the newly installed NIC.

lspci | grep Ethernet

Returns

00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)
00:0e.0 Ethernet controller: VIA Technologies, Inc. VT6120/VT6121/VT6122 Gigabit Ethernet Adapter (rev 11)

So it seems that the new card is detected, but not enabled.

dmsg | grep Network

Returns

[    1.575821] FUJITSU Extended Socket Network Device Driver - version 1.2 - Copyright (c) 2015 FUJITSU LIMITED
[    1.611683] VIA Networking Velocity Family Gigabit Ethernet Adapter Driver Ver. 1.15
[    1.611686] Copyright (c) 2002, 2003 VIA Networking Technologies, Inc.
[    1.618755] eth0: VIA Networking Velocity Family Gigabit Ethernet Adapter
[   16.301456] audit: type=1400 audit(1506850485.331:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=646 comm="apparmor_parser"
[   16.301457] audit: type=1400 audit(1506850485.331:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=646 comm="apparmor_parser"

This only seems to mention the VIA chipset drivers and not the Realtek ones.

So does this mean that the drivers are not installed?

Googling the Realtek site says that the Linux 8100 series drivers are not available for download because they are incorporated in the Linux kernel, so am I right in thinking that I don't need to install any and it should just work?

Any ideas on how to enable this adapter would be much appreciated.

Thanks

** Solution **

This appeared to be down to drivers in the end.

rtl8139 driver module is supposedly included in the kernel, but it seems that for my installation it wasn't, so when I tried "lsmod | grep rtl" nothing was found.

modprobe rtl8139 did not work, but when I tried modprobe 8139too, this worked after a full reboot.

Thanks to vidarlo for the assistance with this resolution.

How can I upgrade my PHP version? https://askubuntu.com/questions/902637/how-can-i-upgrade-my-php-version

I installed PHP 5.6 and when I run php -v it shows

PHP 5.6.30-7+deb.sury.org~precise+1 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

but when I get phpinfo(); in index file show in header:

PHP Version 5.3.10-1ubuntu3.26

How can upgrade my php version?

Changing the screen brightness of the external screen https://askubuntu.com/questions/894465/changing-the-screen-brightness-of-the-external-screen

I have installed Ubuntu 16.04 LTS on my laptop and connected it to an external monitor via an HDMI cable. I can easily change the brightness of the laptop screen but that does not affect the brightness of the external monitor. Is there any way to change the brightness of the external monitor as well?

How to see Login history? https://askubuntu.com/questions/390201/how-to-see-login-history

Is it possible to see the login history, i mean to see if someone has used the computer in my absence and when he used it .
if it is possible, where can i get the log ?
if not, is there a program that logs all the logins and their time ?

how to open multiple files with the default program from terminal? https://askubuntu.com/questions/356650/how-to-open-multiple-files-with-the-default-program-from-terminal

I tried to open all my .mp3 files from a folder using xdg-open but I found out it opens just one! So I searched a little but there was not such a question! I found "evince" but apparently it open text files and gnome-open also opens one file.

I want to open all files of the same format in a folder from the terminal. I'm new to Ubuntu so please explain a little more.