gnewsense-users
[Top][All Lists]
Advanced

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

[gNewSense-users] Clearing apt-get's cache


From: Lars Nooden
Subject: [gNewSense-users] Clearing apt-get's cache
Date: Mon, 14 Sep 2009 20:50:25 +0300
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

I though that apt-get clean should empty these two cache files, but they
don't.  What's the right way to use APT to clear the cache?

$ sudo apt-get clean && ls -lh /var/cache/apt/
total 19M
drwxr-xr-x 3 root root  36K 2009-09-14 19:55 archives
-rw-r--r-- 1 root root 9.0M 2009-09-14 19:54 pkgcache.bin
-rw-r--r-- 1 root root 9.0M 2009-09-14 18:53 srcpkgcache.bin

$ apt-cache policy apt
apt:
  Installed: 0.7.20.2+lenny1
  Candidate: 0.7.20.2+lenny1
  Version table:
 *** 0.7.20.2+lenny1 0
        500 http://archive.gnewsense.org metad/main Packages
        500 http://archive.gnewsense.org metad/main Packages
        100 /var/lib/dpkg/status




reply via email to

[Prev in Thread] Current Thread [Next in Thread]