package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Fix Committed
|
Low
|
Alberto Mardegan |
Bug Description
I had purged snapd, replaced firefox with the deb version, but had not yet replaced gnome-software with the deb version. Upon reboot, snapd tried to auto install again (bad Ubuntu, bad), and failed.
Please ensure the OS honours my request that it stays uninstalled, and if my I need to install gnome-software via the deb version, please inform me as such when I purge snapd.
ProblemType: Package
DistroRelease: Ubuntu 21.10
Package: snapd (not installed)
ProcVersionSign
Uname: Linux 5.13.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu71
AptOrdering:
snapd:amd64: Purge
NULL: ConfigurePending
NULL: PurgePending
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Thu Nov 11 20:42:27 2021
ErrorMessage: installed snapd package post-removal script subprocess returned error exit status 1
InstallationDate: Installed on 2021-11-10 (0 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
Python3Details: /usr/bin/python3.9, Python 3.9.7, python3-minimal, 3.9.4-1build1
PythonDetails: N/A
RelatedPackageV
dpkg 1.20.9ubuntu2
apt 2.3.9
SourcePackage: snapd
Title: package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in snapd (Ubuntu): | |
status: | Incomplete → Confirmed |
Hi David! I'm sorry to read that you had this bad experience. What is the current situation?
I see from the logs that the error occurred because the snapd post-removal script found that the /var/snap directory was in use. Can you please check what are its contents now (you could run `tree /var/snap` to find out, or just `find /var/snap`, if "tree" is not installed)?
Also please run these commands for me, and paste the results: system/ snap*
- ls /snap/
- ls /etc/systemd/