[ovs-git] [openvswitch/ovs] b52388: debian: Fix OVS upgrade dependencies.

GitHub noreply at github.com
Thu Jul 21 20:12:58 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b52388e6c49702c4245f2254b11d669d7f7c9a83
      https://github.com/openvswitch/ovs/commit/b52388e6c49702c4245f2254b11d669d7f7c9a83
  Author: Joe Stringer <joe at ovn.org>
  Date:   2016-07-21 (Thu, 21 Jul 2016)

  Changed paths:
    M debian/control

  Log Message:
  -----------
  debian: Fix OVS upgrade dependencies.

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* (or earlier) 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 <joe at ovn.org>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>




More information about the git mailing list