On Wed, 9 May 2007 01:22:23 -0700, Steve Langasek <[EMAIL PROTECTED]> said:
> On Wed, May 09, 2007 at 02:49:53AM -0500, Manoj Srivastava wrote: >> Hi, On Wed, 9 May 2007 09:24:16 +0900, Charles Plessy >> <[EMAIL PROTECTED]> said: >> > Dear all, I do not know what I am doing wrong, but I can not >> > prepare a chroot using debootstrap or cdebootstrap: >> > sorbet【chroots】$ sudo debootstrap --verbose sid sid >> > http://ftp2.jp.debian.org/debian/I: Retrieving Packages I: >> > Retrieving Packages I: Resolving dependencies of required >> > packages... I: Resolving dependencies of base packages... W: >> > Failure trying to run: chroot /usr/local/chroots/sid mount -t proc >> > proc /proc >> See Bug#421957. > 421957 is not actually a bug in mount. It's libblkid1 that depends on > libdevmapper; and indeed the package did have a dependency on > libdevmapper1.02, the problem was that libdevmapper1.02 had already > been superseded in unstable by libdevmapper1.02.1, which is what > debootstrap was installing. > This has been fixed in unstable now anyway with both a binNMU of > e2fsprogs and a subsequent maintainer upload, so I think this bug can > be closed rather than reassigned. Ok. debootstrap does get beyond that point. Now it fails at: ,---- | I: Configuring base-files... | I: Configuring libblkid1... | I: Configuring e2fsprogs... | I: Configuring gzip... | I: Configuring dpkg... | I: Configuring dselect... | I: Configuring sysvinit-utils... | I: Configuring login... | I: Configuring lsb-base... | I: Configuring procps... | I: Configuring mount... | I: Configuring passwd... | I: Configuring initscripts... | I: Configuring base-files... | I: Configuring base-files... | W: Failure while configuring required packages. `---- chrooting into the dir, the error is that base-files postinst cannot find awk. mawk had indeed been configured earlier. So, while /etc/alternatives/awk exists, and points to mawk, there is no symlink /usr/bin/awk created. Is the latest dpkg buggy? manoj -- Most seminars have a happy ending. Everyone's glad when they're over. Manoj Srivastava <[EMAIL PROTECTED]> <http://www.debian.org/~srivasta/> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C