SELinux cannot be installed on EFI systems
Bug #1047099 reported by
Paul Donohue
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
selinux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
The 'selinux' package pre-depends on grub-pc. It therefore cannot be installed on EFI systems requiring grub-efi instead of grub-pc.
To post a comment you must log in.
Incase anyone else runs into this and needs a work-around, here's how to build a custom package without the dependency: 0.11-1_ all.deb recommends install policy- ubuntu
mkdir tmp ; cd tmp/
apt-get -t precise source selinux
sudo apt-get install debhelper cdbs
cd selinux-0.11/
Edit debian/control : Delete the Pre-Depends line and remove grub-pc from the Depends line
Edit debian/changelog : Add '-1' to the version number in the first line
fakeroot debian/rules binary
cd ..
sudo dpkg --force-depends -i selinux_
sudo apt-get -f --no-install-
sudo apt-get install selinux-