Bug#506257: pbuilder: when creating build env, OTHERMIRROR is written first, and cause an error

Michel Briand michelbriand at free.fr
Wed Nov 19 22:11:01 UTC 2008


Package: pbuilder
Version: 0.181
Severity: normal

Hi,

I traced / looked into the code, to watch how pbuilder would add my OTHERMIRROR to the build environment.

It seems that OTHERMIRROR is written first in the sources.list. That's strange...

Anyway, it should work like that, but I get an error message:

....
P: Writing resolv.conf
 -> debootstrap finished
 -> copying local configuration
  -> Installing apt-lines
Refreshing the base.tgz 
 -> upgrading packages
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
E: Malformed line 1 in source list /etc/apt/sources.list (URI)
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env 
....

Any idea ?

Michel

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.5.3      Bootstrap a Debian system
ii  coreutils                     6.10-6     The GNU core utilities
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  debianutils                   2.30       Miscellaneous utilities specific t
ii  debootstrap                   1.0.10     Bootstrap a basic Debian system
ii  gcc                           4:4.3.2-2  The GNU C compiler
ii  wget                          1.11.4-2   retrieves files from the web

Versions of packages pbuilder recommends:
ii  cowdancer                     0.47       Copy-on-write directory tree utili
ii  devscripts                    2.10.35    scripts to make the life of a Debi
ii  fakeroot                      1.10.1     Gives a fake root environment
ii  sudo                          1.6.9p17-1 Provide limited super user privile

Versions of packages pbuilder suggests:
pn  pbuilder-uml                  <none>     (no description available)

-- debconf information:
  pbuilder/nomirror:
  pbuilder/mirrorsite: http://cdn.debian.net/debian
  pbuilder/rewrite: false





More information about the Pbuilder-maint mailing list