Hi,

On  Do 30 Mai 2024 12:14:59 CEST, Andreas Beckmann wrote:

Package: click
Version: 0.5.2-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'bookworm'.
It installed fine in 'bookworm', then the upgrade to 'trixie' fails.

From the attached log (scroll to the bottom...):

  Preparing to unpack .../06-click_0.5.2-3_amd64.deb ...
  Traceback (most recent call last):
    File "/usr/bin/click", line 31, in <module>
      import gi
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 40, in <module>
      from . import _gi
ImportError: /lib/x86_64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: g_once_init_leave_pointer dpkg: warning: old click package pre-removal script subprocess returned error exit status 1
  dpkg: trying script from the new package instead ...
  Traceback (most recent call last):
    File "/usr/bin/click", line 31, in <module>
      import gi
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 40, in <module>
      from . import _gi
ImportError: /lib/x86_64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: g_once_init_leave_pointer dpkg: error processing archive /tmp/apt-dpkg-install-7xvYff/06-click_0.5.2-3_amd64.deb (--unpack): new click package pre-removal script subprocess returned error exit status 1


The .prerm calls 'click hook remove click-desktop' which fails because
python3-gi is temporarily not usable (because libglib2.0-0t64 is not yet
unpacked).
Do you really need to run that command in the 'upgrade' case? Or could
that be restricted to 'remove' (and 'purge')?

I have now uploaded a fix for this (limiting the DH prerm recipe to remove (ah... and purge... needs a follow then...)).

Do I actually upload a second time then, because I think that at build time of click, the already installed dh_click gets used?


cheers,

Andreas

PS: please use 'command -v' instead of 'which'

Ah, also that one... Needs a follow-up as well.

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgpSoS43PfhF4.pgp
Description: Digitale PGP-Signatur

Reply via email to