Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

kept back: linux-image-amd64 --- but...

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
MikeLieberman
Posts: 162
Joined: 2013-01-29 17:26
Location: General Santos City, Philippines
Has thanked: 17 times
Been thanked: 2 times

kept back: linux-image-amd64 --- but...

#1 Post by MikeLieberman »

This pertains to an install of Buster on a VM (VirtualBox)

Here is the contents of my sources.list
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
The message I am getting that linux-image-amd64 is kept back

I have issued the commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get --with-new-pkgs upgrade
But nothing resolves this. I include below the entire session: What is happening?
mike@Mail:~$ sudo apt-get update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Reading package lists... Done
mike@Mail:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-image-amd64
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
mike@Mail:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mike@Mail:~$ sudo apt-get --with-new-pkgs upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

CwF
Global Moderator
Global Moderator
Posts: 2636
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: kept back: linux-image-amd64 --- but...

#2 Post by CwF »

Interesting,

Code: Select all

apt policy linux-image-amd64

User avatar
MikeLieberman
Posts: 162
Joined: 2013-01-29 17:26
Location: General Santos City, Philippines
Has thanked: 17 times
Been thanked: 2 times

Re: kept back: linux-image-amd64 --- but...

#3 Post by MikeLieberman »

mike@Mail:~$ sudo apt policy linux-image-amd64
[sudo] password for mike:
linux-image-amd64:
Installed: 4.19+105+deb10u16
Candidate: 4.19+105+deb10u17
Version table:
4.19+105+deb10u17 500
500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
*** 4.19+105+deb10u16 500
500 http://deb.debian.org/debian buster/main amd64 Packages
100 /var/lib/dpkg/status
mike@Mail:~$
mike@Mail:~$ apt list -a --upgradable
Listing... Done
linux-image-amd64/oldstable 4.19+105+deb10u17 amd64 [upgradable from: 4.19+105+deb10u16]
linux-image-amd64/oldstable,now 4.19+105+deb10u16 amd64 [installed,upgradable to: 4.19+105+deb10u17]

CwF
Global Moderator
Global Moderator
Posts: 2636
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: kept back: linux-image-amd64 --- but...

#4 Post by CwF »

manually install if not installed 'linux-image-4.19.0-22-amd64'
reboot and check function, manually remove 'linux-image-amd64' and maybe manually uninstall former kernel if there was one.

User avatar
MikeLieberman
Posts: 162
Joined: 2013-01-29 17:26
Location: General Santos City, Philippines
Has thanked: 17 times
Been thanked: 2 times

Re: kept back: linux-image-amd64 --- but...

#5 Post by MikeLieberman »

Package linux-image-4.19.0-22-amd64 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
linux-image-4.19.0-22-amd64-unsigned

E: Package 'linux-image-4.19.0-22-amd64' has no installation candidate
The fact that it is unsigned bothers me

CwF
Global Moderator
Global Moderator
Posts: 2636
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: kept back: linux-image-amd64 --- but...

#6 Post by CwF »

MikeLieberman wrote: 2022-10-01 04:51 The fact that it is unsigned bothers me
Apparently there is an issue with the security version 4.19+105+deb10u17.
If the installed kernel is signed and working, simply remove 'linux-image-amd64'.
There will likely not be another update needed or available, as old stable the package serves no purpose.
Unsigned is fine if your bios does not need it.

User avatar
MikeLieberman
Posts: 162
Joined: 2013-01-29 17:26
Location: General Santos City, Philippines
Has thanked: 17 times
Been thanked: 2 times

Re: kept back: linux-image-amd64 --- but...

#7 Post by MikeLieberman »

I installed linux-image-4.19.0-22-amd64-unsigned.
It removed linux-image-4.19.0-20-amd64.
It set up linux-image-4.19.0-21-amd64 as a fallback.
I rebooted and all was OK.
I removed linux-image-amd64.
I rebooted and all was OK.
I ran apt autoremove.
I ran apt list -a --upgradable
and the result was "Listing... Done"

So thank you very much.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: kept back: linux-image-amd64 --- but...

#8 Post by Head_on_a_Stick »

CwF wrote: 2022-10-01 05:02 simply remove 'linux-image-amd64'
^ This is fantastically bad advice.

The problem in this thread is caused by https://bugs.debian.org/cgi-bin/bugrepo ... ug=1021012 and will be resolved shortly.

@MikeLieberman — reinstall linux-image-amd64. Running an outdated kernel is unwise and even the oldstable kernel receives fixes.
deadbang

CwF
Global Moderator
Global Moderator
Posts: 2636
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: kept back: linux-image-amd64 --- but...

#9 Post by CwF »

Head_on_a_Stick wrote: 2022-10-01 09:21 ^ This is fantastically bad advice.
'fantastically' is a little over the top...
especially considering the op has the most update kernel installed, on old stable, in VB no less.

Not every update has relevance to every install. This is the fuss I mentioned in that other sid kernel thread. The absence of the meta package in no way prevents any install from running the current kernel. It does prevent an install from automagically running an alternative kernel. Meta packages are useful and convenient. They are also unnecessary and personally I use few if any, and can explain the ramifications of doing so.

I almost wrote "Ignore it and try again in a few weeks" It's a minor issue.

Some enjoy fuss and drama, maybe that's one arena in which we differ.
But thanks for finding the bug report I only hinted at, that was one more step over my effort, but not 'fantastically' more.

Reinstalling it will temporarily reintroduce the issue, and watching it nervously until it's fixed is needless fuss.

Post Reply