Public bug reported:

 sudo apt upgrade
[sudo] password for home: 
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:
  cgroup-lite linux-generic-lts-xenial linux-headers-4.13.0-36
  linux-headers-4.13.0-36-generic linux-headers-4.4.0-116
  linux-headers-4.4.0-116-generic linux-headers-generic-lts-xenial
  linux-image-4.13.0-36-generic linux-image-4.4.0-116-generic
  linux-image-extra-4.13.0-36-generic linux-image-extra-4.4.0-116-generic
  linux-image-generic-lts-xenial linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  snapd
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
13 not fully installed or removed.
Need to get 0 B/10.4 MB of archives.
After this operation, 25.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 278864 files and directories currently installed.)
Preparing to unpack .../snapd_2.29.4.2+17.10_amd64.deb ...
Failed to stop snapd.autoimport.service: Unit snapd.autoimport.service not 
loaded.
Failed to stop snapd.socket: Unit snapd.socket not loaded.
Failed to stop snapd.service: Unit snapd.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.autoimport.service: Unit snapd.autoimport.service not 
loaded.
Failed to stop snapd.core-fixup.service: Unit snapd.core-fixup.service not 
loaded.
Failed to stop snapd.refresh.service: Unit snapd.refresh.service not loaded.
Failed to stop snapd.refresh.timer: Unit snapd.refresh.timer not loaded.
Failed to stop snapd.service: Unit snapd.service not loaded.
Failed to stop snapd.snap-repair.service: Unit snapd.snap-repair.service not 
loaded.
Failed to stop snapd.snap-repair.timer: Unit snapd.snap-repair.timer not loaded.
Failed to stop snapd.socket: Unit snapd.socket not loaded.
Failed to stop snapd.system-shutdown.service: Unit 
snapd.system-shutdown.service not loaded.
dpkg: error processing archive 
/var/cache/apt/archives/snapd_2.29.4.2+17.10_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 5
Errors were encountered while processing:
 /var/cache/apt/archives/snapd_2.29.4.2+17.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: snapd 2.29.3~14.04
ProcVersionSignature: Ubuntu 4.13.0-37.42-generic 4.13.13
Uname: Linux 4.13.0-37-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
Date: Sat Apr  7 09:45:36 2018
ErrorMessage: subprocess new pre-removal script returned error exit status 5
InstallationDate: Installed on 2017-07-15 (265 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 
3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 
2.7.14-2ubuntu1
RelatedPackageVersions:
 dpkg 1.18.24ubuntu1
 apt  1.5.1
SourcePackage: snapd
Title: package snapd 2.29.3~14.04 failed to install/upgrade: subprocess new 
pre-removal script returned error exit status 5
UpgradeStatus: Upgraded to artful on 2018-03-15 (22 days ago)

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package artful third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1761922

Title:
  package snapd 2.29.3~14.04 failed to install/upgrade: subprocess new
  pre-removal script returned error exit status 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1761922/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to