Bug#649069: tclcl-dev and libtclcl1-dev: error when trying to install together
Package: libtclcl1-dev,tclcl-dev Version: libtclcl1-dev/1.20-2 Version: tclcl-dev/1.20~RC3-4 Severity: serious User: trei...@debian.org Usertags: edos-file-overwrite Date: 2011-11-17 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! libexpat1 libfreetype6 ucf ttf-dejavu-core fontconfig-config libfontconfig1 tcl8.5 libxau6 libxdmcp6 libxcb1 libx11-data libx11-6 libxext6 libxrender1 libxft2 x11-common libxss1 tk8.5 libtclcl1 libtclcl1-dev tclcl-dev Preconfiguring packages ... Authentication warning overridden. Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously unselected package libexpat1. (Reading database ... 10587 files and directories currently installed.) Unpacking libexpat1 (from .../libexpat1_2.0.1-7.2_amd64.deb) ... Selecting previously unselected package libfreetype6. Unpacking libfreetype6 (from .../libfreetype6_2.4.7-2_amd64.deb) ... Selecting previously unselected package ucf. Unpacking ucf (from .../ucf_3.0025+nmu2_all.deb) ... Moving old data out of the way Selecting previously unselected package ttf-dejavu-core. Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33-2_all.deb) ... Selecting previously unselected package fontconfig-config. Unpacking fontconfig-config (from .../fontconfig-config_2.8.0-3_all.deb) ... Selecting previously unselected package libfontconfig1. Unpacking libfontconfig1 (from .../libfontconfig1_2.8.0-3_amd64.deb) ... Selecting previously unselected package tcl8.5. Unpacking tcl8.5 (from .../tcl8.5_8.5.10-1_amd64.deb) ... Selecting previously unselected package libxau6. Unpacking libxau6 (from .../libxau6_1%3a1.0.6-4_amd64.deb) ... Selecting previously unselected package libxdmcp6. Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.1.0-4_amd64.deb) ... Selecting previously unselected package libxcb1. Unpacking libxcb1 (from .../libxcb1_1.7-4_amd64.deb) ... Selecting previously unselected package libx11-data. Unpacking libx11-data (from .../libx11-data_2%3a1.4.4-4_all.deb) ... Selecting previously unselected package libx11-6. Unpacking libx11-6 (from .../libx11-6_2%3a1.4.4-4_amd64.deb) ... Selecting previously unselected package libxext6. Unpacking libxext6 (from .../libxext6_2%3a1.3.0-3_amd64.deb) ... Selecting previously unselected package libxrender1. Unpacking libxrender1 (from .../libxrender1_1%3a0.9.6-2_amd64.deb) ... Selecting previously unselected package libxft2. Unpacking libxft2 (from .../libxft2_2.2.0-3_amd64.deb) ... Selecting previously unselected package x11-common. Unpacking x11-common (from .../x11-common_1%3a7.6+9_all.deb) ... Selecting previously unselected package libxss1. Unpacking libxss1 (from .../libxss1_1%3a1.2.1-2_amd64.deb) ... Selecting previously unselected package tk8.5. Unpacking tk8.5 (from .../tk8.5_8.5.10-1_amd64.deb) ... Selecting previously unselected package libtclcl1. Unpacking libtclcl1 (from .../libtclcl1_1.20-2_amd64.deb) ... Selecting previously unselected package libtclcl1-dev. Unpacking libtclcl1-dev (from .../libtclcl1-dev_1.20-2_amd64.deb) ... Selecting previously unselected package tclcl-dev. Unpacking tclcl-dev (from .../tclcl-dev_1.20~RC3-4_amd64.deb) ... dpkg: error processing /var/cache/apt/archives/tclcl-dev_1.20~RC3-4_amd64.deb (--unpack): trying to overwrite '/usr/include/tclcl/idlecallback.h', which is also in package libtclcl1-dev 1.20-2 configured to not write apport reports Processing triggers for man-db ... Errors were encountered while processing: /var/cache/apt/archives/tclcl-dev_1.20~RC3-4_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/include/tclcl/idlecallback.h /usr/include/tclcl/iohandler.h /usr/include/tclcl/rate-variable.h /usr/include/tclcl/tclcl-config.h /usr/include/tclcl/tclcl-internal.h /usr/include/tclcl/tclcl-mappings.h /usr/include/tclcl/tclcl.h /usr/include/tclcl/timer.h /usr/include/tclcl/tracedvar.h This bug has been filed against both packages. If you, the maintainers of the two packages in question, have agreed on which of
Bug#649069: tclcl-dev and libtclcl1-dev: error when trying to install together
libtclcl1-dev is the new name of tclcl-dev, as tclcl has shared library now. Mark libtclcl1-dev replace and provide tclcl-dev ? Should I request ftp-master to remove tclcl-dev or waiting for its auto removing? On Thu, Nov 17, 2011 at 6:01 PM, Ralf Treinen trei...@debian.org wrote: Package: libtclcl1-dev,tclcl-dev Version: libtclcl1-dev/1.20-2 Version: tclcl-dev/1.20~RC3-4 Severity: serious User: trei...@debian.org Usertags: edos-file-overwrite Date: 2011-11-17 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! libexpat1 libfreetype6 ucf ttf-dejavu-core fontconfig-config libfontconfig1 tcl8.5 libxau6 libxdmcp6 libxcb1 libx11-data libx11-6 libxext6 libxrender1 libxft2 x11-common libxss1 tk8.5 libtclcl1 libtclcl1-dev tclcl-dev Preconfiguring packages ... Authentication warning overridden. Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously unselected package libexpat1. (Reading database ... 10587 files and directories currently installed.) Unpacking libexpat1 (from .../libexpat1_2.0.1-7.2_amd64.deb) ... Selecting previously unselected package libfreetype6. Unpacking libfreetype6 (from .../libfreetype6_2.4.7-2_amd64.deb) ... Selecting previously unselected package ucf. Unpacking ucf (from .../ucf_3.0025+nmu2_all.deb) ... Moving old data out of the way Selecting previously unselected package ttf-dejavu-core. Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33-2_all.deb) ... Selecting previously unselected package fontconfig-config. Unpacking fontconfig-config (from .../fontconfig-config_2.8.0-3_all.deb) ... Selecting previously unselected package libfontconfig1. Unpacking libfontconfig1 (from .../libfontconfig1_2.8.0-3_amd64.deb) ... Selecting previously unselected package tcl8.5. Unpacking tcl8.5 (from .../tcl8.5_8.5.10-1_amd64.deb) ... Selecting previously unselected package libxau6. Unpacking libxau6 (from .../libxau6_1%3a1.0.6-4_amd64.deb) ... Selecting previously unselected package libxdmcp6. Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.1.0-4_amd64.deb) ... Selecting previously unselected package libxcb1. Unpacking libxcb1 (from .../libxcb1_1.7-4_amd64.deb) ... Selecting previously unselected package libx11-data. Unpacking libx11-data (from .../libx11-data_2%3a1.4.4-4_all.deb) ... Selecting previously unselected package libx11-6. Unpacking libx11-6 (from .../libx11-6_2%3a1.4.4-4_amd64.deb) ... Selecting previously unselected package libxext6. Unpacking libxext6 (from .../libxext6_2%3a1.3.0-3_amd64.deb) ... Selecting previously unselected package libxrender1. Unpacking libxrender1 (from .../libxrender1_1%3a0.9.6-2_amd64.deb) ... Selecting previously unselected package libxft2. Unpacking libxft2 (from .../libxft2_2.2.0-3_amd64.deb) ... Selecting previously unselected package x11-common. Unpacking x11-common (from .../x11-common_1%3a7.6+9_all.deb) ... Selecting previously unselected package libxss1. Unpacking libxss1 (from .../libxss1_1%3a1.2.1-2_amd64.deb) ... Selecting previously unselected package tk8.5. Unpacking tk8.5 (from .../tk8.5_8.5.10-1_amd64.deb) ... Selecting previously unselected package libtclcl1. Unpacking libtclcl1 (from .../libtclcl1_1.20-2_amd64.deb) ... Selecting previously unselected package libtclcl1-dev. Unpacking libtclcl1-dev (from .../libtclcl1-dev_1.20-2_amd64.deb) ... Selecting previously unselected package tclcl-dev. Unpacking tclcl-dev (from .../tclcl-dev_1.20~RC3-4_amd64.deb) ... dpkg: error processing /var/cache/apt/archives/tclcl-dev_1.20~RC3-4_amd64.deb (--unpack): trying to overwrite '/usr/include/tclcl/idlecallback.h', which is also in package libtclcl1-dev 1.20-2 configured to not write apport reports Processing triggers for man-db ... Errors were encountered while processing: /var/cache/apt/archives/tclcl-dev_1.20~RC3-4_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/include/tclcl/idlecallback.h /usr/include/tclcl/iohandler.h
Bug#649069: tclcl-dev and libtclcl1-dev: error when trying to install together
On Thu, Nov 17, 2011 at 06:39:54PM +0800, YunQiang Su wrote: libtclcl1-dev is the new name of tclcl-dev, as tclcl has shared library now. Mark libtclcl1-dev replace and provide tclcl-dev ? I do not know the package (I discovered the bug by an automated test), but the right solution in cases like this is usually to replace, provide, and also to conflict with tclcl-dev. Should I request ftp-master to remove tclcl-dev or waiting for its auto removing? Please ask for removal once you have checked that noone else depends on tclcl-dev, or if your new package provides the old one. -Ralf. -- Ralf Treinen Laboratoire Preuves, Programmes et Systèmes Université Paris Diderot, Paris, France. http://www.pps.jussieu.fr/~treinen/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org