ZFS broken after upgrading to 15.10
Upgraded earlier from 15.04 to 15.10, now my ZFS system won't mount. Checking for updates comes up with "Unable to locate package ubuntu-zfs" checking the PPA here it seems that the PPA for 15.10 is missing ubuntu-zfs.
Does anyone have a work around for getting my zpool to work again. I've tried using ZFS-Fuse but it's running an older version than when I was using ubuntu-zfs.
Any help in getting my ZFS system working again would be appreciated.
Solution 1:
For those who encounter the following errors,
The following packages have unmet dependencies:
zfsutils-linux : ***Depends: zfs-doc (= 0.6.4.2-0ubuntu1) but 0.6.5.3-1~wily is to be installed***
Depends: libnvpair1linux but it is not going to be installed
Depends: libuutil1linux but it is not going to be installed
Depends: libzfs2linux but it is not going to be installed
Depends: libzpool2linux but it is not going to be installed
Recommends: zfs-dkms but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
This is most probably due to having ppa:zfs-native/stable
in your apt source repository. Remove the ppa:zfs-native/stable
from your apt repository, and re-run apt-get update
. Then proceed to install via apt-get install zfsutils-linux
That should fix it for you.
Solution 2:
Ubuntu 15.10 has ZFS support out of the box. Try to install zfsutils-linux which builds the native kernel modules for Linux (zfs-dkms).
$ apt-get install zfsutils-linux
Solution 3:
I had this problem as well after an upgrade from Ubuntu 15.04 to 15.10. I also got the unmet dependencies issue that TL-Aiyor and others listed. Removing the PPA did not work for me though. I had to purge all (probably could have just purged zfs-doc but just purged everything) zfs from the system and re-install.
apt-add-repository --remove ppa:zfs-native/stable
zpool export tank
apt-get purge zfs*
apt-get autoremove
apt-get install zfsutils-linux
zpool import tank
Everything after that went just dandy.