Bug#649190: pbuilder: create fails with a package with two versions in a distribution

Teemu Ikonen tpikonen at gmail.com
Fri Nov 18 17:25:10 UTC 2011


Package: pbuilder
Version: 0.203
Severity: important

Running 'pbuilder --create' fails after debootstrap:

I: Distribution is sid.
I: Building the build environment
I: running debootstrap
/usr/sbin/debootstrap
[...]
I: debootstrap finished
I: copying local configuration
I: Installing apt-lines
I: Refreshing the base.tgz
I: upgrading packages
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /var/cache/pbuilder/ccache
I: installing dummy policy-rc.d
Get:1 http://ftp.de.debian.org sid InRelease [146 kB]
Get:2 http://ftp.de.debian.org sid/main amd64 Packages/DiffIndex [2038 B]
Get:3 http://ftp.de.debian.org sid/main TranslationIndex [2045 B]
Fetched 150 kB in 0s (246 kB/s)
Reading package lists...
dpkg: warning: ignoring request to remove lilo which isn't installed.
I: Obtaining the cached apt archive contents
ln: failed to create hard link
`/home/ikonen/tmp/pbuilder/build//10865/var/cache/apt/archives/libudev0_175-2_amd64.deb':
File exists
ln: failed to create hard link
`/home/ikonen/tmp/pbuilder/build//10865/var/cache/apt/archives/perl-base_5.14.2-5_amd64.deb':
File exists
ln: failed to create hard link
`/home/ikonen/tmp/pbuilder/build//10865/var/cache/apt/archives/udev_175-2_amd64.deb':
File exists
ln: failed to create hard link
`/home/ikonen/tmp/pbuilder/build//10865/var/cache/apt/archives/perl_5.14.2-5_amd64.deb':
File exists
Reading package lists...
Building dependency tree...
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 perl : Depends: perl-modules (>= 5.14.2-5) but 5.12.4-6 is installed
E: Unmet dependencies. Try using -f.
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /home/ikonen/tmp/pbuilder/build//10865 and its
subdirectories

Indeed there seems to be two versions of perl-modules in sid at the moment:

$ apt-cache policy perl-modules
perl-modules:
  Installed: 5.12.4-6
  Candidate: 5.12.4-6
  Version table:
     5.14.2-4 0
        500 http://ftp.ch.debian.org/debian/ unstable/main amd64 Packages
 *** 5.12.4-6 0
        990 http://ftp.ch.debian.org/debian/ testing/main amd64 Packages
        500 http://ftp.ch.debian.org/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status

IMHO one should be able to create pbuilder roots at any time, hence severity
important. Not sure if the bug is in the archive or in pbuilder though.

Best,

Teemu

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  cdebootstrap           0.5.8+b1
ii  coreutils              8.13-3
ii  debconf [debconf-2.0]  1.5.40
ii  debianutils            4.0.4
ii  debootstrap            1.0.37
ii  wget                   1.13.4-1

Versions of packages pbuilder recommends:
ii  devscripts  2.11.1
ii  fakeroot    1.18.1-1
ii  sudo        1.8.3p1-1

Versions of packages pbuilder suggests:
pn  cowdancer     0.65
pn  gdebi-core    <none>
pn  pbuilder-uml  <none>

-- debconf information:
  pbuilder/mirrorsite: http://ftp.ch.debian.org/debian/
  pbuilder/nomirror:
  pbuilder/rewrite: false





More information about the Pbuilder-maint mailing list