pbuilder always passes Ubuntu keyring, even when creating e.g. Debian environments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Mint |
New
|
Undecided
|
Unassigned | ||
pbuilder (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: pbuilder
Firstly this is not a duplicate of Bug #599394 but is very similar in that now the chroot fails to create for Debian
Ubuntu chroots create fine, and that was fixed in Bug #599394
$ sudo DIST=sid pbuilder create --debug
[sudo] password for scott:
++ shift
++ '[' -n '' ']'
++ BUILDPLACE=
++ BASEBUILDPLACE=
++ '[' '' '!=' yes -a no '!=' yes ']'
++ BUILDPLACE=
++ '[' -z '' ']'
++ CHROOTEXEC='chroot /var/cache/
++ '[' sid = experimental ']'
++ EXPERIMENTAL=
++ case "$PBCURRENTCOMM
++ '[' noninteractive = noninteractive -o noninteractive = Noninteractive ']'
++ exec
++ FORCE_CONFNEW[0]=-o
++ FORCE_CONFNEW[
++ '[' -n /var/cache/
++ '[' -d /var/cache/
++ BINDMOUNTS=
++ export PATH=/usr/
++ PATH=/usr/
+++ for i in '$BINDMOUNTS'
+++ echo /var/cache/
+++ for i in '$BINDMOUNTS'
+++ sort -u
+++ echo /var/cache/
++ BINDMOUNTS=
+ . /usr/lib/
++ hooks=tmp/hooks
+ '[' -z sid ']'
+ log 'I: Distribution is sid.'
+ case "$*" in
+ echo 'I: Distribution is sid.'
I: Distribution is sid.
+ '[' yes = yes ']'
+ TRAP='echo ignoring trap '
+ cleanbuildplace
+ '[' 0 -ne 0 ']'
+ '[' '' '!=' yes ']'
+ '[' -d /var/cache/
+ log 'I: Building the build environment'
+ case "$*" in
+ echo 'I: Building the build environment'
I: Building the build environment
+ mkdir -p /var/cache/
+ '[' '!' -d /var/cache/
+ echo ignoring trap cleanbuildplace exit
ignoring trap cleanbuildplace exit
+ log 'I: running debootstrap'
+ case "$*" in
+ echo 'I: running debootstrap'
I: running debootstrap
+ unset DEBOOTSTRAPSCRIPT
+ '[' -n '' ']'
+ which debootstrap
/usr/sbin/
+ :
+ cd /var/cache/
+ debootstrap --include=apt --arch amd64 --arch amd64 --variant=buildd --keyring /usr/share/
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
E: Release signed by unknown key (key id 9AA38DCD55BE302B)
+ log 'E: debootstrap failed'
+ case "$*" in
+ echo 'E: debootstrap failed'
E: debootstrap failed
+ exit 1
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: pbuilder 0.198ubuntu2
ProcVersionSign
Uname: Linux 2.6.35-6-generic x86_64
Architecture: amd64
Date: Tue Jun 29 19:09:02 2010
InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
PackageArchitec
ProcEnviron:
LANG=en_AU.utf8
SHELL=/bin/bash
SourcePackage: pbuilder
Related branches
- Iain Lane (community): Approve
-
Diff: 25 lines (+6/-1)2 files modifieddebian/changelog (+6/-0)
pbuilderrc (+0/-1)
Changed in pbuilder (Ubuntu): | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Confirmed |
Right, I raised this in a followup to Debian #579028. http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 579028# 59
Basically, to switch between Debian and Ubuntu, one usually had to set: debian. org/debian, archive. ubuntu. com/ubuntu)
- distribution (sid, maverick)
- mirror (ftp.xx.
- optionally components (main contrib non-free, main universe restricted multiverse)
Now one also needs to set the keyring pieces which are hidden in DEBOOTSTRAPOPTS.
It would be nicer to have a separate variable for the debootstrap keyring, and it would be nicer if pbuilder could figure out which keyring to use for which dists. I think this latter part needs deeper fixes in pbuilder than I can commit to right now, personally.