5.13 not shown with dpkg -l

Asked by opnsrctechtrn

I think this is a bug or there is a bad image. I downloaded 20.04.3 from the Ubuntu Taiwan website (I think it came from the local FTP server), but after install and updates it has a faulty kernel 5.13 in the /boot and grub. I noticed that it gave a '/sbin/init does not exist' error. Getting in through 5.11 worked, and then update-grub through a syntax error on it. dpkg -l | grep linux-image didn't show 5.13 at all.

Looking in boot the file structure is weird. Not sure what happened, but I think a bad update or build went out.

rw-r--r-- 1 root root 40960 Aug 18 19:21 amd-ucode.img
-rw-r--r-- 1 root root 253599 Aug 11 22:53 config-5.11.0-27-generic
drwx------ 7 root root 4096 Jan 1 1970 efi
drwxr-xr-x 6 root root 4096 Sep 6 14:53 grub
-rw------- 1 root root 33988737 Sep 5 22:29 initramfs-5.13-x86_64-fallback.img
-rw------- 1 root root 8394117 Sep 5 22:28 initramfs-5.13-x86_64.img
lrwxrwxrwx 1 root root 28 Sep 6 00:31 initrd.img -> initrd.img-5.11.0-27-generic
-rw-r--r-- 1 root root 53034299 Sep 6 00:45 initrd.img-5.11.0-27-generic
-rw-r--r-- 1 root root 22 Aug 27 04:33 linux513-x86_64.kver
drwxr-xr-x 2 root root 4096 Sep 5 01:27 memtest86+
-rw-r--r-- 1 root root 182704 Aug 18 2020 memtest86+.bin
-rw-r--r-- 1 root root 184380 Aug 18 2020 memtest86+.elf
-rw-r--r-- 1 root root 184884 Aug 18 2020 memtest86+_multiboot.bin
-rw------- 1 root root 5833109 Aug 11 22:53 System.map-5.11.0-27-generic
lrwxrwxrwx 1 root root 25 Sep 6 00:31 vmlinuz -> vmlinuz-5.11.0-27-generic
-rw-r--r-- 1 root root 10125664 Aug 19 18:56 vmlinuz-5.11.0-27-generic
-rw-r--r-- 1 root root 9681856 Sep 5 01:27 vmlinuz-5.13-x86_64

Question information

English Edit question
Needs information
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
opnsrctechtrn (opsrctechtrn) said :

Actually, though while worth a check, it is possible that 5.13 was left over from another Linux - like Manjaro or Fedora. I've been having trouble with my system and running through distros with good support, so possible the boot partition didn't get clean on my Ubuntu Desktop install.

Revision history for this message
Manfred Hampl (m-hampl) said :

The files with 5.13 in their name are not part of the normal Ubuntu packages.
They look like the files that are provided with other operating systems, e.g. Manjaro Linux.

Are you able to provide a link to the installer file that you downloaded and used?
Did you add foreign repository sources to the package management system?
Is this a system with different operating systems, or is Ubuntu the only one?

For diagnostic purposes, what is the output of the commands
uname -a
lsb_release -crid
dpkg -l | grep ' linux-'
sudo apt update

Revision history for this message
Manfred Hampl (m-hampl) said :

I started writing my comment before you added your comment, and it seems that you already found the cause yourself.

Can you help with this problem?

Provide an answer of your own, or ask opnsrctechtrn for more information if necessary.

To post a message you must log in.