KDE neon 5.22 fully updated.
Running kernel version 5.8.0-63-generic (64-bit).
dpkg --list shows a 5.4 kernel as being installed. That can't be, as that kernel version isn't available to be installed, or at least, it isn't installable now.
The locatedb doesn't find any matching file:
Where is dpkg getting the information about this "not" installed kernel?
Added:
Okay, seems that /var/lib/dpkg/status is the file contributing to this issue.
Why wasn't this file (status) updated when the 5.4 kernel was removed (it had been installed at some point)? Can it be updated now? If so, how?
Running kernel version 5.8.0-63-generic (64-bit).
dpkg --list shows a 5.4 kernel as being installed. That can't be, as that kernel version isn't available to be installed, or at least, it isn't installable now.
Code:
[FONT=monospace][COLOR=#000000]dpkg --list | grep linux-image [/COLOR] ii [COLOR=#ff5454][B]linux-image[/B][/COLOR][COLOR=#000000]-5.4.0-80-generic 5.4.0-80.90 amd64 Signed kernel image ge[/COLOR] neric ii [COLOR=#ff5454][B]linux-image[/B][/COLOR][COLOR=#000000]-5.8.0-63-generic 5.8.0-63.71~20.04.1 amd64 Signed kernel image ge[/COLOR] neric ii [COLOR=#ff5454][B]linux-image[/B][/COLOR][COLOR=#000000]-generic 5.4.0.80.84 amd64 Generic Linux kernel i[/COLOR] mage ii [COLOR=#ff5454][B]linux-image[/B][/COLOR][COLOR=#000000]-generic-hwe-20.04 5.8.0.63.71~20.04.45 amd64 Generic Linux kernel i[/COLOR] mage ii [COLOR=#ff5454][B]linux-image[/B][/COLOR][COLOR=#000000]-unsigned-5.8.0-59-generic 5.8.0-59.66~20.04.1 amd64 Linux kernel image for[/COLOR] version 5.8.0 on 64 bit x86 SMP [COLOR=#000000]locate linux-image-5.4.0-80-generic [/COLOR] [/FONT]
Code:
[FONT=monospace][COLOR=#000000]locate linux-image-5.4.0-80-generic[/COLOR] [/FONT]
Added:
Okay, seems that /var/lib/dpkg/status is the file contributing to this issue.
Code:
[FONT=monospace][COLOR=#000000]grep linux-image-5.4 /var/lib/dpkg/status [/COLOR] Package: [COLOR=#ff5454][B]linux-image-5.4[/B][/COLOR][COLOR=#000000].0-80-generic [/COLOR] Depends: [COLOR=#ff5454][B]linux-image-5.4[/B][/COLOR][COLOR=#000000].0-80-generic, linux-modules-extra-5.4.0-80-generic, linux-firmware, intel-microcode, amd64-microcode [/COLOR] Depends: [COLOR=#ff5454][B]linux-image-5.4[/B][/COLOR][COLOR=#000000].0-80-generic | linux-image-unsigned-5.4.0-80-generic, crda | wireless-crda[/COLOR] [/FONT]
Comment