Ubuntu Support Template
Ubuntu Version:
Example: 22.04 LTS,
Desktop Environment (if applicable):
LXQT
Problem Description:
Problem with update/upgrade lubuntu 24.04
trying
sudo apt update
sudo apt full-upgrade
Relevant System Information:
OS: Ubuntu 24.04.4 LTS x86_64
Kernel: Linux 6.14.0-27-generic
DE: LXQt
WM: Openbox (X11)
CPU: AMD A12-9720P RADEON R7, 12 COMPUTE CORES 4C+8G (4) @ 2.70 GHz
GPU: AMD Radeon R7 Graphics [Integrated]
Memory: 3.38 GiB / 14.74 GiB (23%)
Disk (/): 33.89 GiB / 523.60 GiB (6%) - ext4
Screenshots or Error Messages:
before ending i receive this messages
```
Procesando disparadores para plymouth-theme-ubuntu-text (24.004.60-1ubuntu7.1) …
update-initramfs: deferring update (trigger activated)
Procesando disparadores para initramfs-tools (0.142ubuntu25.8) …
ln: fallo al crear el enlace duro ‘/boot/initrd.img-6.14.0-28-generic.dpkg-bak’ => ‘/boot/initrd.img-6.14.0-28-generic’: Operación no permitida
update-initramfs: Generating /boot/initrd.img-6.14.0-28-generic
Se encontraron errores al procesar:
linux-image-6.14.0-37-generic
linux-image-6.14.0-28-generic
linux-headers-6.17.0-19-generic
linux-image-6.14.0-33-generic
linux-headers-generic-hwe-24.04
linux-image-6.17.0-19-generic
linux-image-generic-hwe-24.04
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
What I’ve Tried:
sudo apt full-upgrade
…
¿Desea continuar? [S/n]
(Leyendo la base de datos … 537653 ficheros o directorios instalados actualmente.)
Desinstalando linux-image-6.14.0-37-generic (6.14.0-37.37~24.04.1) …
/etc/kernel/prerm.d/dkms:
dkms: removing: rtl8812au 4.3.8.12175.20140902+dfsg (6.14.0-37-generic) (x86_64)
Module rtl8812au-4.3.8.12175.20140902+dfsg for kernel 6.14.0-37-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
8812au.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.14.0-37-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod…
Failed to create symlink to vmlinuz-6.14.0-33-generic: Operation not permitted at /usr/bin/linux-update-symlinks line 64.
dpkg: error al procesar el paquete linux-image-6.14.0-37-generic (–remove):
el subproceso instalado paquete linux-image-6.14.0-37-generic script post-removal devolvió el código de salida de error 1
dpkg: demasiados errores, parando
Se encontraron errores al procesar:
linux-image-6.14.0-37-generic
Proceso detenido por haber demasiados errores.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Welcome to Ubuntu Discourse 
Please run the following commands and post the output back here. To wrap with code tags after highlighting use either three backticks, Ctrl+E on the keyboard, or the </> icon in the composer.
mount | grep /boot
lsattr /boot
df -T /boot
Thanks
2 Likes
Because you used apt full-upgrade a WiFi driver has been removed. This is what Google AI says about that WiFi driver:
The RTL8812AU is a popular Realtek USB Wi-Fi chipset supporting 802.11ac (5 GHz) and monitoring/packet injection, commonly used in Linux for penetration testing and high-speed wireless, such as the Alpha AWUS036ACH. It often requires third-party drivers (commonly via DKMS on GitHub or rtl8812au-dkms in repositories) as it is not always included in the mainline kernel.
Google AI has other interesting things to say about this WiFi driver that might help you install it.
This driver could have been the reason that upgrading the Linux kernel was failing. Can you load to a desktop using Advanced Options for Ubuntu and selecting an earlier kernel? If you can do that you might have to content yourself with loading Ubuntu that way until it is possible to install and compile the latest Linux kernel with that rtl88012AU WiFi driver.
Regards
1 Like
```
mount | grep /boot
/dev/sda6 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
```
```
lsattr /boot
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/grub
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/vmlinuz-6.14.0-27-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/System.map-6.14.0-27-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/config-6.14.0-27-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/memtest86+ia32.bin
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/memtest86+ia32.efi
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/memtest86+x64.bin
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/memtest86+x64.efi
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/initrd.img-6.14.0-27-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/config-6.14.0-28-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/System Volume Information
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/config-6.14.0-33-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/System.map-6.14.0-28-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/vmlinuz-6.14.0-28-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/initrd.img-6.14.0-28-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/config-6.14.0-35-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/System.map-6.14.0-33-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/vmlinuz-6.14.0-33-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/config-6.14.0-36-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/System.map-6.14.0-35-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/config-6.14.0-37-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/config-6.17.0-19-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/System.map-6.14.0-36-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/vmlinuz-6.17.0-19-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/System.map-6.14.0-37-generic
lsattr: La operación no está soportada Mientras se leían las banderas en /boot/System.map-6.17.0-19-generic
```
```
df -T /boot
S.ficheros Tipo bloques de 1K Usados Disponibles Uso% Montado en
/dev/sda6 vfat 524128 305260 218868 59% /boot
```
1 Like
Hey! I think I can see what’s going on here. Your /boot partition is formatted as FAT32, and FAT32 doesn’t support hard links. The kernel update process needs to create hard links in /boot, which is why you’re getting:
ln: fallo al crear el enlace duro ... Operación no permitida
The fix would generally involve getting /boot onto a filesystem that supports hard links like ext4, but I don’t want to rush into suggesting specific steps without understanding your setup better first — getting this wrong could leave the system unbootable!
Can you run these and paste the output?
Is this a UEFI or legacy BIOS system?
bash
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
How is your boot partition laid out?
bash
mount | grep -E 'boot|efi'
Also just out of curiosity, is this a dual boot system with Windows or another OS?
Once I can see that I’ll have a much better idea of what’s going on and we can figure out the safest path forward together!
1 Like
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
BIOS
mount | grep -E ‘boot|efi’
/dev/sda6 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
Well. . . really my system is something “crazy” I have Windows 10 on it, but when i started installing Linux flavors I made some wrong decisions (now I have 4 Linux distros on it, 2 Linux mint, 1 KDE neon and 1 Lubuntu . . the one with this issues) and I got a situation: I need change the BIOS settings to be able to boot only in windows(selecting the main HDD) and change again to see the boots options in Linux without Windows(selecting the second HDD)!. . Uups!
Yeah, the AI. Until it registers a change, it keeps running on old data. Unfortunately.
see https://packages.ubuntu.com/search?keywords=rtl8812au-dkms&searchon=names&suite=all§ion=all
The rtl8812au-dkms package was only available up to *buntu 25.04. However, the HWE kernel 6.17 comes from *buntu 25.10, where this package no longer exists. The conclusion is that it has since been integrated into linux-modules-extra. And that means you should uninstall the rtl8812au-dkms package. After that, the installation of kernel 6.17.0-xx should proceed, but this would break Wi-Fi to all older kernels.
P.S.
Once you’re on the 6.17 branch, none of the previous versions matter anymore. Why bother with the issue involving kernel 6.14.0-28 from last July?
2 Likes