Public bug reported:

Binary package hint: debootstrap

 
Actually seems a problem with chroot, but not sure what the problem is. See 
here:
 
 
Code:
[EMAIL PROTECTED]:/mnt# mke2fs  -j /dev/sdc1
mke2fs 1.39 (29-May-2006)
.....
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 25 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

[EMAIL PROTECTED]:/mnt# mount /dev/sdc1 usb

[EMAIL PROTECTED]:/mnt# debootstrap --arch i386  edgy usb file:/mnt/iso/ubuntu
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on file:/mnt/iso/ubuntu...
I: Retrieving libatm1
I: Validating libatm1
W: Failure trying to run: chroot /mnt/usb mount -t proc proc /proc

[EMAIL PROTECTED]:/mnt# cat usb/debootstrap/debootstrap.log
ar: /mnt/usb/: File format not recognized

zcat: stdin: unexpected end of file
chroot: cannot run command `mount': No such file or directory
[EMAIL PROTECTED]:/mnt# debootstrap --arch i386  edgy usb file:/mnt/iso/ubuntu
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on file:/mnt/iso/ubuntu...
I: Validating libatm1
W: Failure trying to run: chroot /mnt/usb mount -t proc proc /proc

[EMAIL PROTECTED]:/mnt# chroot /mnt/usb mount -t proc proc /proc
chroot: cannot run command `mount': No such file or directory
[EMAIL PROTECTED]:/mnt# echo $?
127
I read somewhere on my searches that exit code 127 for chroot means it could 
not find the command. So I tested out chroot on its own, on a random directory.
 
 
Code:
[EMAIL PROTECTED]:/mnt# chroot /var/chroot/
chroot: cannot run command `/bin/bash': No such file or directory
Its an empty dir.
 
 I tried running debootstrap but using sid and a sid http URL and it started 
worked fine.
 
 This is an Kubuntu Edgy amd64 system.
 
 PS I tried following the many 32bit chroot tutorials out there, similiar 
results.

** Affects: debootstrap (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
debootstrap can't chroot
https://launchpad.net/bugs/77589

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to