Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #160847

Re: var is full...

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: var is full...
Date 2015-11-20 09:50 +0100
Message-ID <qwPyi-4PB-7@gated-at.bofh.it> (permalink)
References <qwbKy-3ZJ-3@gated-at.bofh.it> <qwcwW-4zt-25@gated-at.bofh.it> <qwqgx-5bb-7@gated-at.bofh.it> <qwPeX-4Iu-37@gated-at.bofh.it>
Organization Plouf !

Show all headers | View raw


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>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

var is full... Whit Hansell <skipper44@comcast.net> - 2015-11-18 15:20 +0100
  Re: var is full... Brad Rogers <brad@fineby.me.uk> - 2015-11-18 15:40 +0100
    Re: var is full... Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-20 09:10 +0100
  Re: var is full... Hans <hans.ullrich@loop.de> - 2015-11-18 15:50 +0100
    Re: var is full... Renaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org> - 2015-11-18 16:30 +0100
      Re: var is full... Brian <ad44@cityscape.co.uk> - 2015-11-18 16:40 +0100
        Re: var is full... David Baron <d_baron@012.net.il> - 2015-11-18 17:00 +0100
    Re: var is full... David Wright <deblis@lionunicorn.co.uk> - 2015-11-18 16:50 +0100
      Re: var is full... "Hans-J. Ullrich" <hans.ullrich@loop.de> - 2015-11-18 17:00 +0100
        Re: var is full...(Solved) Whit Hansell <skipper44@comcast.net> - 2015-11-18 23:40 +0100
  Re: var is full... Jörg-Volker Peetz <jvpeetz@web.de> - 2015-11-18 16:10 +0100
  Re: var is full... Brian <ad44@cityscape.co.uk> - 2015-11-18 16:10 +0100
    Re: var is full... Jochen Spieker <ml@well-adjusted.de> - 2015-11-19 06:50 +0100
      Re: apt  WAS:var is full... Whit Hansell <skipper44@comcast.net> - 2015-11-19 13:40 +0100
      Re: var is full... Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-20 09:30 +0100
        Re: var is full... Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-11-20 09:50 +0100
          Re: var is full... Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-20 10:50 +0100

csiph-web