Apt has unmet dependencies for libzpool5linux, zfs-zed, zfsutils-linux

Bug #1936988 reported by Faaez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Hi guys, let me first open with I don't know where to post this. I hope someone here can help.

Secondly, I use this machine as a headless server with a zpool on it for my home file sharing.

I popped on today and saw updates lingering, so I ran my usual command.

    sudo apt update -y && sudo apt upgrade -y ; sudo apt clean && sudo apt autoclean ; sudo apt autoremove -y

It was going fine until it got to the ZoL specific packages;

    The following packages have unmet dependencies:
     libzpool5linux : Depends: libnvpair3linux (>= 0.8.2) but it is not installed
                      Depends: libzfs4linux (>= 2.0) but it is not installed
     zfs-zed : Depends: libnvpair3linux (>= 0.8.2) but it is not installed
               Depends: libuutil3linux (>= 0.8.2) but it is not installed
               Depends: libzfs4linux (>= 2.0) but it is not installed
     zfsutils-linux : Depends: libnvpair3linux (= 2.1.0-0york2~18.04) but it is not installed
                      Depends: libuutil3linux (= 2.1.0-0york2~18.04) but it is not installed
                      Depends: libzfs4linux (= 2.1.0-0york2~18.04) but it is not installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I run apt fix broken install and this is the output;

    Preparing to unpack .../libnvpair3linux_2.1.0-0york2~18.04_amd64.deb ...
    Unpacking libnvpair3linux (2.1.0-0york2~18.04) ...
    dpkg: error processing archive /var/cache/apt/archives/libnvpair3linux_2.1.0-0york2~18.04_amd64.deb (--unpack):
     trying to overwrite '/lib/x86_64-linux-gnu/libnvpair.so.3.0.0', which is also in package libnvpair1linux 2.0.4-0york0~18.04
    Preparing to unpack .../libuutil3linux_2.1.0-0york2~18.04_amd64.deb ...
    Unpacking libuutil3linux (2.1.0-0york2~18.04) ...
    dpkg: error processing archive /var/cache/apt/archives/libuutil3linux_2.1.0-0york2~18.04_amd64.deb (--unpack):
     trying to overwrite '/lib/x86_64-linux-gnu/libuutil.so.3.0.0', which is also in package libuutil1linux 2.0.4-0york0~18.04
    Preparing to unpack .../libzfs4linux_2.1.0-0york2~18.04_amd64.deb ...
    Unpacking libzfs4linux (2.1.0-0york2~18.04) ...
    dpkg: error processing archive /var/cache/apt/archives/libzfs4linux_2.1.0-0york2~18.04_amd64.deb (--unpack):
     trying to overwrite '/lib/x86_64-linux-gnu/libzfs_core.so.3.0.0', which is also in package libzfs2linux 2.0.4-0york0~18.04
    Errors were encountered while processing:
     /var/cache/apt/archives/libnvpair3linux_2.1.0-0york2~18.04_amd64.deb
     /var/cache/apt/archives/libuutil3linux_2.1.0-0york2~18.04_amd64.deb
     /var/cache/apt/archives/libzfs4linux_2.1.0-0york2~18.04_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Here are my OS details;

    Ubuntu 18.04.5 LTS (GNU/Linux 5.4.0-77-generic x86_64)

Trying the install packages one by one results in the above. So... I'm kinda stuck. Doesn't help that I can't access my zpool either.

Thank you for looking.

Revision history for this message
Chris Guiver (guiverc) wrote (last edit ):

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1936988

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Bug reporting is mostly about finding & fixing problems thus preventing future users from hitting the same bug.

I suspect a Support site would be more appropriate, eg. https://answers.launchpad.net/ubuntu. You can also find help with your problem in the support forum of your local Ubuntu community http://loco.ubuntu.com/ or asking at https://askubuntu.com or https://ubuntuforums.org, or for more support options please look at https://discourse.ubuntu.com/t/community-support/709

I've also changed this to 'Incomplete' as a quick `rmadison libzpool5linux` shows the package you do mention appears to not be a Ubuntu package and is likely 3rd party. If you believe I'm in error, please leave a comment as to why and you can change the status back to "New".

Changed in zfs-linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Faaez (afr33sl4ve) wrote :

Thank you for your time.

Looks like this is a known issue and with some additional searching on my part, thanks to your comment about the package being a 3rd party, I found the bug report on the proper GitHub.

https://github.com/openzfs/zfs/issues/12322

Revision history for this message
Colin Ian King (colin-king) wrote :

A 3rd party zfs from 2.1.0-0york2~18.04 was used and is causing this issue. Remove these and re-install the official packages. Marking this as won't fix.

Changed in zfs-linux (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.