package zfsutils-linux 0.6.5.6-0ubuntu16 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1680699 reported by Lorenzo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Won't Fix
Medium
Colin Ian King

Bug Description

Bug happen when trying to update the system.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: zfsutils-linux 0.6.5.6-0ubuntu16
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Uname: Linux 4.4.0-72-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Fri Apr 7 07:08:52 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.19
SourcePackage: zfs-linux
Title: package zfsutils-linux 0.6.5.6-0ubuntu16 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lorenzo (hannibal80) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Colin Ian King (colin-king) wrote :

The pertinent part of the log shows that the mount failed because /tank directory was not empty which is expected behaviour.

invoke-rc.d: initscript zfs-mount, action "start" failed.
● zfs-mount.service - Mount ZFS filesystems
   Loaded: loaded (/lib/systemd/system/zfs-mount.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since ven 2017-04-07 07:08:52 CEST; 11ms ago
  Process: 29776 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)
 Main PID: 29776 (code=exited, status=1/FAILURE)

apr 07 07:08:51 mediaserver systemd[1]: Starting Mount ZFS filesystems...
apr 07 07:08:52 mediaserver zfs[29776]: cannot mount '/tank': directory is n...y
apr 07 07:08:52 mediaserver systemd[1]: zfs-mount.service: Main process exit...E
apr 07 07:08:52 mediaserver systemd[1]: Failed to start Mount ZFS filesystems.
apr 07 07:08:52 mediaserver systemd[1]: zfs-mount.service: Unit entered fail....
apr 07 07:08:52 mediaserver systemd[1]: zfs-mount.service: Failed with resul....
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package zfsutils-linux (--configure):
 subprocess installed post-installation script returned error exit status 1

Changed in zfs-linux (Ubuntu):
status: New → Won't Fix
importance: Undecided → Medium
assignee: nobody → Colin Ian King (colin-king)
Revision history for this message
Lorenzo (hannibal80) wrote :

So, how to upgrade?

Revision history for this message
Colin Ian King (colin-king) wrote :

From the error that I see, /tank is not empty. What is in that directory?

Revision history for this message
Lorenzo (hannibal80) wrote :

Everything stored by zfs. It's the mount point. So, I can't free it up, I can unmount but is this the correct procedure to upgrade? I definitely don't want to lose my data.

Revision history for this message
Lorenzo (hannibal80) wrote : Re: [Bug 1680699] Re: package zfsutils-linux 0.6.5.6-0ubuntu16 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Hello Sir,
I understand it can be quite weird to bring this up after some 6 years...
So I would totally understand if you could not resume this conversation.

My server, which is a home server, is still in the same situation it was at
the time. Upgrades limited to 16.04 are installed except for zfs because of
the problem I mentioned in this case.

The /tank directory is where my zpool is mounted. Should I unmount it
before proceeding with updates?

Thanks again and beg your pardon for the disturb.

Regards,
Lorenzo

On Thu, 20 Apr 2017, 13:02 Colin Ian King, <email address hidden>
wrote:

> >From the error that I see, /tank is not empty. What is in that
> directory?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1680699
>
> Title:
> package zfsutils-linux 0.6.5.6-0ubuntu16 failed to install/upgrade:
> subprocess installed post-installation script returned error exit
> status 1
>
> Status in zfs-linux package in Ubuntu:
> Won't Fix
>
> Bug description:
> Bug happen when trying to update the system.
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: zfsutils-linux 0.6.5.6-0ubuntu16
> ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
> Uname: Linux 4.4.0-72-generic x86_64
> NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
> ApportVersion: 2.20.1-0ubuntu2.5
> Architecture: amd64
> Date: Fri Apr 7 07:08:52 2017
> ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
> RelatedPackageVersions:
> dpkg 1.18.4ubuntu1.1
> apt 1.2.19
> SourcePackage: zfs-linux
> Title: package zfsutils-linux 0.6.5.6-0ubuntu16 failed to
> install/upgrade: subprocess installed post-installation script returned
> error exit status 1
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1680699/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.