Bug#771802: please use symlinks instead of hardlinks for the apt cache

Mattia Rizzolo mattia at mapreri.org
Tue Dec 2 15:09:06 UTC 2014


Package: pbuilder
Version: 0.215+nmu3
Severity: normal

Dear maintainer,

currently pbuilder use hardlinks to use the apt cache inside the pbuilder
chroots.
This is not possibile if you keep /var/cache/pbuilder in a different device than
the one you keep your apt cache (a sane example: you can keep
/var/cache/pbuilder in tmpfs to speed up things). In this case you have to use
APTCACHEHARDLINK=no, and pbuilder fall backs to normal cp. a full copy of the
entire apt cache, which is something slow if you have a big (huge) cache, other
than a waste of space.

I didn't get why you use hard links instead of symlinks, so I'm asking you
either to explain the choice or to move to symlink.

Thanks for pbuilder.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
arm64
armhf
ppc64el
s390x
armel

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  coreutils              8.23-3
ii  debconf [debconf-2.0]  1.5.54
ii  debianutils            4.4+b1
ii  debootstrap            1.0.66
ii  dpkg-dev               1.17.22
ii  wget                   1.16-3

Versions of packages pbuilder recommends:
ii  devscripts  2.14.10
ii  fakeroot    1.20.2-1
ii  iproute2    3.16.0-2
ii  net-tools   1.60-26+b1
ii  sudo        1.8.11p2-1

Versions of packages pbuilder suggests:
ii  cowdancer     0.73
ii  gdebi-core    0.9.5.5+nmu1
pn  pbuilder-uml  <none>

-- debconf information excluded

-- 
regards,
						Mattia Rizzolo

GPG Key: 4096R/B9444540	http://goo.gl/I8TMB
more about me:		http://mapreri.org
Launchpad User:		https://launchpad.net/~mapreri
Ubuntu Wiki page:	https://wiki.ubuntu.com/MattiaRizzolo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20141202/d61b8886/attachment.sig>


More information about the Pbuilder-maint mailing list