Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
OK then, go ahead. -- Ludovic Brenta. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
The man page should not be in the run-time library package. It should be in the -dev package, which Conflicts: with and Replaces: the previous version. -- Ludovic Brenta. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 25/09/2011 10:10, Ludovic Brenta a écrit : The man page should not be in the run-time library package. It should be in the -dev package, which Conflicts: with and Replaces: the previous version. OK, I'll try a 1.06.1-4 upload that will put it in the right place. Thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5/Ur8ACgkQVIZi0A5BZF4ywQCfaOJ/JsU8161CqDPncMQXU4qp 0esAoJvJgRVzExKRfxQRxP0oz+6XkUi/ =y+pJ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 25/09/2011 10:10, Ludovic Brenta a écrit : The man page should not be in the run-time library package. It should be in the -dev package, which Conflicts: with and Replaces: the previous version. Do you think I should provide a libxmlezout0 new upload version without the manpage or a dpkg-divert in libxmlezout2-dev should be enough ? The idea is to be able to have at the same time libxmlezout0, libxmlezout1 and libxmlezout2-dev -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5/XrkACgkQVIZi0A5BZF5/QACffOmVVmhETUdyHipLOymjS8rt LoEAn37RkOLgy80M/d9aXQCFwnQkAdti =+8ZM -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
xavier grave xavier.gr...@ipno.in2p3.fr writes: Le 25/09/2011 10:10, Ludovic Brenta a écrit : The man page should not be in the run-time library package. It should be in the -dev package, which Conflicts: with and Replaces: the previous version. Do you think I should provide a libxmlezout0 new upload version without the manpage or a dpkg-divert in libxmlezout2-dev should be enough ? The idea is to be able to have at the same time libxmlezout0, libxmlezout1 and libxmlezout2-dev libxmlezout2-dev will have to conflict with libxmlezout0 in addition to libxmlezout1-dev, because it will contain the man page which is currently in libxmlezout0. So what you want will not be possible. However it will be possible to install libxmlezout0 and libxmlezout1 at the same time, without any -dev package. -- Ludovic Brenta. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 25/09/2011 20:58, Ludovic Brenta a écrit : xavier grave xavier.gr...@ipno.in2p3.fr writes: Le 25/09/2011 10:10, Ludovic Brenta a écrit : The man page should not be in the run-time library package. It should be in the -dev package, which Conflicts: with and Replaces: the previous version. Do you think I should provide a libxmlezout0 new upload version without the manpage or a dpkg-divert in libxmlezout2-dev should be enough ? The idea is to be able to have at the same time libxmlezout0, libxmlezout1 and libxmlezout2-dev libxmlezout2-dev will have to conflict with libxmlezout0 in addition to libxmlezout1-dev, because it will contain the man page which is currently in libxmlezout0. So what you want will not be possible. However it will be possible to install libxmlezout0 and libxmlezout1 at the same time, without any -dev package. you are against a dpkg-divert solution ? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5/fwcACgkQVIZi0A5BZF6EXACeIHjyruE7NMCMC/t57tPWDQHX ZbYAnR8BrHUsOo89T4klBt1mSTISi0pP =s8C0 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
xavier grave writes: you are against a dpkg-divert solution ? TBH I didn't know about dpkg-divert until now :) I'm not sure how you're planning to call it. For one thing, the preinst script of libxmlezout2-dev may not know about the presence or absence of libxmlezout0. For another, how do you plan to detect when the diversion ceases to be necessary and to remove it from /var/lib/dpkg/diversions? -- Ludovic Brenta. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
Le 25/09/2011 22:14, Ludovic Brenta a écrit : xavier grave writes: you are against a dpkg-divert solution ? TBH I didn't know about dpkg-divert until now :) I'm not sure how you're planning to call it. For one thing, the preinst script of libxmlezout2-dev may not know about the presence or absence of libxmlezout0. For another, how do you plan to detect when the diversion ceases to be necessary and to remove it from /var/lib/dpkg/diversions? I have tested the use libxmlezout2-dev.preinst and libxmlezout2-dev.postrm The diversion is only done if the conflict is detected as far as I understand/can see. I have done some tries and I can have the three packages (libxmlezout0, libxmlezout1 libxmlezout2-dev) installed at the same time. I join the two script files in order to have your advice. #! /bin/sh # preinst script for libxmlezout set -e dpkg-divert --package libxmlezout2-dev --rename --add /usr/share/man/man7/xml_ez_out.7.gz #DEBHELPER# exit 0 #! /bin/sh # prerm script for libxmlezout1 set -e dpkg-divert --package libxmlezout2-dev --remove --rename /usr/share/man/man7/xml_ez_out.7.gz #DEBHELPER# exit 0 signature.asc Description: OpenPGP digital signature
Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 25/09/2011 23:39, xavier grave a écrit : Le 25/09/2011 22:14, Ludovic Brenta a écrit : xavier grave writes: you are against a dpkg-divert solution ? TBH I didn't know about dpkg-divert until now :) I'm not sure how you're planning to call it. For one thing, the preinst script of libxmlezout2-dev may not know about the presence or absence of libxmlezout0. For another, how do you plan to detect when the diversion ceases to be necessary and to remove it from /var/lib/dpkg/diversions? I have tested the use libxmlezout2-dev.preinst and libxmlezout2-dev.postrm The diversion is only done if the conflict is detected as far as I understand/can see. I have done some tries and I can have the three packages (libxmlezout0, libxmlezout1 libxmlezout2-dev) installed at the same time. I join the two script files in order to have your advice. Sorry I forgot to mention : http://www.debian.org/doc/debian-policy/ap-pkg-diversions.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5/scEACgkQVIZi0A5BZF6MvQCfemvGMctIG7adIf3TstNQzGix Lh4AoJDDqPQQYUt4ii7ynW9tTJS7W3bA =jfbK -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 19/09/2011 10:37, Ralf Treinen a écrit : Package: libxmlezout0,libxmlezout1 Version: libxmlezout0/1.6-2 Version: libxmlezout1/1.6.1-2 Severity: serious User: trei...@debian.org Usertags: edos-file-overwrite Date: 2011-09-19 Architecture: amd64 Distribution: sid Hi, automatic installation tests of packages that share a file and at the same time do not conflict by their package dependency relationships has detected the following problem: WARNING: The following packages cannot be authenticated! gnat-4.4-base libgnat-4.4 gnat-4.6-base libgnat-4.6 libxmlezout1 libxmlezout0 Authentication warning overridden. Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously deselected package gnat-4.4-base. (Reading database ... 10589 files and directories currently installed.) Unpacking gnat-4.4-base (from .../gnat-4.4-base_4.4.6-5_amd64.deb) ... Selecting previously deselected package libgnat-4.4. Unpacking libgnat-4.4 (from .../libgnat-4.4_4.4.6-5_amd64.deb) ... Selecting previously deselected package gnat-4.6-base. Unpacking gnat-4.6-base (from .../gnat-4.6-base_4.6.1-5_amd64.deb) ... Selecting previously deselected package libgnat-4.6. Unpacking libgnat-4.6 (from .../libgnat-4.6_4.6.1-5_amd64.deb) ... Selecting previously deselected package libxmlezout1. Unpacking libxmlezout1 (from .../libxmlezout1_1.06.1-2_amd64.deb) ... Selecting previously deselected package libxmlezout0. Unpacking libxmlezout0 (from .../libxmlezout0_1.06-2_amd64.deb) ... dpkg: error processing /var/cache/apt/archives/libxmlezout0_1.06-2_amd64.deb (--unpack): trying to overwrite '/usr/share/man/man7/xml_ez_out.7.gz', which is also in package libxmlezout1 1.06.1-2 configured to not write apport reports Processing triggers for man-db ... Errors were encountered while processing: /var/cache/apt/archives/libxmlezout0_1.06-2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) This is a serious bug as it makes installation fail, and violates sections 7.6.1 and 10.1 of the policy. An optimal solution would consist in only one of the packages installing that file, and renaming or removing the file in the other package. Depending on the circumstances you might also consider Replace relations or file diversions. If the conflicting situation cannot be resolved then, as a last resort, the two packages have to declare a mutual Conflict. Please take into account that Replaces, Conflicts and diversions should only be used when packages provide different implementations for the same functionality. Here is a list of files that are known to be shared by both packages (according to the Contents file for sid/amd64, which may be slightly out of sync): /usr/share/man/man7/xml_ez_out.7.gz This bug is assigned to both packages. If you, the maintainers of the two packages in question, have agreed on which of the packages will resolve the problem please reassign the bug to that package. You may also register in the BTS that the other package is affected by the bug. -Ralf. PS: for more information about the detection of file overwrite errors of this kind see http://edos.debian.net/file-overwrites/. OK, thanks I'll try to repackage it as soon as possible. Thanks a lot for the url to help avoid this in the future. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEUEARECAAYFAk5+YwYACgkQVIZi0A5BZF7/CwCfc+Jai2OVkXZPZ+th04qtB8si mLAAliifcC6+WoNFdIMaudauK/H4L6E= =Cb+q -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#642074: libxmlezout1 and libxmlezout0: error when trying to install together
Package: libxmlezout0,libxmlezout1 Version: libxmlezout0/1.6-2 Version: libxmlezout1/1.6.1-2 Severity: serious User: trei...@debian.org Usertags: edos-file-overwrite Date: 2011-09-19 Architecture: amd64 Distribution: sid Hi, automatic installation tests of packages that share a file and at the same time do not conflict by their package dependency relationships has detected the following problem: WARNING: The following packages cannot be authenticated! gnat-4.4-base libgnat-4.4 gnat-4.6-base libgnat-4.6 libxmlezout1 libxmlezout0 Authentication warning overridden. Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously deselected package gnat-4.4-base. (Reading database ... 10589 files and directories currently installed.) Unpacking gnat-4.4-base (from .../gnat-4.4-base_4.4.6-5_amd64.deb) ... Selecting previously deselected package libgnat-4.4. Unpacking libgnat-4.4 (from .../libgnat-4.4_4.4.6-5_amd64.deb) ... Selecting previously deselected package gnat-4.6-base. Unpacking gnat-4.6-base (from .../gnat-4.6-base_4.6.1-5_amd64.deb) ... Selecting previously deselected package libgnat-4.6. Unpacking libgnat-4.6 (from .../libgnat-4.6_4.6.1-5_amd64.deb) ... Selecting previously deselected package libxmlezout1. Unpacking libxmlezout1 (from .../libxmlezout1_1.06.1-2_amd64.deb) ... Selecting previously deselected package libxmlezout0. Unpacking libxmlezout0 (from .../libxmlezout0_1.06-2_amd64.deb) ... dpkg: error processing /var/cache/apt/archives/libxmlezout0_1.06-2_amd64.deb (--unpack): trying to overwrite '/usr/share/man/man7/xml_ez_out.7.gz', which is also in package libxmlezout1 1.06.1-2 configured to not write apport reports Processing triggers for man-db ... Errors were encountered while processing: /var/cache/apt/archives/libxmlezout0_1.06-2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) This is a serious bug as it makes installation fail, and violates sections 7.6.1 and 10.1 of the policy. An optimal solution would consist in only one of the packages installing that file, and renaming or removing the file in the other package. Depending on the circumstances you might also consider Replace relations or file diversions. If the conflicting situation cannot be resolved then, as a last resort, the two packages have to declare a mutual Conflict. Please take into account that Replaces, Conflicts and diversions should only be used when packages provide different implementations for the same functionality. Here is a list of files that are known to be shared by both packages (according to the Contents file for sid/amd64, which may be slightly out of sync): /usr/share/man/man7/xml_ez_out.7.gz This bug is assigned to both packages. If you, the maintainers of the two packages in question, have agreed on which of the packages will resolve the problem please reassign the bug to that package. You may also register in the BTS that the other package is affected by the bug. -Ralf. PS: for more information about the detection of file overwrite errors of this kind see http://edos.debian.net/file-overwrites/. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org