How to Install and Uninstall grub2-common Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: September 19,2024

1. Install "grub2-common" package

Please follow the guidelines below to install grub2-common on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install grub2-common

2. Uninstall "grub2-common" package

Please follow the guidance below to uninstall grub2-common on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove grub2-common $ sudo apt autoclean && sudo apt autoremove

3. Information about the grub2-common package on Ubuntu 20.04 LTS (Focal Fossa)

Package: grub2-common
Architecture: amd64
Version: 2.04-1ubuntu26.17
Multi-Arch: foreign
Priority: optional
Section: admin
Source: grub2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: GRUB Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1310
Depends: grub-common (= 2.04-1ubuntu26.17), dpkg (>= 1.15.4) | install-info, libc6 (>= 2.28), libdevmapper1.02.1 (>= 2:1.02.36), libefiboot1 (>= 37), libefivar1 (>= 37), liblzma5 (>= 5.1.1alpha+20120614)
Conflicts: grub-legacy
Breaks: grub (<< 0.97-54), grub-cloud-amd64 (<< 0.0.4), grub-coreboot (<< 2.02+dfsg1-7), grub-doc (<< 0.97-29ubuntu60), grub-efi-amd64 (<< 2.04-1ubuntu44.2), grub-efi-arm (<< 2.02+dfsg1-7), grub-efi-arm64 (<< 2.04-1ubuntu44.2), grub-efi-ia32 (<< 2.02+dfsg1-7), grub-efi-ia64 (<< 2.02+dfsg1-7), grub-ieee1275 (<< 2.02+dfsg1-7), grub-legacy-doc (<< 0.97-29ubuntu60), grub-pc (<< 2.02+dfsg1-7), grub-uboot (<< 2.02+dfsg1-7), grub-xen (<< 2.02+dfsg1-7), grub-yeeloong (<< 2.02+dfsg1-7), shim (<< 13)
Replaces: grub, grub-cloud-amd64 (<< 0.0.4), grub-common (<< 1.99-1), grub-coreboot (<< 2.02+dfsg1-7), grub-doc (<< 0.97-29ubuntu60), grub-efi-amd64 (<< 2.04-1ubuntu44.2~), grub-efi-arm (<< 2.02+dfsg1-7), grub-efi-arm64 (<< 2.04-1ubuntu44.2~), grub-efi-ia32 (<< 2.02+dfsg1-7), grub-efi-ia64 (<< 2.02+dfsg1-7), grub-ieee1275 (<< 2.02+dfsg1-7), grub-legacy, grub-legacy-doc (<< 0.97-29ubuntu60), grub-pc (<< 2.02+dfsg1-7), grub-uboot (<< 2.02+dfsg1-7), grub-xen (<< 2.02+dfsg1-7), grub-yeeloong (<< 2.02+dfsg1-7)
Filename: pool/main/g/grub2/grub2-common_2.04-1ubuntu26.17_amd64.deb
Size: 590040
MD5sum: e1bd2d3034d78cdf09668bca3288722b
SHA1: 9332d2f764f931609a5331666aa623b8b687c2a5
SHA256: 493e446f1c80ba28273a996843e3c770a5717563fa8753ee248f105f6e5ef3b9
SHA512: 637ed1ae283b3bcdfb7f086fa70ae97301fbdc40a0ef696f5e9c3994fe32909b263eda632826d7387b2ce05621c8902b89b96d423043aa935b2918ff387f008b
Homepage: https://www.gnu.org/software/grub/
Description: GRand Unified Bootloader (common files for version 2)
Description-md5: a969e6536e745e177a340b30bdb5ba3f
Task: ubuntu-live, kubuntu-live, xubuntu-live, lubuntu-live, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live

Package: grub2-common
Architecture: amd64
Version: 2.04-1ubuntu26.12
Multi-Arch: foreign
Priority: optional
Section: admin
Source: grub2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: GRUB Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1310
Depends: grub-common (= 2.04-1ubuntu26.12), dpkg (>= 1.15.4) | install-info, libc6 (>= 2.28), libdevmapper1.02.1 (>= 2:1.02.36), libefiboot1 (>= 37), libefivar1 (>= 37), liblzma5 (>= 5.1.1alpha+20120614)
Conflicts: grub-legacy
Breaks: grub (<< 0.97-54), grub-cloud-amd64 (<< 0.0.4), grub-coreboot (<< 2.02+dfsg1-7), grub-doc (<< 0.97-29ubuntu60), grub-efi-amd64 (<< 2.04-1ubuntu44.2), grub-efi-arm (<< 2.02+dfsg1-7), grub-efi-arm64 (<< 2.04-1ubuntu44.2), grub-efi-ia32 (<< 2.02+dfsg1-7), grub-efi-ia64 (<< 2.02+dfsg1-7), grub-ieee1275 (<< 2.02+dfsg1-7), grub-legacy-doc (<< 0.97-29ubuntu60), grub-pc (<< 2.02+dfsg1-7), grub-uboot (<< 2.02+dfsg1-7), grub-xen (<< 2.02+dfsg1-7), grub-yeeloong (<< 2.02+dfsg1-7), shim (<< 13)
Replaces: grub, grub-cloud-amd64 (<< 0.0.4), grub-common (<< 1.99-1), grub-coreboot (<< 2.02+dfsg1-7), grub-doc (<< 0.97-29ubuntu60), grub-efi-amd64 (<< 2.04-1ubuntu44.2~), grub-efi-arm (<< 2.02+dfsg1-7), grub-efi-arm64 (<< 2.04-1ubuntu44.2~), grub-efi-ia32 (<< 2.02+dfsg1-7), grub-efi-ia64 (<< 2.02+dfsg1-7), grub-ieee1275 (<< 2.02+dfsg1-7), grub-legacy, grub-legacy-doc (<< 0.97-29ubuntu60), grub-pc (<< 2.02+dfsg1-7), grub-uboot (<< 2.02+dfsg1-7), grub-xen (<< 2.02+dfsg1-7), grub-yeeloong (<< 2.02+dfsg1-7)
Filename: pool/main/g/grub2/grub2-common_2.04-1ubuntu26.12_amd64.deb
Size: 590548
MD5sum: 43cccffedc7f6bf499f46d86c3791194
SHA1: 88778a471395cb9d41109c1594840e3d614435f2
SHA256: 530c53df760d1865691b6ee8128265b4cc37d0b92f30510e774a793e89a2219a
SHA512: dbe24ea2ea84cd27cc7ea11abdcd5b8deddfde85b783e9ae6f930a95523427b074a64681a29fb072653f58ed6b12a2321d7df78ef8c03af39511baf4f8fd65a4
Homepage: https://www.gnu.org/software/grub/
Description: GRand Unified Bootloader (common files for version 2)
Description-md5: a969e6536e745e177a340b30bdb5ba3f
Task: ubuntu-live, kubuntu-live, xubuntu-live, lubuntu-live, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live

Package: grub2-common
Architecture: amd64
Version: 2.04-1ubuntu26
Multi-Arch: foreign
Priority: optional
Section: admin
Source: grub2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: GRUB Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1310
Depends: grub-common (= 2.04-1ubuntu26), dpkg (>= 1.15.4) | install-info, libc6 (>= 2.28), libdevmapper1.02.1 (>= 2:1.02.36), libefiboot1 (>= 37), libefivar1 (>= 37), liblzma5 (>= 5.1.1alpha+20120614)
Conflicts: grub-legacy
Breaks: grub (<< 0.97-54), grub-cloud-amd64 (<< 0.0.4), grub-coreboot (<< 2.02+dfsg1-7), grub-doc (<< 0.97-29ubuntu60), grub-efi-amd64 (<< 2.02+dfsg1-7), grub-efi-arm (<< 2.02+dfsg1-7), grub-efi-arm64 (<< 2.02+dfsg1-7), grub-efi-ia32 (<< 2.02+dfsg1-7), grub-efi-ia64 (<< 2.02+dfsg1-7), grub-ieee1275 (<< 2.02+dfsg1-7), grub-legacy-doc (<< 0.97-29ubuntu60), grub-pc (<< 2.02+dfsg1-7), grub-uboot (<< 2.02+dfsg1-7), grub-xen (<< 2.02+dfsg1-7), grub-yeeloong (<< 2.02+dfsg1-7), shim (<< 13)
Replaces: grub, grub-cloud-amd64 (<< 0.0.4), grub-common (<< 1.99-1), grub-coreboot (<< 2.02+dfsg1-7), grub-doc (<< 0.97-29ubuntu60), grub-efi-amd64 (<< 2.02+dfsg1-7), grub-efi-arm (<< 2.02+dfsg1-7), grub-efi-arm64 (<< 2.02+dfsg1-7), grub-efi-ia32 (<< 2.02+dfsg1-7), grub-efi-ia64 (<< 2.02+dfsg1-7), grub-ieee1275 (<< 2.02+dfsg1-7), grub-legacy, grub-legacy-doc (<< 0.97-29ubuntu60), grub-pc (<< 2.02+dfsg1-7), grub-uboot (<< 2.02+dfsg1-7), grub-xen (<< 2.02+dfsg1-7), grub-yeeloong (<< 2.02+dfsg1-7)
Filename: pool/main/g/grub2/grub2-common_2.04-1ubuntu26_amd64.deb
Size: 589024
MD5sum: 8eb09cf5c41f74ad07071b5932255fd8
SHA1: 4b963b72269a768467794953997224afbc3f823f
SHA256: 02b74290aede12026e94b08fc3fcc3ab896e11a50aa732af5e3a37850f177803
Homepage: https://www.gnu.org/software/grub/
Description: GRand Unified Bootloader (common files for version 2)
Description-md5: a969e6536e745e177a340b30bdb5ba3f
Task: ubuntu-live, kubuntu-live, xubuntu-live, lubuntu-live, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live