14.04 server not seeing kernel upgrade options, how to enable? - Ask Ubuntu
i have 14.04.5 web server running kernel 3.13.0-35-generic. sudo apt-get upgrade
runs without errors. sudo apt-get upgrade
, sudo apt-get dist-upgrade
both show 0 packages upgrade.
if run sudo apt-get install linux-image-generic
offers install linux-image-3.13.0-100-generic , linux-image-extra-3.13.0-100-generic.
this fouls automatic upgrades. why not showing upgrade unless ask it?
sudo apt-mark showhold
shows no results.
i have automatic security upgrades turned on:
$ cat apt.conf.d/20auto-upgrades apt::periodic::update-package-lists "1"; apt::periodic::unattended-upgrade "1"; $ cat apt.conf.d/50unattended-upgrades |grep -v \/\/ unattended-upgrade::allowed-origins { "${distro_id}:${distro_codename}-security"; }; unattended-upgrade::package-blacklist { };
all security repos seem accessible
$ sudo apt-get update|grep security hit http://security.ubuntu.com trusty-security inrelease hit http://security.ubuntu.com trusty-security/main sources hit http://security.ubuntu.com trusty-security/restricted sources hit http://security.ubuntu.com trusty-security/universe sources hit http://security.ubuntu.com trusty-security/multiverse sources hit http://security.ubuntu.com trusty-security/main amd64 packages hit http://security.ubuntu.com trusty-security/restricted amd64 packages hit http://security.ubuntu.com trusty-security/universe amd64 packages hit http://security.ubuntu.com trusty-security/multiverse amd64 packages hit http://security.ubuntu.com trusty-security/main i386 packages hit http://security.ubuntu.com trusty-security/restricted i386 packages hit http://security.ubuntu.com trusty-security/universe i386 packages hit http://security.ubuntu.com trusty-security/multiverse i386 packages hit http://security.ubuntu.com trusty-security/main translation-en hit http://security.ubuntu.com trusty-security/multiverse translation-en hit http://security.ubuntu.com trusty-security/restricted translation-en hit http://security.ubuntu.com trusty-security/universe translation-en
the kernels installed years old:
$ ls -l /boot/vmlinuz-* -rw------- 1 root root 5776416 may 2 2014 /boot/vmlinuz-3.13.0-24-generic -rw------- 1 root root 5806368 aug 14 2014 /boot/vmlinuz-3.13.0-35-generic $ sudo apt-mark showmanual|grep linux libselinux1 linux-firmware linux-headers-server linuxinfo util-linux $ sudo apt-mark showauto|grep linux libselinux1:i386 linux-headers-3.13.0-100 linux-headers-3.13.0-100-generic linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic linux-headers-3.13.0-35 linux-headers-3.13.0-35-generic linux-headers-generic linux-image-3.13.0-24-generic linux-image-3.13.0-35-generic linux-image-extra-3.13.0-24-generic linux-image-extra-3.13.0-35-generic linux-libc-dev
why not seeing updates available kernels when run apt-get updates
?
the problem @ point linux-image-generic
package removed. package dummy package new linux kernel images. removing won't break system, cease new kernel installs. if isn't "installed", new versions of kernel aren't detected because packaged doesn't have new versions new dependencies on specific kernel package.
this happen if uninstall specific kernel uninstall linux-image-generic
along it.
to fix, run sudo apt-get install linux-image-generic
. install latest kernel version dependency. should see linux-image-generic marked manual missing before:
$ sudo apt-mark showmanual linux-image-generic linux-image-generic
additionally, sudo apt-get autoremove
should start offering remove old kernels have done before.
Comments
Post a Comment