Package: multistrap
Version: 2.1.6
Severity: minor

Consider the case where multistrap.conf contains:

    [General]
    debootstrap=Y
    aptsources=X
    [...]

The user

    1. runs multistrap to succesful completion
    2. realizes that she forgot to include "mg"
    3. adds "mg" to packages= line in multistrap.conf
    4. re-runs multistrap

At this point, multistrap will be attempting to bootstrap while
sources.d contains BOTH multistrap-X.conf (from the first run) and
multistrap-Y.conf (from the second run).

If Y is a file: repo and X is an http repo, this can make the second
run take longer / download more than it needs to.

To work around this, I run the following prior to each multistrap run.
If this doesn't conflict with the "stateless" approach, it could be
done in multistrap.

    rm -f $dir/etc/apt/sources.d/multistrap-*.conf

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

Kernel: Linux 2.6.35 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages multistrap depends on:
ii  apt                           0.7.25.3   Advanced front-end for dpkg
ii  libconfig-auto-perl           0.20-2     Magical config file parser
ii  libparse-debian-packages-perl 0.01-2     parse the data from a Debian Packa
ii  perl                          5.10.1-14  Larry Wall's Practical Extraction 
ii  realpath                      1.15       Return the canonicalized absolute 

Versions of packages multistrap recommends:
ii  emdebian-archive-keyring      2.0.1      GnuPG archive keys for the emdebia

Versions of packages multistrap suggests:
ii  fakeroot                      1.14.4-1   Gives a fake root environment

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to