Closed rlaager closed 11 years ago
The ubuntu-zfs-7 meta increases the PIN priority to 1001 for Precise and Quantal, which should resolve this bug for most ZoL users. I will revisit this issue for Lucid before it goes into extended server support come April.
I've been meaning to mention this for a while, but hadn't gotten around to it. This just came up in the #zfsonlinux chat room, so I thought I should file it now.
At the time I'm writing this, the zfs-native/grub PPA has grub version 1.99-21ubuntu3+zfs1 for Precise, which is less than the version in the Ubuntu archives (1.99-21ubuntu3.5). Accordingly, on an up-to-date Precise system, this happens:
According to apt_preferences(5), this is because APT will "Never downgrade unless the priority of an available version exceeds 1000."
Thus, changing the priorities (or even just the LP-PPA-zfs-native-grub priority) in the pin-zfs-native preferences file to 1001 fixes this:
Other options to fix this would include A) building new ZFS grub packages every time Ubuntu's grub package is updated, or B) shipping the grub packages under new names (e.g. zfs-grub-pc--which for compatibility with other dependencies, should Provides: grub-pc).