Bug#630919: live-build: --apt aptitude doesn't work because of --force-yes
Package: live-build
Version: 3.0~a21-1
Severity: important
With a fully updated sid, the following actions:
mkdir debian-live
cd debian-live
lb config --apt aptitude
sudo lb build
ultimately fails with aptitude complaining about --force-yes. Here's
an excerpt:
----------
Ign http://ftp.de.debian.org/debian/ squeeze-updates/main Translation-en
Hit http://ftp.de.debian.org squeeze Release
Get:4 http://security.debian.org squeeze/updates/main amd64 Packages [127 kB]
Get:5 http://ftp.de.debian.org squeeze-updates Release [113 kB]
Hit http://ftp.de.debian.org squeeze/main amd64 Packages
Get:6 http://ftp.de.debian.org squeeze-updates/main amd64 Packages [5193 B]
Fetched 286 kB in 1s (208 kB/s)
Current status: 3 updates [+3].
aptitude: unrecognized option '--force-yes'
aptitude 0.6.3
Usage: aptitude [-S fname] [-u|-i]
aptitude [options] <action> ...
Actions (if none is specified, aptitude will enter interactive mode):
----------
I'm not sure what exactly causes the use of --force-yes, but in this
case, I'm configuring nothing other than telling it to use aptitude.
This is using a squeeze image, which I know the debian live page says
doesn't currently work, but aptitude on sid also doesn't support
--force-yes, and I wanted to reproduce this with the minimal possible
use.
I'm justifying use of "important" because the failure is pretty
fundamental and makes the --apt aptitude flag useless.
-- Package-specific info:
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages live-build depends on:
ii cdebootstrap 0.5.7 Bootstrap a Debian system
ii debootstrap 1.0.32 Bootstrap a basic Debian system
Versions of packages live-build recommends:
ii cpio 2.11-7 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
Versions of packages live-build suggests:
ii dosfstools 3.0.9-1 utilities for making and checking
ii fakeroot 1.16-1 tool for simulating superuser priv
ii genisoimage 9:1.1.11-1 Creates ISO-9660 CD-ROM filesystem
pn memtest86+ | memtest86 <none> (no description available)
ii mtools 4.0.12-1 Tools for manipulating MSDOS files
ii parted 2.3-6 disk partition manipulator
pn squashfs-tools | mtd-tools <none> (no description available)
ii sudo 1.7.4p6-1 Provide limited super user privile
ii syslinux 2:4.04+dfsg-2 collection of boot loaders
pn uuid-runtime <none> (no description available)
pn win32-loader <none> (no description available)
-- no debconf information
Reply to: