versioned dependencies broken?

Axel Thimm <[email protected]> Mon, 4 Apr 2005 14:37:00 +0200
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
Hi,

I'm using versioned dependencies to select an older package that the
newest in the repo, but I'm hitting a bug in apt.

The use case: I have updated python-devel packages (for 2.4) and would
like to have a wrapper package python-vendor-devel that selects the
vendor's python instead (that's for ATrpms' buildsystem).

so there are multiple python-devel packages:

python-devel:
  Installed: (none)
  Candidate: 2.4-0_3.rhfc3.at
  Version Table:
     2.4-0_3.rhfc3.at 0
        500 file: build.apt.fc3-i386/at pkglist
     2.3.4-13.1 0
        500 file: fedora-3-i386/updates pkglist
     2.3.4-11 0
        500 file: fedora-3-i386/os pkglist

I've crafted python-vendor-devel to depend on 2.3.4-13.1:

# rpm -qRp python-vendor-devel*
python-vendor = 2.3.4-13.1
python-devel = 2.3.4-13.1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1

But apt breaks on it:

Reading Package Lists... Done
Building Dependency Tree... Done
Starting
Starting 2
Investigating python-vendor-devel
Package python-vendor-devel has broken dep on python-devel
  Considering python-devel 1 as a solution to python-vendor-devel
  10001
  Re-Instated python24
  Re-Instated python24-devel
  Re-Instated python-devel
Investigating python-devel
Package python-devel has broken dep on python
  Considering python 6 as a solution to python-devel 1
  Holding Back python-devel rather than change python
Investigating python-vendor-devel
Package python-vendor-devel has broken dep on python-devel
  Considering python-devel 1 as a solution to python-vendor-devel
  10001
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely
that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  python-vendor-devel: Depends: python-devel (= 2.3.4-14) but it is
  not going to be installed
E: Broken packages

The package python-devel-2.4 is also a wrapper package pulling in
python24*.

According to the debug log it looks like apt ignores the explictly
versioned dependency. If the dependency is entered on the command line
with install python-devel=2.3.4 it works.

Thanks.
-- 
Axel.Thimm at ATrpms.net

_______________________________________________
apt-rpm mailing list
[email protected]
http://distro2.conectiva.com.br/mailman/listinfo/apt-rpm
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCUTTsQBVS1GOamfERAuY2AJ9mp5op/DnSONh1XoYJ/SLsV9QeuQCeLtBM
R2PjzBlJNMIUIL96AV5UfAg=
=GBDp
-----END PGP SIGNATURE-----