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

 

 

 

apt doesn't show any upgrades?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
ulukay
Posts: 6
Joined: 2012-03-03 08:54

apt doesn't show any upgrades?

#1 Post by ulukay »

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?

#2 Post by ulukay »

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

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: apt doesn't show any upgrades?

#3 Post by debiman »

so it is solved?
please mark it so.

pendrachken
Posts: 1394
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.

Re: apt doesn't show any upgrades?

#4 Post by pendrachken »

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

Post Reply