-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: debootstrap
Version: 0.3.3

debootstrap, debootstrap somewhat patched as described for bug # 350583.

If running:

Puter#~/> debootstrap --arch i386 sarge /mnt/debinst \
                http://ftp.se.debian.org/debian

on a Slackware Linux 1.2.3 system,

the debootstrap package,  downloads  packages properly and executes this 
command:

chroot /mnt/debinst dpkg --force-all --install \
        var/cache/apt/archives/<package name>

and fails.

if trying manually, i find that:

chroot /mnt/debinst dpkg --force-all \
        --install /var/cache/apt/archives/<package name>

does work. So a leading slash does help.

Similar: "chroot /mnt/debinst ls bin/ls"
fails. But "chroot /mnt/debinst ls /bin/ls" does work..

Looking into scripts sarge and sarge.build I see these paths are generated by 
the script named "functions", and is emitted at row 369 by a utility function 
"debfor".

change:
script named functions, row 369 was:

        echo $path

changed to

        echo /$path


This seems to help in my particular case. debootstrap moves on unpacking and 
configuring packages.

But in general I suspect it to be a bad solution. Maybe the need of this 
extra / should be user-supplied in some better way or the need of it beeing 
calculated/tested.

Best regards,
Patrik Arvhult
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD3n/+jauAa1f6YKoRAjX9AKC+uaQ2hk9rP/dw7L3n8uk4Kba/FgCgqkkZ
F9nOwNeLT9Ra59dEyQa3HPg=
=BIPM
-----END PGP SIGNATURE-----


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

Reply via email to