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

Bug#631787: marked as done ([apt] Obsolete directories/files in /var/cache/apt)



Your message dated Tue, 28 Jun 2011 15:50:25 +0200
with message-id <BANLkTimwZYG+LwSo1Aw5PZE2A5UWLi9scg@mail.gmail.com>
and subject line Re: Bug#631787: [apt] Obsolete directories/files in /var/cache/apt
has caused the Debian Bug report #631787,
regarding [apt] Obsolete directories/files in /var/cache/apt
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
631787: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631787
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Severity: minor

--- Please enter the report below this line. ---

On my system I found two directories:

/var/cache/i386 and /var/cache/amd64

I think, they are obsolete because they are containing outdatet files

/var/cache/amd64:
drwxr-xr-x 3 root root     4096 Jul  3  2009 archives
-rw-r--r-- 1 root root 13031119 Jul  6  2009 pkgcache.bin
-rw-r--r-- 1 root root 12023473 Jul  6  2009 srcpkgcache.bin

/var/cache/apt/i386:
drwxr-xr-x 3 root root     4096 Jul  3  2009 archives
-rw-r--r-- 1 root root 12822627 Jul  6  2009 pkgcache.bin
-rw-r--r-- 1 root root 12136624 Jul  6  2009 srcpkgcache.bin


Can I savely remove them?

BTW: dpkg -S pkgcache.bin gives no package, which owns this files.

Thanks in advance
Axel


--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.38-2-amd64

Debian Release: wheezy/sid
700 unstable www.debian-multimedia.org
700 unstable ftp.de.debian.org
650 testing ftp.de.debian.org
600 stable www.debian-multimedia.org
600 stable ftp.de.debian.org
600 stable dl.google.com
500 oldstable www.debian-multimedia.org
1 experimental ftp.de.debian.org

--- Package information. ---
Depends (Version) | Installed
=========================================-+-===============
libc6 (>= 2.3.4) | 2.13-7
libgcc1 (>= 1:4.1.1) | 1:4.6.0-14
libstdc++6 (>= 4.5) | 4.6.0-14
zlib1g (>= 1:1.2.2.3) | 1:1.2.3.4.dfsg-3
debian-archive-keyring | 2010.08.28
gnupg | 1.4.11-3


Package's Recommends field is empty.

Suggests (Version) | Installed
=========================-+-===========
aptitude | 0.6.4-1
OR synaptic | 0.75.1
OR wajig |
dpkg-dev | 1.16.0.3
apt-doc |
bzip2 | 1.0.5-6
lzma | 4.43-14
python-apt | 0.8.0



--- Output from package bug script ---

--
Axel Dürrbaum / Universität Kassel / FB 15 - Maschinenbau
FG Mess- und Regelungstechnik (MRT)
Mönchebergstraße 7 / 34109 Kassel / Germany / Technik I/2 / Raum 1804c
phone:+49 561 804 3261  eMail:axel.duerrbaum@mrt.uni-kassel.de

begin:vcard
fn;quoted-printable:Axel D=C3=BCrrbaum
n;quoted-printable:D=C3=BCrrbaum;Axel
org;quoted-printable:Universit=C3=A4t Kassel;FB 15 Mess- und Regelungstechnik
adr;quoted-printable:;;M=C3=B6nchebergstr. 7;Kassel;Hessen;34109;Deutschland
email;internet:axel.duerrbaum@mrt.uni-kassel.de
title:Dipl.-Ing.
tel;work:+49 561 804 3261
tel;home:+49 561 581533
tel;cell:+49 178 8414568
note;quoted-printable:Hiermit widerspreche ich jeglicher Nutzung oder Uebermittlung meiner Date=
	n, die ueber diesen Kontakt hinausgeht, gleichgueltig zu welchen Zweckens=
	ie erfolgt. Insbesondere widerspreche ich der Nutzung oder Uebermittlungm=
	einer Daten fuer Werbezwecke oder fuer die Markt- oder Meinungsforschung=
	 gemaess Paragraph 28 Absatz 3 Bundesdatenschutzgesetz.=0D=0A=
	=0D=0A=
	Achtung: Die eMail-Adresse ist keine Zustelladresse. Aus technischen Grue=
	nden kann ich Ihre eMail nicht sofort nach Eingang darauf =C3=BCberpruefe=
	n, ob sie Fristen oder Termine enthaelt. Daher uebernehme ich keine Gewae=
	hr, da=C3=9F Ihre Nachricht so rechtzeitig gelesen wird, da=C3=9F alle=
	 zur Einhaltung von etwaigen Fristen oder Terminen notwendigen Massnahmen=
	 ergriffen werden koennen. Bitte uebermitteln Sie solche Schriftstuecke=
	 per Fax oder Brief.
x-mozilla-html:FALSE
url:http://www.uni-kassel.de/fb15/mrt
version:2.1
end:vcard


--- End Message ---
--- Begin Message ---
2011/6/27 Axel Dürrbaum <axel.duerrbaum@mrt.uni-kassel.de>:
> BTW: dpkg -S pkgcache.bin gives no package, which owns this files.

These files are created at runtime and not shipped in a package,
so dpkg doesn't know about them. You can remove the pkgcache.bin
and its pre-cache srcpkgcache.bin without any problem - beside that
any tool using APT (tools or library) will be slow at startup and create
these files again to be faster next time.

BUT these files were never in a architecture-bound subdirectory.
These files are architecture-dependent through, so they can't be
shared, but that is out of scope for /var/cache anyway.

It could be that you or a program created them for you as you can
configure APT with Dir::Cache::{src,}pkgcache to place them wherever
you like.


In short: I am closing this bug as there is nothing we could do about it
as these files were never created by "us".
You can properly proceed with deleting them - nothing should depend
on them as they need to be updated regular to be useful anyway…


Best regards

David Kalnischkies


--- End Message ---

Reply to: