package snapd 2.26.10 [modified: lib/systemd/system/snapd.service usr/bin/snap usr/bin/snapctl usr/lib/snapd/info usr/lib/snapd/snap-confine usr/lib/snapd/snap-discard-ns usr/lib/snapd/snap-exec usr/lib/snapd/snap-update-ns usr/lib/snapd/snapd usr/lib/snapd/system-shutdown usr/share/bash-completion/completions/snap usr/share/doc/snapd/changelog.gz usr/share/man/man1/snap.1.gz usr/share/man/man5/snap-confine.5.gz] failed to install/upgrade: subprocess new pre-removal script returned error exit status 5

Bug #1733035 reported by Imad Daou
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Please fix this package.

imad@dubuntu:~$ sudo apt upgrade snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.10.0-32 linux-headers-4.10.0-32-generic linux-image-4.10.0-32-generic
  linux-image-extra-4.10.0-32-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  bind9-host dnsutils libbind9-140 libdns-export162 libdns162 libisc-export160 libisc160
  libisccc140 libisccfg140 liblwres141 snapd
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
86 not fully installed or removed.
Need to get 2,153 kB/14.8 MB of archives.
After this operation, 12.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dnsutils amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [88.9 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 bind9-host amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [38.3 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libisc160 amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [215 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdns162 amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [879 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libisccc140 amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [16.3 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libisccfg140 amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [40.5 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 liblwres141 amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [33.7 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libbind9-140 amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [23.6 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libisc-export160 amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [153 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdns-export162 amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [666 kB]
Fetched 2,153 kB in 7s (295 kB/s)
Sorry, your system lacks support for the snapshot feature
(Reading database ... 292594 files and directories currently installed.)
Preparing to unpack .../dnsutils_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking dnsutils (1:9.10.3.dfsg.P4-8ubuntu1.9) over (1:9.10.3.dfsg.P4-8ubuntu1.8) ...
Preparing to unpack .../bind9-host_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking bind9-host (1:9.10.3.dfsg.P4-8ubuntu1.9) over (1:9.10.3.dfsg.P4-8ubuntu1.8) ...
Preparing to unpack .../libisc160_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking libisc160:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.9) over (1:9.10.3.dfsg.P4-8ubuntu1.8) ...
Preparing to unpack .../libdns162_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking libdns162:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.9) over (1:9.10.3.dfsg.P4-8ubuntu1.8) ...
Preparing to unpack .../libisccc140_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking libisccc140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.9) over (1:9.10.3.dfsg.P4-8ubuntu1.8) ...
Preparing to unpack .../libisccfg140_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking libisccfg140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.9) over (1:9.10.3.dfsg.P4-8ubuntu1.8) ...
Preparing to unpack .../liblwres141_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking liblwres141:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.9) over (1:9.10.3.dfsg.P4-8ubuntu1.8) ...
Preparing to unpack .../libbind9-140_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking libbind9-140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.9) over (1:9.10.3.dfsg.P4-8ubuntu1.8) ...
Preparing to unpack .../libisc-export160_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1.9) over (1:9.10.3.dfsg.P4-8ubuntu1.8) ...
Preparing to unpack .../libdns-export162_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1.9) over (1:9.10.3.dfsg.P4-8ubuntu1.8) ...
Preparing to unpack .../snapd_2.28.5_amd64.deb ...
Failed to stop snapd.core-fixup.service: Unit snapd.core-fixup.service not loaded.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
Failed to stop snapd.core-fixup.service: Unit snapd.core-fixup.service not loaded.
dpkg: error processing archive /var/cache/apt/archives/snapd_2.28.5_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 5
/usr/bin/deb-systemd-helper: error: unable to read snapd.core-fixup.service
Failed to get unit file state for snapd.core-fixup.service: No such file or directory
snapd.core-fixup.service is a disabled or a static unit, not starting it.
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 /var/cache/apt/archives/snapd_2.28.5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
imad@dubuntu:~$

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: snapd 2.26.10 [modified: lib/systemd/system/snapd.service usr/bin/snap usr/bin/snapctl usr/lib/snapd/info usr/lib/snapd/snap-confine usr/lib/snapd/snap-discard-ns usr/lib/snapd/snap-exec usr/lib/snapd/snap-update-ns usr/lib/snapd/snapd usr/lib/snapd/system-shutdown usr/share/bash-completion/completions/snap usr/share/doc/snapd/changelog.gz usr/share/man/man1/snap.1.gz usr/share/man/man5/snap-confine.5.gz]
ProcVersionSignature: Ubuntu 4.10.0-38.42~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.12
Architecture: amd64
Date: Thu Nov 16 09:56:02 2017
ErrorMessage: subprocess new pre-removal script returned error exit status 5
InstallationDate: Installed on 2017-08-02 (108 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SourcePackage: snapd
Title: package snapd 2.26.10 [modified: lib/systemd/system/snapd.service usr/bin/snap usr/bin/snapctl usr/lib/snapd/info usr/lib/snapd/snap-confine usr/lib/snapd/snap-discard-ns usr/lib/snapd/snap-exec usr/lib/snapd/snap-update-ns usr/lib/snapd/snapd usr/lib/snapd/system-shutdown usr/share/bash-completion/completions/snap usr/share/doc/snapd/changelog.gz usr/share/man/man1/snap.1.gz usr/share/man/man5/snap-confine.5.gz] failed to install/upgrade: subprocess new pre-removal script returned error exit status 5
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.apparmor.d.usr.lib.snapd.snap-confine.real: 2017-08-18T17:49:32.234735

Revision history for this message
Imad Daou (emaddaou) wrote :
information type: Private Security → Public
tags: removed: need-duplicate-check
Revision history for this message
Ian Johnson (anonymouse67) wrote :

I suspect you've been able to resolve this, sorry we never got back to you about it.
I'm closing it as "Won't fix", because we didn't do anything about this, but if you're still stuck there's probably a cause for this that isn't necessarily snapd itself and we can probably figure it out.
Again, sorry.

Changed in snapd (Ubuntu):
status: New → Won't Fix
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.