Bug#1143557: Package: apt

Censaty <[email protected]> Tue, 4 Aug 2026 09:47:33 +0300
Newsgroups gmane.linux.debian.apt.devel
Message-ID <CALeoNrYf6z2rBXcTC-Gbbxz=h51g6_NciaUrqnzA_V2j7624LQ__37092.9784070299$1785826169$gmane$org@mail.gmail.com>
--0000000000003abb3c06583308e2
Content-Type: text/plain; charset="UTF-8"

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!

--0000000000003abb3c06583308e2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Package: apt<div dir=3D"auto">Severity: wishlist</div><di=
v dir=3D"auto">Subject: Wishlist: add feature to remove specific packages f=
rom 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 na=
tive command like apt-get clean &lt;package_name&gt; to remove only the spe=
cified downloaded .deb files from the cache.Thank you!</div></div>

--0000000000003abb3c06583308e2--