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')?


cheers,

Andreas

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

Attachment: click_0.5.2-3.log.gz
Description: application/gzip

Reply via email to