dajhorn/pkg-zfs — Issue #22: zfs-grub has dependency issue in zfs-native/stable
Author: rcgordon
Created: 2012-01-22 08:58:04+00:00
State: open

When following the instructions at...

https://github.com/dajhorn/pkg-zfs/wiki/HOWTO-install-Ubuntu-to-a-Native-ZFS-Root-Filesystem

...when we get to the point where we run this in the chroot...

apt-get install ubuntu-zfs zfs-initramfs

...it fails with this output...

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
zfs-initramfs : Depends: zfs-grub
E: Unable to correct problems, you have held broken packages.

...if we try to do zfs-grub instead, we get this...

apt-get install zfs-grub

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'grub-common' instead of 'zfs-grub'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grub-common : Depends: libzfs1 (>= 0.6.0.47) but it is not going to be
installed
Recommends: os-prober (>= 1.33) but it is not going to
be installed
E: Unable to correct problems, you have held broken packages.

...please note that this problem does not exist in the /daily packages at the moment, but it's breaking the stable packages, which means you need to use the bleeding edge to get set up in the first place.

--ryan.