Bug#575129: Should remove remove installed packages from /var/cache/pbuilder/aptcache

Nelson A. de Oliveira naoliv at debian.org
Tue Mar 23 17:33:34 UTC 2010


Package: pbuilder
Version: 0.196
Severity: wishlist

Hi!

I always use cowbuilder (but it applies to pbuilder) like this:

cowbuilder --update --autocleanaptcache

So outdated packages are automatically removed from /var/cache/pbuilder/aptcache
But one thing that I see is that the cache also contains the packages that are
installed inside the chroot.
For example, on today's update:

Preparing to replace cpp-4.4 4.4.3-4 (using .../cpp-4.4_4.4.3-5_i386.deb) ...
(...)
I: new cache content cpp-4.4_4.4.3-5_i386.deb added
(...)
Del cpp-4.4 4.4.3-4 [3744kB]

It updated the cpp package, included the new package on the cache dir and also
removed the old cpp package.
But, what is the purpose in keeping this new cpp package inside the cache, since
it's already installed?

Essential packages (all the other ones that are installed on the minimal chroot)
should not be kept inside the cache dir (/var/cache/pbuilder/aptcache), so some
disk space could be saved.

I am asking this because I really don't see any reason to keep these packages
cached.

Thank you!

Best regards,
Nelson

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.33.1.naoliv1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.5.5      Bootstrap a Debian system
ii  coreutils                     8.4-2      GNU core utilities
ii  debconf [debconf-2.0]         1.5.30     Debian configuration management sy
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  debootstrap                   1.0.22     Bootstrap a basic Debian system
ii  wget                          1.12-1.1   retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.10.61    scripts to make the life of a Debi
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  sudo                          1.7.2p5-1  Provide limited super user privile

Versions of packages pbuilder suggests:
ii  cowdancer                     0.61       Copy-on-write directory tree utili
pn  gdebi-core                    <none>     (no description available)
pn  pbuilder-uml                  <none>     (no description available)

-- debconf information excluded





More information about the Pbuilder-maint mailing list