zfsutils-linux fails to install in lxc ubuntu 20.04 guest container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I wasn't allowed to enter 'zfsutils-linux' as the package name in this bug report because" '"zfsutils-linux" does not exist in Ubuntu. Please choose a different package. If you're unsure, please select "I don't know"'
yet here it is: https:/
Here is the transcript of the failure:
sudo apt install zfsutils-linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-zed
Suggested packages:
nfs-kernel-server samba-common-bin 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.
Need to get 1,523 kB of archives.
After this operation, 5,407 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Fetched 1,523 kB in 3s (490 kB/s)
Selecting previously unselected package libnvpair1linux.
(Reading database ... 40830 files and directories currently installed.)
Preparing to unpack .../0-libnvpair
Unpacking libnvpair1linux (0.8.3-
Selecting previously unselected package libuutil1linux.
Preparing to unpack .../1-libuutil1
Unpacking libuutil1linux (0.8.3-
Selecting previously unselected package libzfs2linux.
Preparing to unpack .../2-libzfs2li
Unpacking libzfs2linux (0.8.3-
Selecting previously unselected package libzpool2linux.
Preparing to unpack .../3-libzpool2
Unpacking libzpool2linux (0.8.3-
Selecting previously unselected package zfsutils-linux.
Preparing to unpack .../4-zfsutils-
Unpacking zfsutils-linux (0.8.3-
Selecting previously unselected package zfs-zed.
Preparing to unpack .../5-zfs-
Unpacking zfs-zed (0.8.3-
Setting up libuutil1linux (0.8.3-
Setting up libnvpair1linux (0.8.3-
Setting up libzfs2linux (0.8.3-
Setting up libzpool2linux (0.8.3-
Setting up zfsutils-linux (0.8.3-
modprobe: FATAL: Module zfs not found in directory /lib/modules/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
zfs-import-
zfs-import-
Job for zfs-mount.service failed because the control process exited with error code.
See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
invoke-rc.d: initscript zfs-mount, action "start" failed.
● zfs-mount.service - Mount ZFS filesystems
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Thu 2022-07-28 13:26:08 AEST; 7ms ago
Docs: man:zfs(8)
Process: 1116 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)
Main PID: 1116 (code=exited, status=1/FAILURE)
Jul 28 13:26:08 zfs-replicate-t1 systemd[1]: Starting Mount ZFS filesystems...
Jul 28 13:26:08 zfs-replicate-t1 zfs[1116]: /dev/zfs and /proc/self/mounts are required.
Jul 28 13:26:08 zfs-replicate-t1 zfs[1116]: Try running 'udevadm trigger' and 'mount -t proc proc /proc' as root.
Jul 28 13:26:08 zfs-replicate-t1 systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
Jul 28 13:26:08 zfs-replicate-t1 systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
Jul 28 13:26:08 zfs-replicate-t1 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
dpkg: dependency problems prevent configuration of zfs-zed:
zfs-zed depends on zfsutils-linux (>= 0.8.3-1ubuntu12
Package zfsutils-linux is not configured yet.
dpkg: error processing package zfs-zed (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (245.4-4ubuntu3.17) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Errors were encountered while processing:
zfsutils-linux
zfs-zed
E: Sub-process /usr/bin/dpkg returned an error code (1)
affects: | ubuntu → zfs-linux (Ubuntu) |
Host system:
> lxc --version
5.4
❯ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
Guest system:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal