Package: bcrelay Version: 1.2.3-1 Severity: serious Tags: patch Justification: Policy 7.5.1
bcrelay was split out from pptpd. pptpd depends on bcrelay to force it to be installed on pptpd upgrades. However, when the user has pptpd 1.2.1-5 (or older) installed, and the new pptpd 1.2.3-1 and bcrelay 1.2.3-1 are to be installed, the following happens: | Selecting previously deselected package bcrelay. | Unpacking bcrelay (from .../bcrelay_1.2.3-1_i386.deb) ... | dpkg: error processing /var/cache/apt/archives/bcrelay_1.2.3-1_i386.deb (--unpack): | trying to overwrite `/usr/sbin/bcrelay', which is also in package pptpd | [...] | Errors were encountered while processing: | /var/cache/apt/archives/bcrelay_1.2.3-1_i386.deb bcrelay should conflict with (and replace) old versions of pptpd. Patch attached. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (600, 'testing'), (90, 'unstable') Architecture: i386 (i586)
diff -ruN pptpd-1.2.3.org/debian/control pptpd-1.2.3/debian/control --- pptpd-1.2.3.org/debian/control 2006-01-29 17:22:14.000000000 +0000 +++ pptpd-1.2.3/debian/control 2006-01-29 18:59:06.000000000 +0000 @@ -16,6 +16,8 @@ Package: bcrelay Architecture: any Depends: ${shlibs:Depends} +Conflicts: pptpd (<< 1.2.3-1) +Replaces: pptpd (<< 1.2.3-1) Description: Broadcast relay daemon The bcrelay daemon relays broadcasts between two interfaces. It is shipped with the pptpd package, but can be used for other purposes.