Package: multistrap Version: 2.0.2 Severity: normal Tags: patch I've enhanced multstrap a bit so that if you don't specify an arch it uses the native one (making it easier to use it like debootstrap).
Also if you didn't put in an apt source section it just ploughed on until it failed to find any packages.Much better to point out that some sources are needed. For the native case parsing the normal apt-sources list and using that might make sense, but my perl isn't up to that (and it does imply using all the emdebian module stuff I suspect?) The man page doesn't mention the aptsources= setting in the text so if you use that as an example it just fails to download any updates (and then packages). That is now cought too. The man page needs an extra fews lines in the text like this: ---- # aptsources is a list of sections to be used for downloading packages # and lists and placed in the /etc/apt/sources.list.d/multistrap.sources.list # of the target. Order is not important aptsources=Grip Updates ---- An example config file in the package, would also be very welcome. Like this (for a plain lenny debootstrap for amd64) ------------ [General] arch=amd64 directory=/tmp/multistrap/ # same as --tidy-up option if set to true cleanup=true # same as --no-auth option if set to true # keyring packages listed in each debootstrap will # still be installed. noauth=false # extract all downloaded archives (default is true) unpack=true # the order of sections is not important. # the debootstrap option determines which repository # is used to calculate the list of Priority: required packages. debootstrap=Debian aptsources=Debian [Debian] packages= source=http://ftp.uk.debian.org/debian keyring=debian-archive-keyring suite=lenny -------------- I realise I should just put this in vn directly, but I'd prefer you to check that my perl isn't full of howlers (took me ages to work out how to check if a hash was empty). -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.28-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages multistrap depends on: ii apt 0.7.22.2 Advanced front-end for dpkg ii libconfig-auto-perl 0.20-2 Magical config file parser ii libparse-debian-packages-perl 0.01-1 parse the data from a debian Packa ii perl 5.10.0-25 Larry Wall's Practical Extraction multistrap recommends no packages. multistrap suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

