[buildd-tools-devel] Bug#841169: /usr/sbin/sbuild-createchroot: tarball contains /var/cache/apt/archives

Simon McVittie smcv at debian.org
Tue Oct 18 09:03:31 UTC 2016


Package: sbuild
Version: 0.71.0-2
Severity: normal
File: /usr/sbin/sbuild-createchroot
Tags: patch

Steps to reproduce:

sudo sbuild-createchroot --make-sbuild-tarball=sid.tgz sid sid http://192.168.122.1:3142/debian

Expected result:

sid.tgz contains only package contents and apt lists

Actual result:

sid.tgz also contains /var/cache/apt/archives/*.deb, which are unnecessary
and waste space (current sid amd64 is 211M with these archives or 121M
without).

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

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser         3.115
ii  apt-utils       1.3.1
ii  libsbuild-perl  0.71.0-2
pn  perl:any        <none>

Versions of packages sbuild recommends:
ii  debootstrap  1.0.84

Versions of packages sbuild suggests:
ii  autopkgtest  4.1
pn  deborphan    <none>
ii  wget         1.18-4

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sbuild-createchroot-clean-up-downloaded-.deb-archive.patch
Type: text/x-diff
Size: 998 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20161018/63297b47/attachment.patch>


More information about the Buildd-tools-devel mailing list