Big problem with zfsutils-linux package

RobertMoon

New Member
Jun 22, 2021
4
2
1
44
Hi,
I tried to update package zfsutils-linux and after that, the package was not fully configured (apt say that). I receive errors:
● zfs-mount.service - Mount ZFS filesystems
Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2021-06-22 17:36:56 CEST; 10ms ago
Docs: man:zfs(8)
Process: 2405 ExecStart=/sbin/zfs mount -a (code=exited, status=127)
Main PID: 2405 (code=exited, status=127)

Jun 22 17:36:56 proxbiblioteka systemd[1]: Starting Mount ZFS filesystems...
Jun 22 17:36:56 proxbiblioteka zfs[2405]: /sbin/zfs: symbol lookup error: /lib/libzfs.so.2: undefined symbol: zpool_get_rewind_policy
Jun 22 17:36:56 proxbiblioteka systemd[1]: zfs-mount.service: Main process exited, code=exited, status=127/n/a
Jun 22 17:36:56 proxbiblioteka systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
Jun 22 17:36:56 proxbiblioteka systemd[1]: Failed to start Mount ZFS filesystems.
dpkg: error processing package zfsutils-linux (--configure):
installed zfsutils-linux package post-installation script subprocess returned error exit status 1

I tried everything, installed package from deb file, move to zfs-fuse (it says that zfs storage is in never version), apt dist-upgrade.
The main problem is that if i restart the serwer, all my vm will die because server now do not have any zfs manager. Please help asap.

Best,
Robert

ps. Proxmox (Debian 10).
 
I think i found the problem. I don't know why but in my system i have 3 packages with wrong version:

libzfslinux-dev : Depends: libnvpair1linux (= 0.7.12-2+deb10u2) but 0.8.1-pve1 is to be installed
Depends: libuutil1linux (= 0.7.12-2+deb10u2) but 0.8.1-pve1 is to be installed
Depends: libzpool2linux (= 0.7.12-2+deb10u2) but 0.8.1-pve1 is to be installed

I found it because i tryide to reinstall library libzfs.so.2. This library was in libzfslinux-dev package.

First i manually delted all files from /lib/ folder which has 'zfs' in name. Next deleted those 3 packages by apt remove, nex i installed libzfslinux-dev and finally i installed zfsutils-linux.

I don't know how it happend that i have those packages in wrong versions. I have never changed any repository, i allways used apt to install apps.

I don't know if system will run after restart but it looks that everything works fine (i see volumes in web panel for example).
 
I don't know how it happend that i have those packages in wrong versions. I have never changed any repository, i allways used apt to install apps

Please post the output of:

> apt update

and:

> pveversion -v
 
root@proxbiblioteka:~# apt update
Hit:1 http://ftp.pl.debian.org/debian buster InRelease
Hit:2 http://ftp.pl.debian.org/debian buster-updates InRelease
Get:3 http://security.debian.org buster/updates InRelease [65.4 kB]
Fetched 65.4 kB in 1s (79.9 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.


root@proxbiblioteka:~# pveversion -v
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_ADDRESS = "pl_PL.UTF-8",
LC_NAME = "pl_PL.UTF-8",
LC_MONETARY = "pl_PL.UTF-8",
LC_PAPER = "pl_PL.UTF-8",
LC_IDENTIFICATION = "pl_PL.UTF-8",
LC_TELEPHONE = "pl_PL.UTF-8",
LC_MEASUREMENT = "pl_PL.UTF-8",
LC_NUMERIC = "pl_PL.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
proxmox-ve: 6.0-2 (running kernel: 5.0.15-1-pve)
pve-manager: 6.0-4 (running version: 6.0-4/2a719255)
pve-kernel-5.0: 6.0-5
pve-kernel-helper: 6.0-5
pve-kernel-5.0.15-1-pve: 5.0.15-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.2-pve2
criu: 3.11-3
glusterfs-client: 5.5-3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.10-pve1
libpve-access-control: 6.0-2
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-2
libpve-guest-common-perl: 3.0-1
libpve-http-server-perl: 3.0-2
libpve-storage-perl: 6.0-5
libqb0: 1.0.5-1
lvm2: 2.03.02-pve3
lxc-pve: 3.1.0-61
lxcfs: 3.0.3-pve60
novnc-pve: 1.0.0-60
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.0-5
pve-cluster: 6.0-4
pve-container: 3.0-3
pve-docs: 6.0-4
pve-edk2-firmware: 2.20190614-1
pve-firewall: 4.0-5
pve-firmware: 3.0-2
pve-ha-manager: 3.0-2
pve-i18n: 2.0-2
pve-qemu-kvm: 4.0.0-3
pve-xtermjs: 3.13.2-1
qemu-server: 6.0-5
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.7.12-2+deb10u2
 
root@proxbiblioteka:~# apt update
Hit:1 http://ftp.pl.debian.org/debian buster InRelease
Hit:2 http://ftp.pl.debian.org/debian buster-updates InRelease
Get:3 http://security.debian.org buster/updates InRelease [65.4 kB]
Fetched 65.4 kB in 1s (79.9 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
There is no PVE repo, just the debian ones. There should be something like this:
Hit:6 http://download.proxmox.com/debian/pve buster InRelease
Look here.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!