Package: protobuf
Severity: normal

the protobuf package should not do this:

    Package: libprotobuf3
    Conflicts: libprotobuf0, libprotobuf2
    Replaces: libprotobuf0, libprotobuf2

libprotobuf3 cannot conflict with libprotobuf2 as they share no files in
common.

    edmo...@chase{0}:~$ dpkg -L libprotobuf3 | sort
    /.
    /usr
    /usr/lib
    /usr/lib/libprotobuf.so.3
    /usr/lib/libprotobuf.so.3.0.0
    /usr/lib/libprotoc.so.3
    /usr/lib/libprotoc.so.3.0.0
    /usr/share
    /usr/share/doc
    /usr/share/doc/libprotobuf3
    /usr/share/doc/libprotobuf3/changelog.Debian.gz
    /usr/share/doc/libprotobuf3/changelog.gz
    /usr/share/doc/libprotobuf3/copyright
    edmo...@chase{0}:~$ apt-file show libprotobuf2 
    libprotobuf2: /usr/lib/libprotobuf.so.2
    libprotobuf2: /usr/lib/libprotobuf.so.2.0.0
    libprotobuf2: /usr/lib/libprotoc.so.0
    libprotobuf2: /usr/lib/libprotoc.so.0.0.0
    libprotobuf2: /usr/share/doc/libprotobuf2/changelog.Debian.gz
    libprotobuf2: /usr/share/doc/libprotobuf2/changelog.gz
    libprotobuf2: /usr/share/doc/libprotobuf2/copyright
    edmo...@chase{0}:~$

and libprotobuf3 cannot replace libprotobuf2 as the libraries have
different SONAMEs.  this is the whole point of a SONAME.

furthermore, conflicting and replacing with old versions of your library
package completely breaks orderly transitions.  fortunately, there are
no reverse dependencies on libprotobufN outside of the protobuf source
package.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Robert Edmonds
edmo...@debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to