[Piuparts-devel] Bug#710860: Please use "apt-get autoclean" instead of "apt-get clean"

Ryan Kavanagh rak at debian.org
Mon Jun 3 01:40:49 UTC 2013


Package: piuparts
Version: 0.52
Severity: grave
Justification: call to apt-get clean can cause data loss

piuparts caused me to loose several GB of downloaded packages by running
"apt-get clean". This is because I bind-mount my system's
/var/cache/apt/archives to my schroot via /etc/schroot/default/fstab to
save sbuild from having to download a package's every build-dependency
every time it builds, which can be expensive if your package
build-depends on ~150MB of packages.

If you really need to clean up downloaded archives after a piuparts run
that badly, please give users a means to disable it, or use "apt-get
autoclean" instead.

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

Kernel: Linux 3.8-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages piuparts depends on:
ii  debootstrap      1.0.52
ii  debsums          2.0.52
ii  dpkg             1.16.10
ii  lsb-release      4.1+Debian11
ii  lsof             4.86+dfsg-1
ii  piuparts-common  0.52
ii  python           2.7.3-5
ii  python-debian    0.1.21+nmu2

Versions of packages piuparts recommends:
ii  adequate  0.6

Versions of packages piuparts suggests:
ii  schroot  1.6.5-1

-- no debconf information

-- 
|_)|_/	Ryan Kavanagh		| Debian Developer
| \| \	http://ryanak.ca/	| GPG Key 4A11C97A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1876 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20130602/6fb6b41a/attachment.pgp>


More information about the Piuparts-devel mailing list