Commit 0dcc739e7a28 ("debian: Move ovs-lib to openvswitch-common.")
shifted a file between debian packages, but didn't update the
destination package annotations to indicate that it replaces a file
from earlier versions of the source package.
As a result, if one installs openvswitch-switch-2.5* and then tries to
upgrade to openvswitch-{switch,common}-2.5.90+, the install of
openvswitch-common will fail like the following:
dpkg: error processing archive
/tmp/openvswitch-common_2.5.90-1_amd64.deb (--install):
trying to overwrite '/usr/share/openvswitch/scripts/ovs-lib', which is
also in package openvswitch-switch 2.5.0-1
Fix the issue by adding "Replaces" and "Breaks" tags to the new
openvswitch-common section of debian/control.
Fixes: 0dcc739e7a28 ("debian: Move ovs-lib to openvswitch-common.")
Signed-off-by: Joe Stringer <[email protected]>
---
debian/control | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/control b/debian/control
index 2c07a73cd60f..78e00045042d 100644
--- a/debian/control
+++ b/debian/control
@@ -63,6 +63,8 @@ Depends: openssl,
${misc:Depends},
${shlibs:Depends}
Suggests: ethtool
+Replaces: openvswitch-switch (<< 2.5.90)
+Breaks: openvswitch-switch (<< 2.5.90)
Description: Open vSwitch common components
Open vSwitch is a production quality, multilayer, software-based,
Ethernet virtual switch. It is designed to enable massive network
--
2.8.2
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev