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

Bug#864906: marked as done (apt-cudf: gives invalid solutions involving mixed versioned/unversioned provides)



Your message dated Wed, 19 Jul 2017 09:04:24 +0000
with message-id <E1dXku8-0000nZ-6y@fasolo.debian.org>
and subject line Bug#864906: fixed in dose3 5.0.1-9
has caused the Debian Bug report #864906,
regarding apt-cudf: gives invalid solutions involving mixed versioned/unversioned provides
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
864906: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864906
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt-cudf
Version: 5.0.1-8
Severity: normal

Hi,

This bug has arisen after I started looking at why pdl 1:2.018-1~exp1
has been failing to install its dependencies in experimental.

https://buildd.debian.org/status/package.php?p=pdl&suite=experimental

The failures only happen when the aspcud solver is used. When the normal
APT solver is used, everything works fine.

The error in pdl seems to revolve around the versioned provides of
perl-base which currently confuse apt-cudf because perl-base in sid does
NOT use versioned provides, but perl-base in experimental does.

I've attached a simplified test case which illustrates this. When
running apt-cudf on it I get this invalid solution:

$ apt-cudf --solver=aspcud test.edsp
Install: 101
Package: banana
Version: 1
Architecture: amd64

This is wrong because the cantelope dependency has not been satisfied.
Either cantelope needs to be installed, or eggplant needs to be upgraded.

======

The problem seems to be that banana has a generated CUDF dependency on
cantelope like this:

> package: banana%3aamd64
> version: 2
> depends: cantelope%3aamd64 >= 3 | --virtual-cantelope%3aamd64 = 2147483647 | --virtual-cantelope%3aamd64 >= 3

But this gets satisfied by the OLD (already installed) eggplant which
has an unversioned provides:

> package: eggplant%3aamd64
> version: 2
> conflicts: eggplant%3aamd64 , eggplant
> provides: eggplant , --virtual-cantelope%3aamd64 = 2147483646

Thanks,
James
Request: EDSP 0.5
Architecture: amd64
Architectures: amd64
Install: banana:amd64
Strict-Pinning: no

Package: banana
Architecture: amd64
Version: 1
Depends: cantelope (>= 2)
APT-ID: 101
APT-Pin: 500

Package: cantelope
Architecture: amd64
Version: 2
APT-ID: 102
APT-Pin: 500

Package: eggplant
Architecture: amd64
Version: 1
Provides: cantelope
Installed: yes
APT-ID: 103
APT-Pin: 500

Package: eggplant
Architecture: amd64
Version: 2
Provides: cantelope (= 2)
APT-ID: 104
APT-Pin: 500

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: dose3
Source-Version: 5.0.1-9

We believe that the bug you reported is fixed in the latest version of
dose3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 864906@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ralf Treinen <treinen@debian.org> (supplier of updated dose3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 19 Jul 2017 10:19:10 +0200
Source: dose3
Binary: libdose3-ocaml-dev libdose3-ocaml dose-distcheck dose-builddebcheck dose-extra apt-cudf dose-doc
Architecture: source
Version: 5.0.1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Ralf Treinen <treinen@debian.org>
Description:
 apt-cudf   - CUDF solver integration for APT
 dose-builddebcheck - Checks whether build-dependencies can be satisfied
 dose-distcheck - Checks whether dependencies of packages can be satisfied
 dose-doc   - Documentation for dose tools and libraries.
 dose-extra - Extra QA tools from the Dose3-library
 libdose3-ocaml - OCaml libraries for package dependencies (runtime files)
 libdose3-ocaml-dev - OCaml libraries for package dependencies (development files)
Closes: 864906 867104
Changes:
 dose3 (5.0.1-9) unstable; urgency=medium
 .
   * patch virtual_provides: packages that provide the same virtual package
     in different versions, or that provide the same versioned virtual package
     as a real package, are co-installable (closes: #867104, #864906).
   * add a test-case for bug  #867104
   * dose-doc: set Multi-Arch=foreign
   * add build-dependency on ocamlbuild
   * standards-version 4.0.0 (no change)
Checksums-Sha1:
 0b0b6b1810a8b31a6c6eec85ace0b7d9c75345b4 2694 dose3_5.0.1-9.dsc
 329e8b5e01e794256e8acbf87e435c66222716c5 32064 dose3_5.0.1-9.debian.tar.xz
 bb47bc2fa0c677c75036180421ee981917bc9099 6722 dose3_5.0.1-9_source.buildinfo
Checksums-Sha256:
 7d6a810281102121ce935dc110c98c999075c89da30db7f0dc5e0abe59ad1d5e 2694 dose3_5.0.1-9.dsc
 d4cbb5de2019a279e4aa1eae7e2545089e032f54ee4e374f300edc70e206b632 32064 dose3_5.0.1-9.debian.tar.xz
 bc6431eed39ec78e0b638cf17c33214bbe9fed22d215b83dd00ce60ce419a68b 6722 dose3_5.0.1-9_source.buildinfo
Files:
 6dd41b86de09c836be94fcfc92cfaf30 2694 ocaml extra dose3_5.0.1-9.dsc
 6df2e4b0bb1690065962a24c2851cef1 32064 ocaml extra dose3_5.0.1-9.debian.tar.xz
 363f3bf7b186d8937febf778b90373f1 6722 ocaml extra dose3_5.0.1-9_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEAgVIKeEtDyqOZI5idFxHZtTKzf8FAllvFmQACgkQdFxHZtTK
zf+QYA//RAFOcxhJF3r6dIfa/uMaUXtmrw7vJq3hObcBgLQQfS6pt//E9wGyiioS
0+D6ClKA7IVykmTQlVg1IITou6k7ZrPWy/n1DgzZ3TioEuOrcvMX3aRIiJ1kEHuz
EtTSlRy1qcBhVoSe5fYLgQCVeVgPNUgo689jx0s95NX3pxUeWDMMk62N4dLyYjMH
r6rUAuFL02UJ0slxkb4zyktj/BuITYO21YFJzHA/31QbK2BlkQLDbtRcJcvKSrQ5
e8yHsC6aTxh29wwNYa31Q6gbgTOBfGYngnzRL1G7QnEC7ySWMjKbGZeeWzRm2FvI
/Ff0wCi0HUpz5uOoxbnsyYTmRDwz18YrS28NcNf3LakEYfi+zu5E4gmRDK38Vm1r
CkJjrwIUUhiHo5pPb1y0L7gnOdKAC05M9rMBLmwNOj7o+kbu5nJBGGHrREX6Na+G
0khOJ19p46rXu4z1uZqSSkMG2gs9SWrVgrgrZNzPFt0wyegNQvHrGROQV3eM4K36
ciFbCmwZk85AwmmEWZFGHnLOfNNBiq/SRlLdoKkYcYrp0h4lI8hRWuoXDKL5egQT
L8KyyaRA3A/X3HeCX5Z+XpWpxXa3iURMapSegwkYPwu5+kl3oCs4ecpLuDngTFp6
A06imeTKc5sasG6U12o0Iwqii0gqtM3K9JV0d73h8KHWpnjiO7E=
=a+5i
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: