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
Code
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-zed zfsutils-linux
Suggested packages:
zfs-initramfs zfs-dracut
The following NEW packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-zed zfsutils-linux
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,008 kB of archives.
After this operation, 5,270 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 82395 files and directories currently installed.)
Preparing to unpack .../libuutil1linux_0.6.5.9-2~bpo8+1_amd64.deb ...
Unpacking libuutil1linux (0.6.5.9-2~bpo8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libuutil1linux_0.6.5.9-2~bpo8+1_amd64.deb (--unpack):
trying to overwrite '/lib/libuutil.so.1.0.1', which is also in package libuutil1 0.6.5.7-8-jessie
Preparing to unpack .../libnvpair1linux_0.6.5.9-2~bpo8+1_amd64.deb ...
Unpacking libnvpair1linux (0.6.5.9-2~bpo8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libnvpair1linux_0.6.5.9-2~bpo8+1_amd64.deb (--unpack):
trying to overwrite '/lib/libnvpair.so.1.0.1', which is also in package libnvpair1 0.6.5.7-8-jessie
Preparing to unpack .../libzpool2linux_0.6.5.9-2~bpo8+1_amd64.deb ...
Unpacking libzpool2linux (0.6.5.9-2~bpo8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libzpool2linux_0.6.5.9-2~bpo8+1_amd64.deb (--unpack):
trying to overwrite '/lib/libzpool.so.2.0.0', which is also in package libzpool2 0.6.5.7-8-jessie
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../libzfs2linux_0.6.5.9-2~bpo8+1_amd64.deb ...
Unpacking libzfs2linux (0.6.5.9-2~bpo8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libzfs2linux_0.6.5.9-2~bpo8+1_amd64.deb (--unpack):
trying to overwrite '/lib/libzfs.so.2.0.0', which is also in package libzfs2 0.6.5.7-8-jessie
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../zfsutils-linux_0.6.5.9-2~bpo8+1_amd64.deb ...
Unpacking zfsutils-linux (0.6.5.9-2~bpo8+1) ...
dpkg: error processing archive /var/cache/apt/archives/zfsutils-linux_0.6.5.9-2~bpo8+1_amd64.deb (--unpack):
trying to overwrite '/sbin/mount.zfs', which is also in package zfsutils 0.6.5.7-8-jessie
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../zfs-zed_0.6.5.9-2~bpo8+1_amd64.deb ...
Unpacking zfs-zed (0.6.5.9-2~bpo8+1) ...
dpkg: error processing archive /var/cache/apt/archives/zfs-zed_0.6.5.9-2~bpo8+1_amd64.deb (--unpack):
trying to overwrite '/lib/systemd/system/zfs-zed.service', which is also in package zfsutils 0.6.5.7-8-jessie
Errors were encountered while processing:
/var/cache/apt/archives/libuutil1linux_0.6.5.9-2~bpo8+1_amd64.deb
/var/cache/apt/archives/libnvpair1linux_0.6.5.9-2~bpo8+1_amd64.deb
/var/cache/apt/archives/libzpool2linux_0.6.5.9-2~bpo8+1_amd64.deb
/var/cache/apt/archives/libzfs2linux_0.6.5.9-2~bpo8+1_amd64.deb
/var/cache/apt/archives/zfsutils-linux_0.6.5.9-2~bpo8+1_amd64.deb
/var/cache/apt/archives/zfs-zed_0.6.5.9-2~bpo8+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
Now I'm desperate and think to myself, just an update. Remove old packages and let apt install new dependency packages
Code
apt remove libzpool2 libzfs2 zfsutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
debian-zfs : Depends: zfsutils
grub-common : Depends: libzfs2 but it is not going to be installed
grub-pc-bin : Depends: libzfs2 but it is not going to be installed
grub2-common : Depends: libzfs2 but it is not going to be installed
openmediavault-zfs : Depends: zfsutils-linux but it is not going to be installed or
zfsutils
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).
Alles anzeigen
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 :-/