[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#189058: sending this to debootstrap



Anthony Towns wrote:
> On Wed, Apr 16, 2003 at 01:00:46PM -0400, Joe Nahmias wrote:
> > It seems that debootstrap segfaults in the just_get() function 
> 
> Uh, debootstrap's a shell script; if you're getting a segfault, it's a
> problem in busybox, or libc, or something like that. debootstrap seems
> to assume you have a "printf" command; it appears you don't, and that
> will cause random and unreliable behaviour. Replacing those lines with
> something like:
> 
> 	echo "$APTSTATE/lists/"$(echo "${m}_$6" | sed 's/\//_/g')
> 
> should work, fwiw.
Pardon my ignorance, but why would not having printf "cause random and
unreliable behaviour"?  Can something not being printed to stdout cause
a segfault?  perhaps deboostrap might fail (if set -e), but segfault?!

Joe



Reply to: