#1143557 Package: apt

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Censaty
Date:
2026-08-04 06:49:03 UTC
Severity:
normal
#1143557#5
Date:
2026-08-04 06:47:33 UTC
From:
To:
Package: apt
Severity: wishlist
Subject: Wishlist: add feature to remove specific packages from cache by
nameBody: Hello, Currently, apt-get clean removes everything, and apt-get
autoclean only removes obsolete packages. There is no built-in way to
selectively clear the cache for specific packages by their names (e.g.,
apt-get clean nano). Users currently have to manually search
/var/cache/apt/archives/ using wildcards and rm. It would be very useful to
have a native command like apt-get clean <package_name> to remove only the
specified downloaded .deb files from the cache.Thank you!