Re: apt-get update: unnecessary use of disk space
On Sun, Jun 15, 2014 at 08:22:55PM +0200, Martin Steigerwald wrote:
> drwxr-xr-x 1 root root 2,4K Feb 16 11:33 apt-file
> drwxr-xr-x 1 root root 14K Jun 15 19:21 archives
> -rw-r--r-- 1 root root 39M Jun 15 19:25 pkgcache.bin
> -rw-r--r-- 1 root root 39M Jun 15 19:25 srcpkgcache.bin
Ahh!, that seems about right, I've noticed a 40M difference, so I guess
you have deb-src entries in your sources.list, whereas I don't have any.
> strace -e open on apt-get update
>
> open("/var/cache/apt/pkgcache.bin.MkBOW1", O_RDWR|O_CREAT|O_EXCL, 0600) = 5
[...]
> As to how much it makes sense to have a cache of the lists in an extra file: I
> bet it makes sense for performance reasons.
Could be. Thanks for your insight.
--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X
Reply to: