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

Bug #1873621 reported by Abhishek Rout
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

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.core-fixup.service: Unit snapd.core-fixup.service not loaded.
Failed to stop snapd.failure.service: Unit snapd.failure.service not loaded.
Failed to stop snapd.seeded.service: Unit snapd.seeded.service 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.system-shutdown.service: Unit snapd.system-shutdown.service not loaded.
dpkg: error processing archive /var/cache/apt/archives/snapd_2.42.1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 5
Errors were encountered while processing:
 /var/cache/apt/archives/snapd_2.42.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: snapd 2.38~14.04
ProcVersionSignature: Ubuntu 4.4.0-178.208-generic 4.4.217
Uname: Linux 4.4.0-178-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.23
AptOrdering:
 snapd: Install
 snapd: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Sun Apr 19 10:58:59 2020
ErrorMessage: subprocess new pre-removal script returned error exit status 5
InstallationDate: Installed on 2016-09-17 (1309 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.6
 apt 1.2.32
SourcePackage: snapd
Title: package snapd 2.38~14.04 failed to install/upgrade: subprocess new pre-removal script returned error exit status 5
UpgradeStatus: Upgraded to xenial on 2020-04-19 (0 days ago)

Revision history for this message
Abhishek Rout (abhishekr9690) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

Is this still an issue? 2.38 and 2.42 are very old releases. I'm going to set this to incomplete. Please leave a comment if you still experience the problem.

Changed in snapd (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for snapd (Ubuntu) because there has been no activity for 60 days.]

Changed in snapd (Ubuntu):
status: Incomplete → Expired
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.