[Bug 2077406] Re: cloud-archive:zed -> cloud-archive:antelope upgrade broken

JamesLin 2077406 at bugs.launchpad.net
Tue Oct 1 08:52:34 UTC 2024


```
$ sudo add-apt-repository cloud-archive:zed
$ sudo apt install openvswitch-switch
$ apt list --installed | grep openvswitch

openvswitch-common/jammy-updates,now 3.0.3-0ubuntu0.22.10.3~cloud3 amd64 [installed,automatic]
openvswitch-switch/jammy-updates,now 3.0.3-0ubuntu0.22.10.3~cloud3 amd64 [installed]
python3-openvswitch/jammy-updates,now 3.0.3-0ubuntu0.22.10.3~cloud3 amd64 [installed,automatic]

$ sudo add-apt-repository cloud-archive:antelope-proposed
$ sudo apt-get update
$ apt dist-upgrade --assume-yes

dpkg: error processing archive /tmp/apt-dpkg-install-d0T8zK/06-openvswitch-switch_3.1.3-0ubuntu0.23.04.1~cloud1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/openvswitch/local-config.ovsschema', which is also in package openvswitch-common 3.0.3-0ubuntu0.22.10.3~cloud3

...

Errors were encountered while processing:
 /tmp/apt-dpkg-install-d0T8zK/06-openvswitch-switch_3.1.3-0ubuntu0.23.04.1~cloud1_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

Hi JamesPage, I test it on jammy virtual machine and it still failed to
upgrade.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/2077406

Title:
  cloud-archive:zed -> cloud-archive:antelope upgrade broken

Status in Ubuntu Cloud Archive:
  Invalid
Status in Ubuntu Cloud Archive antelope series:
  Fix Committed
Status in openvswitch package in Ubuntu:
  Invalid

Bug description:
  Reproduce:

  ```
  $ sudo add-apt-repository cloud-archive:zed
  $ sudo apt install openvswitch-switch
  $ apt list --installed | grep openvswitch

  openvswitch-common/jammy-updates,now 3.0.3-0ubuntu0.22.10.3~cloud3 amd64 [installed,automatic]                 openvswitch-switch/jammy-updates,now 3.0.3-0ubuntu0.22.10.3~cloud3 amd64 [installed]
  python3-openvswitch/jammy-updates,now 3.0.3-0ubuntu0.22.10.3~cloud3 amd64 [installed,automatic]

  $ sudo add-apt-repository cloud-archive:antelope
  $ apt dist-upgrade --assume-yes

  ...

  Errors were encountered while processing:
   /tmp/apt-dpkg-install-wLZsoG/00-openvswitch-switch_3.1.3-0ubuntu0.23.04.1~cloud0_amd64.deb
  ```

  Related: https://github.com/canonical/charmed-openstack-
  upgrader/issues/494

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2077406/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list