Hi,
I have same error when I tried to run debootstrap --second-stage.
Anyone who have the solution?

Here is my test sequence.

1. Environment
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial
$ $ uname -a
Linux cometzero-ubuntu 4.4.0-104-generic #127-Ubuntu SMP Mon Dec 11 12:16:42 
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

2. debootstrap stage1
$ sudo debootstrap --verbose --foreign --arch armhf bionic ./ubuntu 
http://ports.ubuntu.com

3. debootstrap stage2
$ sudo mount --bind /proc ubuntu/proc
$ sudo mount --bind /dev ubuntu/dev
$ sudo mount --bind /sys ubuntu/sys
$ sudo cp /usr/bin/qemu-arm-static ubuntu/usr/bin
$ sudo chroot ubuntu

(inside chroot)
$ /debootstrap/debootstrap --second-stage
I: Keyring file not available at 
/usr/share/keyrings/ubuntu-archive-keyring.gpg; switching to https mirror 
https://mirrors.kernel.org/debian
I: Installing core packages...
I: Unpacking required packages...

........snip..........

W: Failure while unpacking required packages. This will be attempted up to five 
times.
W: See //debootstrap/debootstrap.log for details (possibly the package 
/var/cache/apt/archives/bash_4.4-5ubuntu1_armhf.deb is at fault)

>From /debootstrap/debootstrap.log)

dpkg: warning: ignoring pre-dependency problem!
Preparing to unpack .../bash_4.4-5ubuntu1_armhf.deb ...
preinst: ../sysdeps/unix/sysv/linux/spawni.c:368: __spawnix: Assertion `ec >= 
0' failed.
qemu: uncaught target signal 6 (Aborted) - core dumped
dpkg: error processing archive 
/var/cache/apt/archives/bash_4.4-5ubuntu1_armhf.deb (--unpack):
 new bash package pre-installation script subprocess was killed by signal 
(Aborted), core dumped

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1732997

Title:
  bionic bash 4.4-5 failed to unpack

Status in bash package in Ubuntu:
  New

Bug description:
  Failure while unpacking required packages  In debootstrap
  bash_4.4-5ubuntu1_armhf.deb is at fault.
   my question is can i get an eta on when the file will be updated/fixed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1732997/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to