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

Bug#653411: cw: Upgrade from 2.3-13 fails



On -10.01.-28163 20:59, Bob Proulx wrote:
   Unpacking libcw3 (from .../libcw3_3.0-2_amd64.deb) ...
   dpkg: error processing /var/cache/apt/archives/libcw3_3.0-2_amd64.deb (--unpack):
    trying to overwrite '/usr/share/man/man7/cw.7.gz', which is also in package unixcw 2.3-13
   configured to not write apport reports
To Kamal Mostafa: looks like we should revert the latest change in debian/control (patch attached). Would you agree?

I am on the outside looking in and am surprised by this break.  It
appears that you are renaming the unixcw package to cw and that the
package renaming has failed due to missing Conflicts, Replaces, Breaks
headers and missing transition dummy package for the old unixcw but I
haven't examined the problem in detail at this moment.  What is the
intention?
unixcw(-dev) has been renamed to libcw3(-dev) for consistency reasons and to avoid using name of project/source code package as Debian package name. Considerable changes in lib's API and functionality made the switch to new name even more needed (IMHO).

Initially debian/control contained "Replaces: unixcw(-dev)" lines, but the line has been removed for some (minor?) reason. It seems that the change needs to be reverted.

Best regards,
Kamil (upstream)
diff --git a/debian/control b/debian/control
index be63f0c..67b625b 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Package: libcw3
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: unixcw
 Recommends: cw | cwcp | xcwcp
 Description: Shared library for Morse programs
  Shared library files for cw, cwcp and xcwcp programs.
@@ -21,6 +22,7 @@ Package: libcw3-dev
 Section: libdevel
 Architecture: any
 Depends: libcw3 (= ${binary:Version}), ${misc:Depends}, libasound2-dev
+Replaces: unixcw-dev
 Description: Development files for Morse programs
  Static library, headers and manual page for development of
  programs that handle (i.e. send and receive) Morse code.

Reply to: