Package: multistrap
Version: 2.1.6
Severity: minor

When repeatedly re-running multistrap, I wanted to avoid the lengthy
download time for the binary packages.  So I did something like this:

    - run multistrap with cleanup=false
    - copy target/var/cache/apt/archives/*.deb to /var/cache/apt/archives/

Then, before each new multistrap run, I would

    mkdir -p target/var/cache/apt/archives
    cp -a /var/cache/apt/archives/*.deb target/var/cache/apt/archives/

I got a lot of confusing errors, until I realized that multistrap
basically iterates over ALL the packages in
target/var/cache/apt/archives/.

multistrap is assuming that the only files in the target's apt archive
are those *it* asked for via apt-get --download-only.  This is not the
case in my pre-seeded cache scenario.

I suggest that you perform an apt-get --print-uris run prior the the
apt-get --download-only run, and use the resulting output to generate
the list of deb files to unpack.

-- 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 debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to