I followed the test case on a focal system whose sources.list file I
changed to hirsute and had no issues.

Preparing to unpack .../8-gir1.2-signon-2.0_2.1-3ubuntu0.21.04_amd64.deb ...
Unpacking gir1.2-signon-2.0:amd64 (2.1-3ubuntu0.21.04) ...
Replacing files in old package gir1.2-signon-1.0 (1.14+17.04.20161117-0ubuntu5) 
...
Preparing to unpack .../9-libsignon-glib-dev_2.1-3ubuntu0.21.04_amd64.deb ...
Unpacking libsignon-glib-dev:amd64 (2.1-3ubuntu0.21.04) over 
(1.14+17.04.20161117-0ubuntu5) ...
Setting up libtirpc-common (1.3.1-1build1) ...
Setting up libsepol1-dev:amd64 (3.1-1ubuntu1) ...
Setting up libffi8ubuntu1:amd64 (3.4~20200819gead65ca871-0ubuntu5) ...
Setting up libfakeroot:amd64 (1.25.3-1.1ubuntu2) ...
Setting up fakeroot (1.25.3-1.1ubuntu2) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu4) ...
Setting up libc-dev-bin (2.33-0ubuntu5) ...
Setting up libtirpc3:amd64 (1.3.1-1build1) ...
Setting up libselinux1-dev:amd64 (3.1-3build1) ...
Setting up libglib2.0-0:amd64 (2.68.1-1~ubuntu21.04.1) ...
No schema files found: doing nothing.
Setting up libglib2.0-bin (2.68.1-1~ubuntu21.04.1) ...
Setting up libsignon-glib2:amd64 (2.1-3ubuntu0.21.04) ...
Setting up libtirpc-dev:amd64 (1.3.1-1build1) ...
Setting up libnsl2:amd64 (1.3.0-0ubuntu3) ...
Setting up libgirepository-1.0-1:amd64 (1.66.1-1build1) ...
Setting up libglib2.0-dev-bin (2.68.1-1~ubuntu21.04.1) ...
Setting up gir1.2-glib-2.0:amd64 (1.66.1-1build1) ...
Setting up libnsl-dev:amd64 (1.3.0-0ubuntu3) ...
Setting up gir1.2-signon-2.0:amd64 (2.1-3ubuntu0.21.04) ...
Setting up libc6-dev:amd64 (2.33-0ubuntu5) ...
Setting up libmount-dev:amd64 (2.36.1-7ubuntu2) ...
Setting up libsignon-glib-dev:amd64 (2.1-3ubuntu0.21.04) ...
Setting up libglib2.0-dev:amd64 (2.68.1-1~ubuntu21.04.1) ...
Processing triggers for libc-bin (2.33-0ubuntu5) ...

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libsignon-glib in Ubuntu.
https://bugs.launchpad.net/bugs/1916250

Title:
  gir1.2-signon-2.0 needs to declare replace on older releases
  (Groovy2Hirsute and Focal2Jammy)

Status in libsignon-glib package in Ubuntu:
  Fix Released
Status in libsignon-glib source package in Hirsute:
  Fix Committed
Status in libsignon-glib source package in Impish:
  Fix Committed

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.

  [Test Case]
  This can be simply tested with a focal schroot:
  1) apt-get install vim libsignon-glib-dev
  2) edit /etc/apt/sources.list replacing focal with hirsute
  3) apt-get update
  4) apt-get install libsignon-glib-dev

  With the version of libsignon-glib-dev from -proposed you'll no longer
  receive the 'dpkg: error' from below.

  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.

  [Regression Potential]
  We are adding a replaces with gir1.2-signon-1.0 so anything that depends on 
that package would be broken but given that that package is no longer available 
after focal that seems fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsignon-glib/+bug/1916250/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to