[Bug 1916250] Re: gir1.2-signon-2.0 needs to declare replace on older releases (Groovy2Hirsute)
Rolf Leggewie
1916250 at bugs.launchpad.net
Fri Feb 19 18:36:21 UTC 2021
Thank you for your comment, Robie.
I agree about Conflicts most likely not being required here. I felt it
was conservative to add so as not to introduce a regression if both
packages are installed. After some further looking into it, a
regression is unlikely. The file in question is identical in both
packages, unchanged upstream for 8 years, so it's safe to "overwrite"
with the "newer" version: https://gitlab.com/accounts-sso/libsignon-
glib/-/tree/master/pygobject So, in the end, the conservative thing to
do is to allow anyone with the need to install both packages at the same
time and do a Replaces only.
About the versioning, I also agree that in general it is a good idea to
be more permissive and limit restrictions by versioning them. In this
case, in essence the package name is already the versioning.
Bottom line: Can you drop the Conflicts line in the patch but otherwise
upload as proposed here?
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1916250
Title:
gir1.2-signon-2.0 needs to declare replace on older releases
(Groovy2Hirsute)
Status in libsignon-glib package in Ubuntu:
New
Bug description:
gir1.2-signon-1.0 from groovy
gir1.2-signon-2.0 from hirsute
above two packages ship the same file /usr/lib/python3/dist-
packages/gi/overrides/Signon.py without specifying how to resolve the
conflict.
Unpacking gir1.2-signon-2.0:amd64 (2.1-3) ...
dpkg: error processing archive /var/cache/apt/archives/gir1.2-signon-2.0_2.1-3_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3/dist-packages/gi/overrides/Signon.py', which is also in package gir1.2-signon-1.0 1.14+17.04.20161117-0ubuntu5
Errors were encountered while processing:
/var/cache/apt/archives/gir1.2-signon-2.0_2.1-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Probably needs a conflicts/replaces dependency added to the newer
hirsute package.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsignon-glib/+bug/1916250/+subscriptions
More information about the Ubuntu-sponsors
mailing list