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
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-
linux-
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://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
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_
Unpacking dnsutils (1:9.10.
Preparing to unpack .../bind9-
Unpacking bind9-host (1:9.10.
Preparing to unpack .../libisc160_
Unpacking libisc160:amd64 (1:9.10.
Preparing to unpack .../libdns162_
Unpacking libdns162:amd64 (1:9.10.
Preparing to unpack .../libisccc140
Unpacking libisccc140:amd64 (1:9.10.
Preparing to unpack .../libisccfg14
Unpacking libisccfg140:amd64 (1:9.10.
Preparing to unpack .../liblwres141
Unpacking liblwres141:amd64 (1:9.10.
Preparing to unpack .../libbind9-
Unpacking libbind9-140:amd64 (1:9.10.
Preparing to unpack .../libisc-
Unpacking libisc-export160 (1:9.10.
Preparing to unpack .../libdns-
Unpacking libdns-export162 (1:9.10.
Preparing to unpack .../snapd_
Failed to stop snapd.core-
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-
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 5
/usr/bin/
Failed to get unit file state for snapd.core-
snapd.core-
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
/var/cache/
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/
ProcVersionSign
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)
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.24
SourcePackage: snapd
Title: package snapd 2.26.10 [modified: lib/systemd/
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
information type: | Private Security → Public |
tags: | removed: need-duplicate-check |
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.