Package: debootstrap
Version: 0.3.3

I am trying to run a bootstrap from Linux 1.2.3 (maybe it is slackware 96) to 
debian Sarge. (No CDROMS, only floppies/network avail. Using the 
debootstrap_0.3.3.tar.gz bootstrapper I found refered to by the debian 
webbpages. Actually I didnt find any information on what version to use, 
0.3.3 seems to be the newest one.

Found these two bugs:

1)
debootstrap_0.3.3.tar.gz -> file pkgdetails.c

there is a int "any" declared in a new style. Not very portable and not 
feasible if bootstrapping from some old system. Annoying, but good thing 
there were only one of these and not zillions ;)

Change row 43 from "int any=0;"  to just "any=0;"
Insert "int any=0;" betwen row 23 and 24.

((Probably the first initializations isnt really needed, I didnt take the time 
check, just did put in somthing that should work.))

2)

Something similar to a tar -O bug seems to be present in this debootstrap 
package, at a glance it seems to be the same error as mentioned at: 
http://lists.debian.org/debian-boot/2003/05/msg00450.html, bug 193788. That 
is another package, but the error seems very similar:

running "debootstrap --verbose --arch i386 sarge /mnt/debinst \ 
http://ftp.debian.org/debian";

All packages is downloaded, when unpacking starts it stops with this message:

  dpkg: parse error, in file '/var/lib/dpkg/status' near line 2
    package 'dpkg': error in Version string '': version string is empty"

Investigating /mnt/debinst/var/lib/dpkg/status shows that the message is 
right: the version is missing: the label is there but its value-field is 
leaved empty. I can fill this one in manually, but the same will happen for 
all packages, and debootstrap does always start over from the beginning 
erasing my changes.

Checking out tar on my Linux 1.2.3 I find that -O and --stdout functionality 
is present and seems to work. Maybe this is something related to sed? 

Also running "chroot /mnt/debinst tar --help | less" does show support for -O 
and --stdout. And some tests using the chrooted tar with -O does work. So the 
downloaded tar seems to be ok too. Strange.


Best regards,
Patrik Arvhult   -  fighting windmills
Sweden




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

Reply via email to