Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zfs-mountall cannot be installed on Ubuntu Saucy #1905

Closed
tomposmiko opened this issue Nov 26, 2013 · 4 comments
Closed

zfs-mountall cannot be installed on Ubuntu Saucy #1905

tomposmiko opened this issue Nov 26, 2013 · 4 comments

Comments

@tomposmiko
Copy link

apt-get install zfs-mountall

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package zfs-mountall is a virtual package provided by:
mountall:i386 2.36.4-zfs2 [Not candidate version]
mountall 2.36.4-zfs2 [Not candidate version]

E: Package 'zfs-mountall' has no installation candidate
root@v103:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy

As a result pool cannot be imported at boottime with default settings.

@dajhorn
Copy link
Contributor

dajhorn commented Nov 26, 2013

@sopmot, double-check that the ubuntu-minimal and ubuntu-zfs metapackages are installed. APT will not upgrade the mountall package for Precise to the mountall package for Saucy until the pin file for the ZoL PPA is installed.

If this system was not upgraded through a supported method like update-manager, then you may need to lock the mountall package and/or disable the PPA and run apt-get dist-upgrade manually.

Also note that the PPA does not accommodate multiarch installations. The mountall, zfsutils, etc packages should be 64-bit if the kernel is 64-bit.

@tomposmiko
Copy link
Author

Indeed, install ubuntu-zfs helped a lot.
I though, it's only a metapackage and depends on all necessary packages, it's not a requirement.

Anyway, installing ubuntu-zfs helped a lot, but there is still issue:

apt-get install zfs-mountall

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'mountall' instead of 'zfs-mountall'
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:
mountall : Depends: libudev0 (>= 151) but it is not installable
E: Unable to correct problems, you have held broken packages.

Installing ubuntu-minimal doesn't change anything (I strongly hope, it never will be a requirement.

BTW, system is brand new, just get installed:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy

Linux v103 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

@dajhorn
Copy link
Contributor

dajhorn commented Nov 26, 2013

Reading state information... Done
Package zfs-mountall is a virtual package provided by:
mountall:i386 2.36.4-zfs2 [Not candidate version]
mountall 2.36.4-zfs2 [Not candidate version]

This version of mountall is only in the PPA for Ubuntu 12.04 Precise. If the APT source line for Saucy is correct, then you should be seeing version 2.5.1-zfs1 here.

Run grep -ir zfs /etc/apt/sources.list*. This should return only:

deb http://ppa.launchpad.net/zfs-native/stable/ubuntu saucy main 
deb-src http://ppa.launchpad.net/zfs-native/stable/ubuntu saucy main 

All instances of precise, quantal, and raring must be removed on a saucy system.

The following packages have unmet dependencies:
mountall : Depends: libudev0 (>= 151) but it is not installable
E: Unable to correct problems, you have held broken packages.

This also means that the system is using a Precise source line somewhere, or that an upgrade from Precise is incomplete. The libudev0 package is not in distro for Ubuntu 13.10 Saucy.

Try installing the correct package directly from this link:

Installing ubuntu-minimal doesn't change anything (I strongly hope, it never will be a requirement.

Yes, having ubuntu-minimal is required to get support here, and distro relies on it for major upgrades.

@tomposmiko
Copy link
Author

Ouch, you're right, precise is in the sources.list file, installed automatically by puppet.
Sorry for the mess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants