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

Re: whereis/whatcontains xserver-xorg-legacy?



On 2019-09-28, Felix Miata <mrmazda@earthlink.net> wrote:
>
>> apt-get doesn't clean by default. apt/aptitude probably do.
>
> Is there a way to choose the behavior other than typing apt-get instead of apt?
>

I think it's something like

 Binary::apt::APT::Keep-Downloaded-Packages "true";  

in a file perhaps called

 /etc/apt/apt.conf.d/01keep-debs

Or on the command line:

 apt -o APT::Keep-Downloaded-Packages="true" install <foo>

Doesn't seem to be a documented option in the man page for apt.conf, but
is found here:

 /usr/share/doc/apt/examples/configure-index.gz




Reply to: