Your message dated Sat, 30 May 2015 01:48:50 +0000 with message-id <[email protected]> and subject line Bug#377860: fixed in dpkg 1.18.1 has caused the Debian Bug report #377860, regarding Conflicts is not always checked appropriately 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.) -- 377860: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377860 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dpkg Version: 1.13.22 If A -Conflicts-> B, then dpkg correctly refuses to unpack A if B is installed and to unpack B if A is installed. Furthermore, dpkg correctly refuses to unpack A even if B is merely unpacked or half-installed etc. However, if A is unpacked or half-installed, the conflict is not checked and it is possible to unpack B. This is a mistake. Between two packages, Conflicts is a relationship with symmetrical effects (in the absence of Replaces). I think it might also be possible to remove the predependencies of merely-unpacked packages, but I haven't tested this. The cause lies in depcon.c, in depisok: /* The dependency is always OK if we're trying to remove the depend*ing* * package. */ switch (dep->up->clientdata->istobe) { case itb_remove: case itb_deconfigure: return 1; case itb_normal: /* Only `installed' packages can be make dependency problems */ switch (dep->up->status) { case stat_installed: break; case stat_notinstalled: case stat_configfiles: case stat_halfinstalled: case stat_halfconfigured: case stat_unpacked: return 1; default: internerr("unknown status depending"); } It is not true that only `installed' packages can cause dependency problems. Both Conflicts and Pre-Depends, and soon Breaks, can cause problem even if the `source' package for the dependency is not completely installed. I _think_ simply saying something like this: case stat_halfinstalled: case stat_halfconfigured: case stat_unpacked: if (dep->type == dep_conflicts || dep->type == dep_predepends || dep->type == dep_breaks) break; /* fall through */ case stat_notinstalled: case stat_configfiles: return 1; ought to fix it but I haven't tested this. Ian.
--- End Message ---
--- Begin Message ---Source: dpkg Source-Version: 1.18.1 We believe that the bug you reported is fixed in the latest version of dpkg, 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. Guillem Jover <[email protected]> (supplier of updated dpkg 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: SHA256 Format: 1.8 Date: Sat, 30 May 2015 03:00:21 +0200 Source: dpkg Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect Architecture: source all Version: 1.18.1 Distribution: unstable Urgency: low Maintainer: Dpkg Developers <[email protected]> Changed-By: Guillem Jover <[email protected]> Description: dpkg - Debian package management system dpkg-dev - Debian package development tools dselect - Debian package management front-end libdpkg-dev - Debian package management static library libdpkg-perl - Dpkg perl modules Closes: 377860 720761 785937 786377 786435 786654 786840 Changes: dpkg (1.18.1) unstable; urgency=low . [ Guillem Jover ] * Cast c_isbits() c argument to an unsigned char when indexing the array. This fixes build failures on armel, armhf, ppc64el and s390x. * Do not allow pathnames with embedded newlines in dpkg-deb and dpkg. Closes: #720761 * Fix setting the SE Linux context when a file has a statoverride. Closes: #786435 * Set the SE Linux file context even when the file mode has no file type. * Make dpkg-buildpackage -j override any parallel option specified in DEB_BUILD_OPTIONS. Regression introduced in dpkg 1.14.15. * Honor Pre-Depends, Conflicts and Breaks for packages in unpacked and half states. Thanks to Ian Jackson <[email protected]>. Closes: #377860 * Fix build failure on FreeBSD by actually using libmd if available. * Sort dpkg-scanpackages output by package name and version. Thanks to Maximilian Schwerin <[email protected]>. * Sort dpkg-scansources output by package name and version. Thanks to Maximilian Schwerin <[email protected]>. * Set the correct default compression value in dpkg-deb for control.tar.gz member. This meant using compression level 1 when using the zlib shared library to compress the control.tar member, and always failing when using the gzip command. Regression introduced in dpkg 1.17.6. Closes: #786654 * Use the generated template file instead of the original one when looking for changes in dpkg-gensymbols. There's too much information not being preserved in the symbols files to be able to regenerate templates for them. Closes: #785937, #786840 * Perl modules: - Add missing strict and warnings pragmas for submodules. - Use non-destructive substitutions inside map. - Use the state keyword to simplify the code. - Do not replace #PACKAGE# in template mode in Dpkg::Shlibs::SymbolFile. * Documentation: - Update current default source compressor from gzip to xz. - Remove spurious ‘=’ from parallel DEB_BUILD_OPTIONS without arguments in dpkg-buildpackage(1). . [ Updated programs translations ] * German (Sven Joachim). * Simplified Chinese (Zhou Mo). Closes: #786377 . [ Updated manpages translations ] * German (Helge Kreutzmann). . [ Updated dselect translations ] * German (Sven Joachim). Checksums-Sha1: 0409942a8410b62930f053f7ae4d85881ee2b237 2014 dpkg_1.18.1.dsc 3c44e6e7f8b2e72bef457568984b4ceb33ed6a45 4340240 dpkg_1.18.1.tar.xz 39400c87363b772e8659e964c212162a2e0cc451 1415366 dpkg-dev_1.18.1_all.deb 6255384b21ba702a108903c936ec9bc84bc0c1d5 1108034 libdpkg-perl_1.18.1_all.deb Checksums-Sha256: ac13c57145473570e75ecd2ad40a727edc199e77162d0b35acda858d88747c95 2014 dpkg_1.18.1.dsc cb26a97ca21c970cbe63a762125fe21f7437663badf6ce686589fe62650399da 4340240 dpkg_1.18.1.tar.xz 2db86ff116c1fb931e35e29fc35641a600d447cf8b32351261a05d6f70be9987 1415366 dpkg-dev_1.18.1_all.deb 894217d792614cc701f9acb908f2fa2dd86b1c34f643c1dbd48f641d22c3dd7f 1108034 libdpkg-perl_1.18.1_all.deb Files: aefdcf8b716cc8ca692b2660c336edf5 2014 admin required dpkg_1.18.1.dsc 809169e14489dbcc603dc011381fdc67 4340240 admin required dpkg_1.18.1.tar.xz ebd6b31b20515cce1ff1066915a0d918 1415366 utils optional dpkg-dev_1.18.1_all.deb 7787dfd48a2a7438349914f95a2203a4 1108034 perl optional libdpkg-perl_1.18.1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVaQ+zAAoJELlyvz6krlejM64QAOdq8zmjbGa1nxgRimg6FPP7 OEy5/3KFCIWW69WvW26MVlxp3CaExPSrPhfBL18h+2/3Z6okcjAJzm5xeeIBZDLT 5bxbDL7TGWkcn+smlsMMMcxz4U4DiM+uQX3m84lLlY4d3xEMxBmj+bp8jXQf3/ha JNu5bVjJIIEPOLUU4dRZweQYnesSTkKnnBkEAtG6ZeWNzoP79QCQCcDzCOU7jUrq Ib4r+SjQU+sy+MMRt/QpoQhrbVO3FSPtuwaD4b5fLpuXg+3wjdriUM0DRYE7yPYd a4qgRtPQ9Tav+CxleGGfENifreWptuo5vQbBKD9gi5eW8/YA8f3yjWZfm42EBbtV GwFMYp2zESQ++OUFIGOBI/gDvtxRj0XEWKRQElCgr3TlHoGJRetNMbvyfdTu1Shd a9Lsb9Q5vRfeltqipkcpySyNjIq57rcSDH69m5BYEXvRO4PCLf7GTotmaboq1gU2 HGDXZrWxlyDyM2BlXlsj0roPpHoBx3f9Gp09w58TRg/+X7HKesFFOI1obQuz0HvN GJjHPNC89qR0uYUr+ygNlVTQyO2hfNgug/VSnc1xO1XqLf4zZdkg+mF1TJDbPLtg /bl8dyNh7/YKeWitEyA2kA0fI+RftRDBJnC5M1S7Mlv5y1ILqrS263biatWMhEgC eaCRjuySwv/lgZqzZG8e =xTfb -----END PGP SIGNATURE-----
--- End Message ---

