Skip to content

Instantly share code, notes, and snippets.

@firepol
Created May 2, 2018 18:05
Show Gist options
  • Save firepol/adca8ecc331d4c5ff1bd220ff35e5256 to your computer and use it in GitHub Desktop.
Save firepol/adca8ecc331d4c5ff1bd220ff35e5256 to your computer and use it in GitHub Desktop.
/etc/apt/preferences to prevent automatic grub installation in ubuntu
Package: grub-pc
Pin: release *
Pin-Priority: -1
Package: grub-pc:i386
Pin: release *
Pin-Priority: -1
Package: grub-pc-bin
Pin: release *
Pin-Priority: -1
Package: grub-pc-bin:i386
Pin: release *
Pin-Priority: -1
Package: grub-common
Pin: release *
Pin-Priority: -1
Package: grub-common:i386
Pin: release *
Pin-Priority: -1
Package: grub2-common
Pin: release *
Pin-Priority: -1
Package: grub2-common
Pin: release *
Pin-Priority: -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment