Issue with kernel 7.0.0-15 after update from Ubuntu 25.10 to 26.04
https://askubuntu.com/questions/1566991/issue-with-kernel-7-0-0-15-after-update-from-ubuntu-25-10-to-26-04
I have updated my Ubuntu from 25.10 version to 26.04, I received some error dusring the installation about the kernel.
At the first start I had a kernel panic error, I solved it starting my PC with the previous kernel version then I provided the following commands:
sudo update-initramfs -u -k version
Now I can boot with any problem my PC with the latest kernel available 7.0.0-15.
But I think there is a problem, if I try to update my system via terminal this is what I have:
kaotik@kaotik:~$ sudo apt update && sudo apt upgrade
[sudo: authenticate] Password:
Trovato:1 http://security.ubuntu.com/ubuntu resolute-security InRelease
Trovato:2 http://archive.ubuntu.com/ubuntu resolute InRelease
Trovato:3 https://dl.google.com/linux/chrome-stable/deb stable InRelease
Trovato:4 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
Trovato:5 https://esm.ubuntu.com/apps/ubuntu resolute-apps-security InRelease
Trovato:6 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
Trovato:7 https://esm.ubuntu.com/apps/ubuntu resolute-apps-updates InRelease
Trovato:8 http://archive.ubuntu.com/ubuntu resolute-proposed InRelease
Trovato:9 https://esm.ubuntu.com/infra/ubuntu resolute-infra-security InRelease
Trovato:10 https://esm.ubuntu.com/infra/ubuntu resolute-infra-updates InRelease
3 pacchetti possono essere aggiornati: eseguire "apt list --upgradable" per vederli.
Non ancora aggiornati per via dello scaglionamento:
gnome-session-bin gnome-session-common ubuntu-session
Riepilogo:
Aggiornamento: 0, Installazione: 0, Rimozione: 0, Non aggiornati: 3
1 non completamente installati o rimossi.
Spazio richiesto: 0 B / 413 GB disponibile
Continuare? [S/n] s
Configurazione di linux-image-7.0.0-15-generic (7.0.0-15.15)...
Elaborazione dei trigger per linux-image-7.0.0-15-generic (7.0.0-15.15)...
/etc/kernel/postinst.d/dracut:
dracut: Generating /boot/initrd.img-7.0.0-15-generic
dracut[W]: If you need to use bluetooth, please include it explicitly.
dracut[W]: If you need to use bluetooth, please include it explicitly.
/etc/kernel/postinst.d/kdump-tools:
kdump-tools: Generating /var/lib/kdump/initrd.img-7.0.0-15-generic
E: /usr/share/initramfs-tools/hooks/dhcpcd failed with return 1.
update-initramfs: failed for /var/lib/kdump/initrd.img-7.0.0-15-generic with 1.
run-parts: /etc/kernel/postinst.d/kdump-tools exited with return code 1
dpkg: errore nell'elaborare il pacchetto linux-image-7.0.0-15-generic (--configure):
old linux-image-7.0.0-15-generic package postinst maintainer script subprocess failed with exit status 1
Si sono verificati degli errori nell'elaborazione:
linux-image-7.0.0-15-generic
Errore: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried to fix the installation using the forllowing commands:
kaotik@kaotik:~$ sudo dpkg --configure -a
Configurazione di linux-image-7.0.0-15-generic (7.0.0-15.15)...
Elaborazione dei trigger per linux-image-7.0.0-15-generic (7.0.0-15.15)...
/etc/kernel/postinst.d/dracut:
dracut: Generating /boot/initrd.img-7.0.0-15-generic
dracut[W]: If you need to use bluetooth, please include it explicitly.
dracut[W]: If you need to use bluetooth, please include it explicitly.
/etc/kernel/postinst.d/kdump-tools:
kdump-tools: Generating /var/lib/kdump/initrd.img-7.0.0-15-generic
E: /usr/share/initramfs-tools/hooks/dhcpcd failed with return 1.
update-initramfs: failed for /var/lib/kdump/initrd.img-7.0.0-15-generic with 1.
run-parts: /etc/kernel/postinst.d/kdump-tools exited with return code 1
dpkg: errore nell'elaborare il pacchetto linux-image-7.0.0-15-generic (--configure):
old linux-image-7.0.0-15-generic package postinst maintainer script subprocess failed with exit status 1
Si sono verificati degli errori nell'elaborazione:
linux-image-7.0.0-15-generic
kaotik@kaotik:~$ sudo apt-get install -f
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze... Fatto
Lettura informazioni sullo stato... Fatto
Risoluzione dipendenze... Fatto
0 aggiornati, 0 installati, 0 da rimuovere e 3 non aggiornati.
1 non completamente installati o rimossi.
Dopo quest'operazione, verranno occupati 0 B di spazio su disco in più.
Configurazione di linux-image-7.0.0-15-generic (7.0.0-15.15)...
Elaborazione dei trigger per linux-image-7.0.0-15-generic (7.0.0-15.15)...
/etc/kernel/postinst.d/dracut:
dracut: Generating /boot/initrd.img-7.0.0-15-generic
dracut[W]: If you need to use bluetooth, please include it explicitly.
dracut[W]: If you need to use bluetooth, please include it explicitly.
/etc/kernel/postinst.d/kdump-tools:
kdump-tools: Generating /var/lib/kdump/initrd.img-7.0.0-15-generic
E: /usr/share/initramfs-tools/hooks/dhcpcd failed with return 1.
update-initramfs: failed for /var/lib/kdump/initrd.img-7.0.0-15-generic with 1.
run-parts: /etc/kernel/postinst.d/kdump-tools exited with return code 1
dpkg: errore nell'elaborare il pacchetto linux-image-7.0.0-15-generic (--configure):
old linux-image-7.0.0-15-generic package postinst maintainer script subprocess failed with exit status 1
Si sono verificati degli errori nell'elaborazione:
linux-image-7.0.0-15-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried to reinstall the kernel too:
kaotik@kaotik:~$ sudo apt install --reinstall linux-image-$(uname -r) linux-modules-$(uname -r)
[sudo: authenticate] Password:
Riepilogo:
Aggiornamento: 0, Installazione: 0, Reinstallazione: 2Rimozione: 0, Non aggiornati: 6
1 non completamente installati o rimossi.
Dimensione scaricamento: 169 MB
Spazio richiesto: 0 B / 414 GB disponibile
Scaricamento di:1 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 linux-modules-7.0.0-15-generic amd64 7.0.0-15.15 [169 MB]
Recuperati 169 MB in 8s (22,5 MB/s)
Errore: Internal Error, No file name for linux-image-7.0.0-15-generic:amd64
But I have always that error message.
Could you please help me to fix it?
Thank you