Public bug reported:

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)

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


** Tags: amd64 apport-bug noble

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

Title:
  Removing an APT to snap transitional package does not remove the snap

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


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

Reply via email to