[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#649319: debootstrap: cannot handle perl-modules 5.12.4-6 and 5.14.2-5 both being in sid



Package: debootstrap
Version: 1.0.37
Severity: normal

Hello,

currently there are two versions of perl-modules in sid:

	$ apt-cache policy perl-modules
	perl-modules:
	  Installed: 5.12.4-6
	  Candidate: 5.12.4-6
	  Version table:
	     5.14.2-5 0
		700 http://ftp.de.debian.org/debian/ sid/main amd64 Packages
	 *** 5.12.4-6 0
		800 http://ftp.de.debian.org/debian/ wheezy/main amd64 Packages
		700 http://ftp.de.debian.org/debian/ sid/main amd64 Packages
		100 /var/lib/dpkg/status
	     5.10.1-17squeeze2 0
		900 http://ftp.de.debian.org/debian/ squeeze/main amd64 Packages
		900 http://security.debian.org/ squeeze/updates/main amd64 Packages

$(debootstrap sid /some/dir) picks the lower version which makes apt unhappy:

	(in the new chroot)# apt-get install
	Reading package lists... Done
	Building dependency tree... Done
	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.

This makes pbuilder --create barf and (according to kees in
#debian-devel, cc:d) also mk-sbuild.

I think it would be sensible to always pick up the highest version
available if there is more than one. I'm not sure if this might result
in similar situations that wouldn't occur when picking the smaller
version, but at least it would be consistent with apt.

Best regards
Uwe

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

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

Versions of packages debootstrap depends on:
ii  wget  1.13.4-1

Versions of packages debootstrap recommends:
ii  debian-archive-keyring  2010.08.28
ii  gnupg                   1.4.11-3  

debootstrap suggests no packages.

-- no debconf information



Reply to: