root@ritesh-Latitude-E7450:/# apt-get purge grub-pc grub-pc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
grub2-common libwxbase2.8-0 libwxgtk2.8-0 linux-headers-4.10.0-27 linux-headers-4.10.0-27-generic
linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic linux-headers-4.4.0-83
linux-headers-4.4.0-83-generic linux-headers-4.8.0-36 linux-headers-4.8.0-36-generic
linux-image-4.10.0-27-generic linux-image-4.10.0-28-generic linux-image-4.4.0-83-generic
linux-image-4.8.0-36-generic linux-image-extra-4.10.0-27-generic linux-image-extra-4.10.0-28-generic
linux-image-extra-4.4.0-83-generic linux-image-extra-4.8.0-36-generic ros-kinetic-bond ros-kinetic-bondcpp
ros-kinetic-cmake-modules ros-kinetic-common-msgs ros-kinetic-mk ros-kinetic-nodelet ros-kinetic-ros
ros-kinetic-rosbag-migration-rule ros-kinetic-rosbash ros-kinetic-rosboost-cfg ros-kinetic-roscpp-core
ros-kinetic-roscreate ros-kinetic-roslang ros-kinetic-roslisp ros-kinetic-rosmake ros-kinetic-shape-msgs
ros-kinetic-smclib ros-kinetic-stereo-msgs ros-kinetic-trajectory-msgs sbcl shim
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
grub-gfxpayload-lists* grub-pc* grub-pc-bin*
0 upgraded, 0 newly installed, 3 to remove and 219 not upgraded.
After this operation, 3,613 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 416194 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
Removing grub-pc (2.02~beta2-36ubuntu3.12) ...
Purging configuration files for grub-pc (2.02~beta2-36ubuntu3.12) ...
Removing grub-pc-bin (2.02~beta2-36ubuntu3.12) ...
Processing triggers for man-db (2.7.5-1) ...
root@ritesh-Latitude-E7450:/# apt-get install grub-efi-amd64-signed
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libwxbase2.8-0 libwxgtk2.8-0 linux-headers-4.10.0-27 linux-headers-4.10.0-27-generic linux-headers-4.10.0-28
linux-headers-4.10.0-28-generic linux-headers-4.4.0-83 linux-headers-4.4.0-83-generic linux-headers-4.8.0-36
linux-headers-4.8.0-36-generic linux-image-4.10.0-27-generic linux-image-4.10.0-28-generic
linux-image-4.4.0-83-generic linux-image-4.8.0-36-generic linux-image-extra-4.10.0-27-generic
linux-image-extra-4.10.0-28-generic linux-image-extra-4.4.0-83-generic linux-image-extra-4.8.0-36-generic
ros-kinetic-bond ros-kinetic-bondcpp ros-kinetic-cmake-modules ros-kinetic-common-msgs ros-kinetic-mk
ros-kinetic-nodelet ros-kinetic-ros ros-kinetic-rosbag-migration-rule ros-kinetic-rosbash
ros-kinetic-rosboost-cfg ros-kinetic-roscpp-core ros-kinetic-roscreate ros-kinetic-roslang
ros-kinetic-roslisp ros-kinetic-rosmake ros-kinetic-shape-msgs ros-kinetic-smclib ros-kinetic-stereo-msgs
ros-kinetic-trajectory-msgs sbcl shim
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
grub-efi-amd64 grub-efi-amd64-bin
The following NEW packages will be installed:
grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
0 upgraded, 3 newly installed, 0 to remove and 219 not upgraded.
Need to get 1,022 kB of archives.
After this operation, 6,536 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64-bin amd64 2.02~beta2-36ubuntu3.12 [660 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64 amd64 2.02~beta2-36ubuntu3.12 [65.6 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64-signed amd64 1.66.12+2.02~beta2-36ubuntu3.12 [296 kB]
Fetched 1,022 kB in 0s (2,719 kB/s)
Preconfiguring packages ...
Selecting previously unselected package grub-efi-amd64-bin.
(Reading database ... 415881 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-36ubuntu3.12_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02~beta2-36ubuntu3.12) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02~beta2-36ubuntu3.12_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-36ubuntu3.12) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../grub-efi-amd64-signed_1.66.12+2.02~beta2-36ubuntu3.12_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.66.12+2.02~beta2-36ubuntu3.12) ...
Setting up grub-efi-amd64-bin (2.02~beta2-36ubuntu3.12) ...
Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.12) ...
Creating config file /etc/default/grub with new version
Setting up grub-efi-amd64-signed (1.66.12+2.02~beta2-36ubuntu3.12) ...