Skip to content

Error during upgrade to 0.8.1-1ubuntu14.2 #234

@StephenTurley

Description

@StephenTurley

I was trying to run a package upgrade on my system today and it looks like zfsutils-linux was among the packages listed. My ZFS pool is mounted to /tank and is working both before and after this error. During the upgrade it seems that the system attempts to restart zfs-mount but fails because it is already mounted. Do I need to unmount the pool before doing the upgrade?

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up zfsutils-linux (0.8.1-1ubuntu14.2) ...
zfs-import-scan.service is a disabled or a static unit not running, not starting it.
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 "restart" failed.
● zfs-mount.service - Mount ZFS filesystems
   Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2019-11-22 11:36:51 EST; 4ms ago
     Docs: man:zfs(8)
  Process: 28041 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)
 Main PID: 28041 (code=exited, status=1/FAILURE)

Nov 22 11:36:51 stephen-desktop systemd[1]: Starting Mount ZFS filesystems...
Nov 22 11:36:51 stephen-desktop zfs[28041]: cannot mount '/tank': directory is not empty
Nov 22 11:36:51 stephen-desktop systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
Nov 22 11:36:51 stephen-desktop systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
Nov 22 11:36:51 stephen-desktop 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.1-1ubuntu14.2); however:
  Package zfsutils-linux is not configured yet.

dpkg: error processing package zfs-zed (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 zfsutils-linux
 zfs-zed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions