Can't Upgrade due to openmediavault-zfs dependency

  • I'm on OMV 3.0.88
    I wasn't able to update because of errors with the openmediavault-zfs package. So I removed it and did the upgrade. Now I cannot re-install the plugin because of mismatched dependencies



    Code
    apt install openmediavault-zfs
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    openmediavault-zfs is already the newest version.
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     openmediavault-zfs : Depends: zfs-zed but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).



    so then I try apt-get -f install as suggested


    Now I'm desperate and think to myself, just an update. Remove old packages and let apt install new dependency packages




    I don't feel confident in removing grub to install openmediavault-zfs.


    Now I don't have zfs in my web-admin view of my OMV server and I don't feel confident enough to reboot to find out if my zfs pool is there anymore :-/

    • Offizieller Beitrag

    Uh, the zfs plugin hasn't been ported to 4.x. Nothing you can do to fix that until it is ported. I planned on looking at it this weekend but I can't promise anything.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • What do you mean with 4.x? do you mean the kernel version does not support ZFS, or do you mean, that the OMV plugin using ZFS tools is not yet ported?


    I'm looking forward to a solution, thanks for the hard work :)

    • Offizieller Beitrag

    When I read your first few sentences, I thought you were trying to update to OMV 4.x. What is the output of: dpkg -l | grep -E "zfs|openm"

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!





  • no upgrade to OMV4, just problems with regular OMV3 updates. Specifically with the openmediavault-zfs plugin. This could be because I started with OMV3+ZFS when it was still required to use the OMV-ZFS testing repositories


    maybe my sources.list files can help solve this problem


    Code
    cat /etc/apt/sources.list.d/omv-extras-org.list 
    # This is file is generated.                                                                                        
    # OMV-Extras repos                                                                                                  
    #                                                                                                                   
    # OMV-Extras.org                                                                                                    
    deb https://dl.bintray.com/openmediavault-plugin-developers/erasmus jessie main                                     
    # Sync                                                                                                              
    deb https://dl.bintray.com/openmediavault-plugin-developers/erasmus-sync jessie main                                
    deb http://apt.syncthing.net/ syncthing release
    Code
    cat /etc/apt/sources.list.d/openmediavault-kernel-backports.list 
    deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
    Code
    cat /etc/apt/sources.list.d/openmediavault.list 
    deb http://packages.openmediavault.org/public/ erasmus main
    deb https://openmediavault.github.io/packages/ erasmus main
    # deb http://downloads.sourceforge.net/project/openmediavault/packages/ erasmus main
    Code
    cat /etc/apt/sources.list.d/openmediavault-local.list 
    deb file:/var/cache/openmediavault/archives /
    • Offizieller Beitrag

    Nothing wrong with your repos but you have a mix of zfs packages from two repos. I would run omv-aptclean and then post the output of: apt-cache policy linux-headers-amd64 zfs-dkms zfsutils-linux zfs-zed

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Cleared without errors and here the apt-cache output


    Edit: also the info about the misbehaving plugin for zfs

    • Offizieller Beitrag

    Uh, the zfs plugin hasn't been ported to 4.x. Nothing you can do to fix that until it is ported. I planned on looking at it this weekend but I can't promise anything.

    ZFS hasn't been ported to 4.X ... What...??? 8o


    Just kidding. :D
    (I'm slow to upgrade/adopt in any case. M$ taught me to be that way and old habits die hard.)


    Thanks for the work you're doing. I'm amazed that you can find the time.

  • I think I found my problem and the solution for it


    I somehow earlier got a grub version installed on my system depending on the earlier mentioned zfs packages conflicting with the upstream zfs packages

    Code
    apt-cache policy grub-common
    grub-common:
      Installed: 2.02-beta2.9-ZOL11-7aa9f6
      Candidate: 2.02-beta2.9-ZOL11-7aa9f6
      Version table:
     *** 2.02-beta2.9-ZOL11-7aa9f6 0
            100 /var/lib/dpkg/status
         2.02~beta2-22+deb8u1 0
            500 http://ftp.at.debian.org/debian/ jessie/main amd64 Packages
            500 http://security.debian.org/ jessie/updates/main amd64 Packages


    Downgraded grub to the debian version, removed to funny zfs packages and installed the omv-zfs plugin

    Code
    sudo apt install grub-common=2.02~beta2-22+deb8u1 grub-pc-bin=2.02~beta2-22+deb8u1 grub2-common=2.02~beta2-22+deb8u1 grub-pc=2.02~beta2-22+deb8u1
    sudo apt remove libuutil1 libnvpair1 libzpool2 libzfs2 zfsutils
    sudo apt install openmediavault-zfs

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!