[Bug 2087320] Re: Removing an APT to snap transitional package does not remove the snap
Julian Andres Klode
2087320 at bugs.launchpad.net
Thu Nov 7 23:18:29 UTC 2024
This is a bit of a wrong recipient for your complaint - apt does not
manage snap packages, the deb2snap packages implement that in their
maintainer scripts - but let me say that this behaviour is in line with
the behaviour expected for transitional packages.
For deb2deb transitional packages, apt even implements special logic for
that behaviour: If a package is manually installed but becomes a
transitional package, the manual bit moves to the new package replacing
it and the transitional package becomes autoremovable.
The behaviour for deb2snap packages is in line with that, with the
exception that these do not become automatically removable.
** Changed in: apt (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2087320
Title:
Removing an APT to snap transitional package does not remove the snap
Status in apt package in Ubuntu:
Invalid
Bug description:
Environment:
Xubuntu 24.04.1 LTS x86-64
apt 2.7.14build2
snap 2.65.3+24.04
Steps to reproduce:
Open a terminal and enter these commands
df
sudo apt install chromium-browser
sudo apt purge chromium-browser
df
Actual results:
APT does not offer to remove the snap after removing the transitional package.
Expected results:
APT removes the snap and archived older versions, either on its own (because nothing depends on it) or by displaying the appropriate snap command to run afterward.
Additional notes:
During these steps, I observe bug #1958811, in which apt install displays the size of only the transitional package proper, not the snap it installs.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: apt 2.7.14build2
ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
Uname: Linux 6.8.0-48-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Thu Nov 7 17:44:07 2024
InstallationDate: Installed on 2021-05-16 (1271 days ago)
InstallationMedia: Xubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
SourcePackage: apt
UpgradeStatus: Upgraded to noble on 2024-06-07 (154 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2087320/+subscriptions
More information about the foundations-bugs
mailing list