[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: solution to / full



On Wed, Mar 01, 2023 at 07:53:34PM +0000, Joe wrote:
> On Wed, 1 Mar 2023 13:33:32 -0500
> Greg Wooledge <greg@wooledge.org> wrote:
> > By default, "apt" removes the .deb files
> > from /var/cache/apt/archives/ after installing them, but "apt-get"
> > does not.  For other programs, who knows.
> 
> I've just asked about this but forgot to mention that I use apt, I'll
> only use apt-get if a version upgrade recommends it. As I said, I have a
> fairly well-used archives directory. I do recall, when apt became a
> thing, reading what you posted there about apt removing the debs. There
> must be a configuration which prevents that.

Indeed.  That's why I said "by default".

unicorn:~$ apt-config dump | grep Keep
Binary::apt::APT::Keep-Downloaded-Packages "0";

You probably created or modified some file under /etc/apt/apt.conf.d/
which changes the default behavior.


Reply to: