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

[debian-devel:16318] Bug#332903: cdebootstrap of woody does not work



Package: cdebootstrap
Version: 0.3.9

Trying to cdebootstrap woody fails at 

P: Extracting textutils
P: Extracting bash
P: Extracting findutils
P: Doing something important
E: Couldn't install root!


With --verbose, it is apparent that dpkg is saying:
O: dpkg: can't mmap package info file `/var/lib/dpkg/status': Invalid argument


Running the following code exhibits that something seems to be wrong.
# strace -f chroot woody.2/ dpkg -l

open("/etc/dpkg/dpkg.cfg", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/var/lib/dpkg/status", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|S_ISGID|0544, st_size=0, ...}) = 0
old_mmap(NULL, 0, PROT_READ, MAP_SHARED, 3, 0) = -1 EINVAL (Invalid argument)
write(2, "dpkg: can\'t mmap package info fi"..., 76dpkg: can't mmap package info file `/var/lib/dpkg/status': Invalid argument
) = 76
close(-16776)                           = -1 EBADF (Bad file descriptor)
_exit(2)                                = ?


I am supposing this is a bug of libc6 in woody not being compatible with
the current kernel.


Linux dancer64 2.6.14-rc3dancer-gedb4a353 #1 Fri Oct 7 10:59:13 JST 2005 x86_64 GNU/Linux


regards,
	junichi