Your message dated Thu, 04 Feb 2016 22:34:59 +0000 with message-id <[email protected]> and subject line Bug#812173: fixed in apt 1.2.2 has caused the Debian Bug report #812173, regarding apt fails to distinguish between different Provides of different package versions 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 [email protected] immediately.) -- 812173: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812173 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt Version: 1.2 Severity: serious Justification: Policy 7.5 Control: affects -1 + src:libjpeg9 Hi, steps to reproduce for apt-get build-dep: $ sudo debootstrap --include=equivs sid debian-apt-bug http://snapshot.debian.org/archive/debian/20160119T151500Z $ echo deb-src http://snapshot.debian.org/archive/debian/20160119T151500Z sid main | sudo tee -a debian-apt-bug/etc/apt/sources.list $ sudo chroot debian-apt-bug apt-get update $ sudo chroot debian-apt-bug apt-get build-dep libjpeg9 Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: autoconf automake autopoint build-essential cpp cpp-5 dh-autoreconf g++ g++-5 gcc gcc-5 libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libgcc-5-dev libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx0 libquadmath0 libsigsegv2 libstdc++-5-dev libtool libtsan0 libubsan0 linux-libc-dev m4 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. Need to get 102 MB of archives. [...] Get:7 http://snapshot.debian.org/archive/debian/20160119T151500Z sid/main amd64 automake all 1:1.15-3 [735 kB] [...] Selecting previously unselected package automake. Preparing to unpack .../automake_1%3a1.15-3_all.deb ... Unpacking automake (1:1.15-3) ... [...] $ sudo chroot debian-apt-bug apt-get source --build libjpeg9 dpkg-checkbuilddeps: error: Unmet build dependencies: automake-1.14 dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) Build command 'cd libjpeg9-9a && dpkg-buildpackage -b -uc' failed. As you can see from above, dpkg-checkbuilddeps and apt-get build-dep disagree. This might be because unstable currently carries two automake packages in different versions: Package: automake Source: automake-1.14 Version: 1:1.14.1-4 Architecture: all Provides: automake-1.14, automaken Depends: autoconf (>= 2.65), autotools-dev (>= 20020320.1) Conflicts: automake (<< 1:1.4-p5-1), automake1.10-doc, automake1.5 (<< 1.5-2), automake1.6 (<< 1.6.1-4) Multi-Arch: foreign Package: automake Source: automake-1.15 Version: 1:1.15-3 Architecture: all Provides: automake-1.15, automaken Depends: autoconf (>= 2.65), autotools-dev (>= 20020320.1) Suggests: autoconf-doc, gnu-standards Conflicts: automake (<< 1:1.4-p5-1), automake1.10-doc, automake1.5 (<< 1.5-2), automake1.6 (<< 1.6.1-4) Multi-Arch: foreign Steps to reproduce for apt-get install: $ cat > control << END > Package: dummy > Depends: automake-1.14 > END $ equivs-build control $ apt-get install ./dummy_1.0_all.deb The following packages have unmet dependencies: dummy : Depends: automake-1.14 E: Unable to correct problems, you have held broken packages. It seems automake (= 1:1.14.1-4) provides automake-1.14 while automake (= 1:1.15-3) provides automake-1.15. It might be that somehow apt sees that "automake" provides automake-1.14 but does not store which version of "automake" provides it and just either installs the newest one in the "apt-get build-dep" case or only picks the newest one as a candidate and then fails to satisfy the dependency because that version doesn't provide automake-1.14. Ideally, apt should see that there are different versions of the same package with the same pin value but different provides and pick the one that satisfies the dependency even if it's of a lower version. After all, both packages are part of the same suite. Though with apt's behaviour of selecting only the highest version as the candidate I can see why this will not be happening and maybe instead automake should change how they do their virtual packages. But then again, on what grounds should automake change their provides? Only because of an apt limitation? As far as I can see they are policy compliant and other resolvers like dose3 or aspcud will happily find a solution. The clear policy violation here is the "apt-get build-dep" problem because apt installs a package that is not satisfying the build dependency at hand. This has to be fixed. At least just fail in the same way as during binary package installation. What do you think? cheers, josch
--- End Message ---
--- Begin Message ---Source: apt Source-Version: 1.2.2 We believe that the bug you reported is fixed in the latest version of apt, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Julian Andres Klode <[email protected]> (supplier of updated apt 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 04 Feb 2016 22:50:43 +0100 Source: apt Binary: apt libapt-pkg5.0 libapt-inst2.0 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https Architecture: source Version: 1.2.2 Distribution: unstable Urgency: medium Maintainer: APT Development Team <[email protected]> Changed-By: Julian Andres Klode <[email protected]> Description: apt - commandline package manager apt-doc - documentation for APT apt-transport-https - https download transport for APT apt-utils - package management related utility programs libapt-inst2.0 - deb package format runtime library libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst libapt-pkg-doc - documentation for APT development libapt-pkg5.0 - package management runtime library Closes: 137560 444930 489911 583914 728317 807367 809329 812111 812173 812212 812492 812497 813467 Changes: apt (1.2.2) unstable; urgency=medium . [ David Kalnischkies ] * always create pkg at the time pkg:arch is created * reimplement build-dep via apts normal resolver (Closes: #137560, #444930, #489911, #583914, #728317, #812173) * parse version correctly from binary Source field (Closes: 812492) * get sources for packages in multiple releases again (Closes: 812497) * only warn about missing/invalid Date field for now (Closes: 809329) * support <libc>-<kernel>-<cpu> in architecture specs. Thanks to Bálint Réczey for initial patch (Closes: #812212) * avoid building dependency tree in 'source' command . [ Stefan Bühler ] * fix "Mismatched free() / delete / delete []" in simple_buffer . [ Julian Andres Klode ] * Do not buffer writes larger than the buffer if possible * Drop the g++ build-dep, transition is done * NEWS: Prefix the keep deb option with Binary::apt:: (Closes: #812111) * rred: If there were I/O errors, fail * Correctly report write errors when flushing buffered writer * test: Fix apt-key tests to work with current gpg 2.1 . [ Manuel "Venturi" Porras Peralta ] * Spanish program translation update (Closes: 813467) . [ Adrian Wielgosik ] * Try avoiding loading long package description * Avoid temporary strings in SubstVar. . [ Fredrik Fornwall ] * edspsystem.cc: include <stdlib.h> for mkdtemp (Closes: #807367) Checksums-Sha1: a1bf8d6269d68fde1151ac9afe1db3edb99beaf5 2323 apt_1.2.2.dsc 4acb1323da073be650d625e245529deea3ebbc43 2018908 apt_1.2.2.tar.xz Checksums-Sha256: 1fcc4e2acca9e82143a35f2dcc86ffd2ae20f39579bffe01580b14d694c170fb 2323 apt_1.2.2.dsc 9ce1dcdc5e53057ad7647856fcb4e12580c9b164a59f46967fecacc1be2dea35 2018908 apt_1.2.2.tar.xz Files: 58b341a17601bedb6da245292ceb2284 2323 admin important apt_1.2.2.dsc 8e820f5e87aa6d188c36c6fbe4ab2a5f 2018908 admin important apt_1.2.2.tar.xz -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWs8jFAAoJENc8OeVlgLOGHtEP/R0gdtDVQGn8Cy2vCb366tfa KX7xgf1J3Uy6jBERio5xJbkXVoxwR6o/+l41LnE5khBTFiWhdYC2FKupwgHJsqV2 8NCEq3AishPzcjHyvPmemRxGxst1fQIVPJqH6fWryoFQ2/6gRjCG1CgTrbxVwh1C wpiGWmxIdug1H3IFaMSfjY/4cfMmCu/7JvsgYSenQKskdfHYpvn7W8ZoKTgj+aIu p7DOv1h2n7qCX8jI7CTX1uhVQkpiWjVDhVQXrv5IqsLXqdIx29gF6qdfaGCkSd4i MBpEFTenlQsNDTKF14Jr0wIzgZMJsvJXSzcBUhljHKZ8W8748RV6ocIO3/mTEYaM Sy5ARIU5IX+3t5sDhwWDm6LMO0KLa7QX+PJ6HJfksc1fn2EzYthInot2/tD4mfMe RrHpHgi9wdUCV+20339PM22QRLVawjqqb92mXLioMaT0nFTkrU81ROTk3YoWP/OM 1yjMNfFLVTiXWqqN3n2H4lxPDJCXHB3jOPlw9KRmfXVC5jTQG5exM5TWxQaUYgEU 28rOr99UIZgUuxtaaWxjsr4ydLiwpXnskCbEW6M+jcBNi/o350eArXjjM7TYzOb4 ptI+Eu2fCPbbrIr1GBJVkGhQy+OM1CNU1N1U/Gltud1Wf95jx80lyW4PUTvN/eds ozhB9rUtrE8Bed1P8uZr =KlTM -----END PGP SIGNATURE-----
--- End Message ---

