apt doesn't show any upgrades?

If none of the more specific forums is the right place to ask

apt doesn't show any upgrades?

Postby ulukay » 2018-01-07 08:36

i got multiple debian 9.3 servers as kvm guests
one of them doesn't show any upgrades when using
apt-get update
apt-get upgrade

even though it's the same debian version, and the same sources.list

# cat /etc/debian_version
9.3

# cat /etc/apt/sources.list
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#

###### Debian Main Repos
deb http://ftp.de.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stable main contrib non-free

deb http://ftp.de.debian.org/debian/ stable-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stable-updates main contrib non-free

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

deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main


# apt-get update
Hit:1 http://ftp.debian.org/debian stretch-backports InRelease
Hit:2 http://packages.x2go.org/debian stretch InRelease
Ign:3 http://ftp.de.debian.org/debian stable InRelease
Hit:4 http://ftp.de.debian.org/debian stable-updates InRelease
Hit:5 http://ftp.de.debian.org/debian stable Release
Hit:7 http://security.debian.org stable/updates InRelease
Reading package lists... Done

# apt-get 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.

# uname -a
Linux vmdeb 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux

still shows that the old kernel is installed, even though my other machines already patched to 4.9.0-5, using the same sources.list

wth is going on?
ulukay
 
Posts: 6
Joined: 2012-03-03 08:54

Re: apt doesn't show any upgrades?

Postby ulukay » 2018-01-07 08:40

and as always when you open a new thread ...
i've installed linux-image-4.9.0-3-amd64 manually after moving back from a custom kernel
instead of using the metapackage linux-image-amd64
ulukay
 
Posts: 6
Joined: 2012-03-03 08:54

Re: apt doesn't show any upgrades?

Postby debiman » 2018-01-08 07:13

so it is solved?
please mark it so.
User avatar
debiman
 
Posts: 2127
Joined: 2013-03-12 07:18

Re: apt doesn't show any upgrades?

Postby pendrachken » 2018-01-09 16:07

ulukay wrote:and as always when you open a new thread ...
i've installed linux-image-4.9.0-3-amd64 manually after moving back from a custom kernel
instead of using the metapackage linux-image-amd64




Apt is doing exactly what you told it to do, keep 4.9.03 until there is an upgraded 4.9.03 package. The meta package you didn't install depends on the latest kernel and will upgrade whenever the meta package gets a version bump.

You need the meta package if you want to keep the kernel up to date with the latest highest release number. Otherwise you will keep the kernel version number you have, possibly with security patches backported but possibly without. It will be your job to ensure that you are up to date with whichever kernel you choose if you install a specific version of the kernel.
fortune -o
Your love life will be... interesting.
:twisted: How did it know?

The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches :-P
pendrachken
 
Posts: 1312
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.


Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable