Bug#691616: live-build fails when cache "too full"
Package: live-build
Version: 3.0~a45-1
Severity: normal
When the package cache contains too many files, live-build fails:
...
[2012-10-27 17:35:08] lb_chroot_apt install
P: Configuring file /etc/apt/apt.conf
[2012-10-27 17:35:09] lb_chroot_archives chroot install
P: Configuring file /etc/apt/sources.list
/usr/share/live/build/functions/cache.sh: line 23: /bin/cp: Argument list too long
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree... Done
(There were 102859 entries in cache/packages_chroot when this happened.)
-- Package-specific info:
-- System Information:
Debian Release: 6.0.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.4-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages live-build depends on:
ii cdebootstrap 0.5.7 Bootstrap a Debian system
ii debootstrap 1.0.26+squeeze1 Bootstrap a basic Debian system
Versions of packages live-build recommends:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii gettext-base 0.18.1.1-3 GNU Internationalization utilities
ii gnu-fdisk 1.2.4-3+b1 Linux fdisk replacement based on l
pn live-boot-doc <none> (no description available)
pn live-config-doc <none> (no description available)
ii live-manual-html [live-manua 1:3.0~a10-1 Debian Live - Documentation (html)
Versions of packages live-build suggests:
ii dosfstools 3.0.9-1 utilities for making and checking
ii fakeroot 1.14.4-1 Gives a fake root environment
ii genisoimage 9:1.1.11-1 Creates ISO-9660 CD-ROM filesystem
ii grub 0.97-64 GRand Unified Bootloader (dummy pa
ii memtest86+ 4.10-1.1 thorough real-mode memory tester
ii mtools 4.0.12-1 Tools for manipulating MSDOS files
ii parted 2.3-5 The GNU Parted disk partition resi
ii squashfs-tools 1:4.0-8 Tool to create and append to squas
ii sudo 1.7.4p4-2.squeeze.3 Provide limited super user privile
pn uuid-runtime <none> (no description available)
ii win32-loader 0.6.21+squeeze0 Debian-Installer loader for win32
-- no debconf information
Reply to: