[Bug 1575643] [NEW] pbuilder create fails for armhf on xenial

Mattia Rizzolo mattia at mapreri.org
Wed Apr 27 16:22:11 UTC 2016


status invalid
 done

On Wed, Apr 27, 2016 at 12:40:13PM -0000, Aniruddha Banerjee wrote:
> aniruddhab at aniruddhab:~/src$ sudo pbuilder create --debootstrapopts --arch --debootstrapopts armhf --distribution trusty

1) just use '--architecture armhf' instead of using 2 --deboostrapopts
2) armhf is not in the main mirror archive.ubuntu.com, but it's in
   ports.ubuntu.com.  This is nothing where pbuilder can help, it just
   uses the default MIRRORSITE configuration item which is either
   archive.u.c or whatever you have on /etc/pbuilder/pbuilderrc.  So
   just specify '--mirror http://ports.ubuntu.com' on the pbuilder
   command line and it'll work.

>   E: Couldn't download dists/trusty/main/binary-armhf/Packages
>   E: debootstrap failed
>   W: Aborting with an error

This should be more than enough to bring you in the right track that
what's wrong is just a configuration/calling problem.


That said, I did not try to set up such chroot myself, but I'm confident
it'll work.  if there are still troubles because you're using some
foreign architecture you'll need to use stuff like qemu-debootstrap(1).

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


** Changed in: pbuilder (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pbuilder in Ubuntu.
https://bugs.launchpad.net/bugs/1575643

Title:
  pbuilder create fails for armhf on xenial

Status in pbuilder package in Ubuntu:
  Invalid

Bug description:
  When I try to run pbuilder for building armhf packages for Trusty, it
  errors out:

  aniruddhab at aniruddhab:~/src$ sudo pbuilder create --debootstrapopts --arch --debootstrapopts armhf --distribution trusty
  W: /home/aniruddhab/.pbuilderrc does not exist
  I: Distribution is trusty.
  I: Current time: Wed Apr 27 18:09:08 IST 2016
  I: pbuilder-time-stamp: 1461760748
  I: Building the build environment
  I: running debootstrap
  /usr/sbin/debootstrap
  I: Retrieving InRelease 
  I: Failed to retrieve InRelease
  I: Retrieving Release 
  I: Retrieving Release.gpg 
  I: Checking Release signature
  I: Valid Release signature (key id 790BC7277767219C42C86F933B4FE6ACC0B21F32)
  I: Retrieving Packages 
  I: Retrieving Packages 
  I: Retrieving Packages 
  E: Couldn't download dists/trusty/main/binary-armhf/Packages
  E: debootstrap failed
  W: Aborting with an error
  I: cleaning the build env 
  I: removing directory /var/cache/pbuilder/build/2593 and its subdirectories

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



More information about the foundations-bugs mailing list