[Bug 1772681] Re: python-swauth package dropped but not removed

Corey Bryant corey.bryant at canonical.com
Tue May 22 20:45:50 UTC 2018


On Tue, May 22, 2018 at 3:12 PM, Dan Streetman <dan.streetman at canonical.com>
wrote:

> it looks like between 1.0.x and 1.1.0, there was a fork or re-homing
> done, with the original being https://github.com/gholt/swauth and new
> being https://github.com/openstack/swauth
>
> so i believe the 'new' swauth started at version 1.1.0 with no history
> from the previous project, which is probably why it didn't include a
> Replaces: python-swauth
>

Probably so. I think we'll need to add Breaks/Replaces in line with #6 here:
https://wiki.debian.org/PackageTransition


> --
> You received this bug notification because you are a member of Ubuntu
> OpenStack, which is subscribed to Ubuntu Cloud Archive.
> https://bugs.launchpad.net/bugs/1772681
>
> Title:
>   python-swauth package dropped but not removed
>
> Status in Ubuntu Cloud Archive:
>   New
> Status in Ubuntu Cloud Archive newton series:
>   New
> Status in Ubuntu Cloud Archive ocata series:
>   New
> Status in Ubuntu Cloud Archive pike series:
>   New
> Status in Ubuntu Cloud Archive queens series:
>   New
> Status in Ubuntu Cloud Archive rocky series:
>   New
> Status in swauth package in Ubuntu:
>   New
> Status in swauth source package in Bionic:
>   New
>
> Bug description:
>   Versions greater than 1.0.4-0 have dropped the python-swauth package
>   but do not remove it such that an upgrade breaks with error like:
>
>   Unpacking swauth (1.1.0-3~cloud0) over (1.0.4-0ubuntu1.16.04.1) ...
>   dpkg: error processing archive /var/cache/apt/archives/swauth_1.1.0-3~cloud0_all.deb
> (--unpack):
>    trying to overwrite '/usr/lib/python2.7/dist-packages/swauth/__init__.py',
> which is also in package python-swauth 1.0.4-0ubuntu1.16.04.1
>   Processing triggers for libc-bin (2.23-0ubuntu10) ...
>   Processing triggers for man-db (2.7.5-1) ...
>   Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
>   Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
>   Processing triggers for ureadahead (0.100.0-19) ...
>   Processing triggers for systemd (229-4ubuntu21.2) ...
>   Errors were encountered while processing:
>    /var/cache/apt/archives/swauth_1.1.0-3~cloud0_all.deb
>   E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>   If i remove python-swauth prior to upgrade it works just fine.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cloud-archive/+bug/1772681/+subscriptions
>
> --
> Ubuntu-openstack-bugs mailing list
> Ubuntu-openstack-bugs at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/ubuntu-openstack-bugs
>

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

Title:
  python-swauth package dropped but not removed

Status in Ubuntu Cloud Archive:
  New
Status in Ubuntu Cloud Archive newton series:
  New
Status in Ubuntu Cloud Archive ocata series:
  New
Status in Ubuntu Cloud Archive pike series:
  New
Status in Ubuntu Cloud Archive queens series:
  New
Status in Ubuntu Cloud Archive rocky series:
  New
Status in swauth package in Ubuntu:
  New
Status in swauth source package in Bionic:
  New

Bug description:
  Versions greater than 1.0.4-0 have dropped the python-swauth package
  but do not remove it such that an upgrade breaks with error like:

  Unpacking swauth (1.1.0-3~cloud0) over (1.0.4-0ubuntu1.16.04.1) ...
  dpkg: error processing archive /var/cache/apt/archives/swauth_1.1.0-3~cloud0_all.deb (--unpack):
   trying to overwrite '/usr/lib/python2.7/dist-packages/swauth/__init__.py', which is also in package python-swauth 1.0.4-0ubuntu1.16.04.1
  Processing triggers for libc-bin (2.23-0ubuntu10) ...
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
  Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Processing triggers for systemd (229-4ubuntu21.2) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/swauth_1.1.0-3~cloud0_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  If i remove python-swauth prior to upgrade it works just fine.

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



More information about the Ubuntu-openstack-bugs mailing list