Re: var is full...
Chris Bannister a écrit :
> On Thu, Nov 19, 2015 at 06:41:50AM +0100, Jochen Spieker wrote:
>> Brian:
>>> To remove every package and the package lists in apt/archives:
>>>
>>> apt-get clean.
>> The package lists are unaffected by the clean operation. You do not need
>> to run an update afterwards.
>
> Then explain the difference between:
>
> 1) apt-get clean
> apt-cache show pa<TAB><TAB>
>
> and
>
> 2) apt-get clean
> apt-get update
> apt-cache show pa<TAB><TAB>
Using strace, the difference seems to be that apt-get clean removes
/var/cache/apt/pkgcache.bin. However you don't need to run apt-get
update : this file seems to be rebuilt by any apt command.
apt-get clean
apt-cache show anypatternyoulike
apt-cache show pa<TAB><TAB>
Reply to: