12.04 - Dist upgrade to fix dirty c0w vulnerability does not work - Ask Ubuntu
today decided follow steps patch server dirty c0w vulnerability.
it's running ubuntu 12.04 lts:
uname -rv 3.2.0-87-generic #125-ubuntu smp fri jun 19 08:25:10 utc 2015 uname -a linux webdev 3.2.0-87-generic #125-ubuntu smp fri jun 19 08:25:10 utc 2015 x86_64 x86_64 x86_64 gnu/linux
so, every version prior 3.2.0-113.155 affected, i've ran following command:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
everything went fine, rebooted:
sudo reboot
but check version, has not changed:
uname -rv 3.2.0-87-generic #125-ubuntu smp fri jun 19 08:25:10 utc 2015
did miss ? double checked , didn't error during during upgrade.
edit based on comments / answers
i ran sudo update-grub
, got following:
generating grub.cfg ... warning: setting grub_timeout non-zero value when grub_hidden_timeout set no longer supported. found linux image: /boot/vmlinuz-3.2.0-87-generic found initrd image: /boot/initrd.img-3.2.0-87-generic found linux image: /boot/vmlinuz-3.2.0-86-generic found initrd image: /boot/initrd.img-3.2.0-86-generic found linux image: /boot/vmlinuz-3.2.0-85-generic found initrd image: /boot/initrd.img-3.2.0-85-generic found linux image: /boot/vmlinuz-3.2.0-84-generic found initrd image: /boot/initrd.img-3.2.0-84-generic found linux image: /boot/vmlinuz-3.2.0-83-generic found initrd image: /boot/initrd.img-3.2.0-83-generic found linux image: /boot/vmlinuz-3.2.0-82-generic found initrd image: /boot/initrd.img-3.2.0-82-generic found linux image: /boot/vmlinuz-3.2.0-80-generic found initrd image: /boot/initrd.img-3.2.0-80-generic found linux image: /boot/vmlinuz-3.2.0-79-generic found initrd image: /boot/initrd.img-3.2.0-79-generic found linux image: /boot/vmlinuz-2.6.32-38-server found initrd image: /boot/initrd.img-2.6.32-38-server found memtest86+ image: /memtest86+.bin done
after reboot still no change.
ran dpkg --get-selections | grep linux
, got:
libselinux1 install linux-firmware install linux-headers-3.2.0-101 install linux-headers-3.2.0-101-generic install linux-headers-3.2.0-102 install linux-headers-3.2.0-102-generic install linux-headers-3.2.0-104 install linux-headers-3.2.0-104-generic install linux-headers-3.2.0-106 install linux-headers-3.2.0-106-generic install linux-headers-3.2.0-107 install linux-headers-3.2.0-107-generic install linux-headers-3.2.0-109 install linux-headers-3.2.0-109-generic install linux-headers-3.2.0-110 install linux-headers-3.2.0-110-generic install linux-headers-3.2.0-111 install linux-headers-3.2.0-111-generic install linux-headers-3.2.0-113 install linux-headers-3.2.0-113-generic install linux-headers-3.2.0-86 install linux-headers-3.2.0-86-generic install linux-headers-3.2.0-87 install linux-headers-3.2.0-87-generic install linux-headers-3.2.0-89 install linux-headers-3.2.0-89-generic install linux-headers-3.2.0-91 install linux-headers-3.2.0-91-generic install linux-headers-3.2.0-92 install linux-headers-3.2.0-92-generic install linux-headers-3.2.0-93 install linux-headers-3.2.0-93-generic install linux-headers-3.2.0-94 install linux-headers-3.2.0-94-generic install linux-headers-3.2.0-95 install linux-headers-3.2.0-95-generic install linux-headers-3.2.0-96 install linux-headers-3.2.0-96-generic install linux-headers-3.2.0-97 install linux-headers-3.2.0-97-generic install linux-headers-3.2.0-98 install linux-headers-3.2.0-98-generic install linux-headers-3.2.0-99 install linux-headers-3.2.0-99-generic install linux-headers-server install linux-image-2.6.32-38-server install linux-image-3.2.0-79-generic install linux-image-3.2.0-80-generic install linux-image-3.2.0-82-generic install linux-image-3.2.0-83-generic install linux-image-3.2.0-84-generic install linux-image-3.2.0-85-generic install linux-image-3.2.0-86-generic install linux-image-3.2.0-87-generic install linux-libc-dev install util-linux install
seems there no new linux images in list.
however, when ran sudo apt-cache policy linux-image-generic
listed new version candidate (it's in french it):
linux-image-generic: installé : (aucun) candidat : 3.2.0.113.129 table de version : 3.2.0.113.129 0 500 http://fr.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 packages 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 packages 3.2.0.23.25 0 500 http://fr.archive.ubuntu.com/ubuntu/ precise/main amd64 packages
ok managed upgrade.
here's how did it.
based on ron comment on answer decided run:
sudo apt-get install linux-image-generic
that failed because of /boot
being full got rid of old versions running:
sudo dpkg -r linux-image-3.2.0-79-generic sudo dpkg -r linux-image-3.2.0-80-generic sudo dpkg -r linux-image-3.2.0-82-generic sudo dpkg -r linux-image-3.2.0-84-generic sudo dpkg -r linux-image-3.2.0-85-generic
after ran:
sudo apt-get upgrade -f
then reboot:
sudo reboot
and now, i'm running "safe" version:
uname -rv 3.2.0-113-generic #155-ubuntu smp tue oct 18 17:53:59 utc 2016
however, still have no idea why running following never worked:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
Comments
Post a Comment