Code:
:~$ apt policy grub-pc
grub-pc:
Installed: 2.02~beta2-36ubuntu3.11
Candidate: 2.02~beta2-36ubuntu3.11
Version table:
*** 2.02~beta2-36ubuntu3.11 500
500 http://us.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
100 /var/lib/dpkg/status
2.02~beta2-36ubuntu3.9 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
2.02~beta2-36ubuntu3 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
bitsnpcs[member=411]bitsnpcs[/member]:~$
as per terminal
Code:
:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libmircommon5 linux-headers-4.4.0-77 linux-headers-4.4.0-77-generic
linux-image-4.4.0-77-generic linux-image-extra-4.4.0-77-generic
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 297 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 307713 files and directories currently installed.)
Removing libmircommon5:amd64 (0.21.0+16.04.20160330-0ubuntu1) ...
Removing linux-headers-4.4.0-77-generic (4.4.0-77.98) ...
Removing linux-headers-4.4.0-77 (4.4.0-77.98) ...
Removing linux-image-extra-4.4.0-77-generic (4.4.0-77.98) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
Error! Your kernel headers for kernel 4.4.0-77-generic cannot be found.
Please install the linux-headers-4.4.0-77-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 4.4.0-77-generic cannot be found.
Please install the linux-headers-4.4.0-77-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-77-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
Generating grub configuration file ...
Found background: /boot/grub_linux_lite.png
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found background image: /boot/grub_linux_lite.png
Found linux image: /boot/vmlinuz-4.9.0-linuxlite
Found initrd image: /boot/initrd.img-4.9.0-linuxlite
Found linux image: /boot/vmlinuz-4.4.0-79-generic
Found initrd image: /boot/initrd.img-4.4.0-79-generic
Found linux image: /boot/vmlinuz-4.4.0-78-generic
Found initrd image: /boot/initrd.img-4.4.0-78-generic
Found linux image: /boot/vmlinuz-4.4.0-77-generic
Found initrd image: /boot/initrd.img-4.4.0-77-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Removing linux-image-4.4.0-77-generic (4.4.0-77.98) ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
update-initramfs: Deleting /boot/initrd.img-4.4.0-77-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-77-generic /boot/vmlinuz-4.4.0-77-generic
Generating grub configuration file ...
Found background: /boot/grub_linux_lite.png
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found background image: /boot/grub_linux_lite.png
Found linux image: /boot/vmlinuz-4.9.0-linuxlite
Found initrd image: /boot/initrd.img-4.9.0-linuxlite
Found linux image: /boot/vmlinuz-4.4.0-79-generic
Found initrd image: /boot/initrd.img-4.4.0-79-generic
Found linux image: /boot/vmlinuz-4.4.0-78-generic
Found initrd image: /boot/initrd.img-4.4.0-78-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Processing triggers for libc-bin (2.23-0ubuntu7) ...
bitsnpcs[member=411]bitsnpcs[/member]:~$
recheck
Code:
:~$ apt policy grub-pc
grub-pc:
Installed: 2.02~beta2-36ubuntu3.11
Candidate: 2.02~beta2-36ubuntu3.11
Version table:
*** 2.02~beta2-36ubuntu3.11 500
500 http://us.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
100 /var/lib/dpkg/status
2.02~beta2-36ubuntu3.9 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
2.02~beta2-36ubuntu3 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
bitsnpcs[member=411]bitsnpcs[/member]:~$