Am Montag, 16. Juni 2014, 05:59:20 schrieb Chris Bannister: > Hi, Hi Chris,
> Does this seem necessary? > > root@tal:~# apt-get clean > root@tal:~# df -h > Filesystem Size Used Avail Use% Mounted on > /dev/sda5 36G 34G 266M 100% / > [...] > root@tal:~# apt-get update > Hit http://ftp.debian.org jessie InRelease > Hit http://security.debian.org jessie/updates InRelease > Hit http://ftp.debian.org jessie/main i386 Packages/DiffIndex > Hit http://security.debian.org jessie/updates/main i386 Packages > Hit http://ftp.debian.org jessie/contrib i386 Packages/DiffIndex > Hit http://security.debian.org jessie/updates/contrib i386 Packages > Hit http://ftp.debian.org jessie/non-free i386 Packages/DiffIndex > Hit http://security.debian.org jessie/updates/non-free i386 Packages > Hit http://ftp.debian.org jessie/contrib Translation-en/DiffIndex > Hit http://security.debian.org jessie/updates/contrib Translation-en > Hit http://ftp.debian.org jessie/main Translation-en/DiffIndex > Hit http://security.debian.org jessie/updates/main Translation-en > Hit http://security.debian.org jessie/updates/non-free Translation-en > Hit http://ftp.debian.org jessie/non-free Translation-en/DiffIndex > Reading package lists... Done > root@tal:~# df -h > Filesystem Size Used Avail Use% Mounted on > /dev/sda5 36G 34G 226M 100% / merkaba:~> ls -lh /var/cache/apt/ insgesamt 77M 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 merkaba:~> apt-get clean merkaba:~> ls -lh /var/cache/apt/ insgesamt 0 drwxr-xr-x 1 root root 2,4K Feb 16 11:33 apt-file drwxr-xr-x 1 root root 22 Jun 15 20:13 archives merkaba:~> And as to what I find on the server, this looks reasonable – Debian has *lots* of packages: lftp ftp.de.debian.org:/debian/dists/sid> ls main […] drwxr-xr-x 2 ftp ftp 4096 Jun 15 15:04 Contents-amd64.diff -rw-r--r-- 1 ftp ftp 28834549 Jun 15 14:52 Contents-amd64.gz […] -rw-r--r-- 1 ftp ftp 42749960 Jun 15 14:49 Contents-source.gz lftp ftp.de.debian.org:/debian/dists/sid/main/binary-amd64> ls -l drwxr-xr-x 2 ftp ftp 4096 Jun 15 15:04 Packages.diff -rw-r--r-- 1 ftp ftp 9059064 Jun 15 14:14 Packages.gz -rw-r--r-- 1 ftp ftp 6784672 Jun 15 14:15 Packages.xz -rw-r--r-- 1 ftp ftp 83 Jun 15 15:11 Release lftp ftp.de.debian.org:/debian/dists/sid/main/binary-amd64> strace -e open on apt-get update open("/var/cache/apt/pkgcache.bin.MkBOW1", O_RDWR|O_CREAT|O_EXCL, 0600) = 5 open("/var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_main_binary-amd64_Packages", O_RDONLY) = 6 open("/var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_non-free_binary-amd64_Packages", O_RDONLY) = 6 open("/var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_contrib_binary-amd64_Packages", O_RDONLY) = 6 open("/var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_main_binary-i386_Packages", O_RDONLY) = 6 open("/var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_non-free_binary-i386_Packages", O_RDONLY) = 6 open("/var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_contrib_binary-i386_Packages", O_RDONLY) = 6 open("/var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_contrib_i18n_Translation-en", O_RDONLY) = 6 open("/var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-de", O_RDONLY) = 6 open("/var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-de%5fDE", O_RDONLY) = 6 merkaba:~> ls -lh /var/lib/apt/lists/ insgesamt 135M […] -rw-r--r-- 1 root root 33M Jun 15 16:15 ftp.de.debian.org_debian_dists_sid_main_binary-amd64_Packages -rw-r--r-- 1 root root 33M Jun 15 16:15 ftp.de.debian.org_debian_dists_sid_main_binary-i386_Packages -rw-r--r-- 1 root root 7,4M Jun 15 04:43 […] 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. Anyway, if you find anything in there that does not make sense, it may make more sense to report this with apt developers. Ciao, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/7448270.EO8TXXgsnY@merkaba