Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] many packages depend on outdated python 3.12 (Read 695 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[SOLVED] many packages depend on outdated python 3.12

Hi all.

Subj.
Also nice to see qtox back in repos, but it needs rebuild too.
Also libhandy is there  for 3 months at least.

Code: [Select]
# check-link-consistency -q
ERR   --------------------------   --------------------------------------------------------------------------------   --------------------------------------------------
ERR   Package                      Problematic File                                                                   Unresolved Needed Libs                           
ERR   --------------------------   --------------------------------------------------------------------------------   --------------------------------------------------
ERR   gdb 15.2-3                   /usr/bin/gdb                                                                       libpython3.12.so.1.0                             
ERR   imath 3.1.12-1               /usr/lib/libPyImath_Python3_12-3_1.so.29.11.0                                      libpython3.12.so.1.0                             
ERR   kcoreaddons 6.9.0-3          /usr/lib/python3.12/site-packages/KCoreAddons.cpython-312-x86_64-linux-gnu.so      libpython3.12.so.1.0                             
ERR   kcoreaddons 6.9.0-3          /usr/lib/python3.12/site-packages/KCoreAddons.cpython-312-x86_64-linux-gnu.so      libshiboken6.cpython-312-x86_64-linux-gnu.so.6.8 
ERR   kguiaddons 6.9.0-3           /usr/lib/python3.12/site-packages/KGuiAddons.cpython-312-x86_64-linux-gnu.so       libpython3.12.so.1.0                             
ERR   kguiaddons 6.9.0-3           /usr/lib/python3.12/site-packages/KGuiAddons.cpython-312-x86_64-linux-gnu.so       libshiboken6.cpython-312-x86_64-linux-gnu.so.6.8 
ERR   knotifications 6.9.0-3       /usr/lib/python3.12/site-packages/KNotifications.cpython-312-x86_64-linux-gnu.so   libpython3.12.so.1.0                             
ERR   knotifications 6.9.0-3       /usr/lib/python3.12/site-packages/KNotifications.cpython-312-x86_64-linux-gnu.so   libshiboken6.cpython-312-x86_64-linux-gnu.so.6.8 
ERR   kwidgetsaddons 6.9.0-4       /usr/lib/python3.12/site-packages/KWidgetsAddons.cpython-312-x86_64-linux-gnu.so   libpython3.12.so.1.0                             
ERR   kwidgetsaddons 6.9.0-4       /usr/lib/python3.12/site-packages/KWidgetsAddons.cpython-312-x86_64-linux-gnu.so   libshiboken6.cpython-312-x86_64-linux-gnu.so.6.8 
ERR   kxmlgui 6.9.0-3              /usr/lib/python3.12/site-packages/KXmlGui.cpython-312-x86_64-linux-gnu.so          libpython3.12.so.1.0                             
ERR   kxmlgui 6.9.0-3              /usr/lib/python3.12/site-packages/KXmlGui.cpython-312-x86_64-linux-gnu.so          libshiboken6.cpython-312-x86_64-linux-gnu.so.6.8 
ERR   libhandy 1.8.3-2             /usr/lib/glade/modules/libglade-handy-1.so                                         libgladeui-2.so.13                               
ERR   libimobiledevice 1.3.0-14    /usr/lib/python3.12/site-packages/imobiledevice.so                                 libpython3.12.so.1.0                             
ERR   libplist 2.6.0-1             /usr/lib/python3.12/site-packages/plist.so                                         libpython3.12.so.1.0                             
ERR   libreoffice-fresh 24.8.3-1   /usr/lib/libreoffice/program/libpythonloaderlo.so                                  libpython3.12.so.1.0                             
ERR   libreoffice-fresh 24.8.3-1   /usr/lib/libreoffice/program/libpyuno.so                                           libpython3.12.so.1.0                             
ERR   postgresql 16.3-4            /usr/lib/postgresql/hstore_plpython3.so                                            libpython3.12.so.1.0                             
ERR   postgresql 16.3-4            /usr/lib/postgresql/jsonb_plpython3.so                                             libpython3.12.so.1.0                             
ERR   postgresql 16.3-4            /usr/lib/postgresql/ltree_plpython3.so                                             libpython3.12.so.1.0                             
ERR   postgresql 16.3-4            /usr/lib/postgresql/plpython3.so                                                   libpython3.12.so.1.0                             
ERR   python-pyqt6 6.8.0-1         /usr/lib/qt6/plugins/PyQt6/libpyqt6qmlplugin.so                                    libpython3.12.so.1.0                             
ERR   python-pyqt6 6.8.0-1         /usr/lib/qt6/plugins/designer/libpyqt6.so                                          libpython3.12.so.1.0                             
ERR   qtox 1.17.6-4                /usr/bin/qtox                                                                      libavcodec.so.60                                 
ERR   qtox 1.17.6-4                /usr/bin/qtox                                                                      libavdevice.so.60                                
ERR   qtox 1.17.6-4                /usr/bin/qtox                                                                      libavformat.so.60                                
ERR   qtox 1.17.6-4                /usr/bin/qtox                                                                      libavutil.so.58                                  
ERR   qtox 1.17.6-4                /usr/bin/qtox                                                                      libswscale.so.7                                  
ERR   smbclient 2:4.21.2-3         /usr/lib/samba/libsamba-net-join.cpython-313-x86-64-linux-gnu-private-samba.so     libpytalloc-util.cpython-313-x86-64-linux-gnu.so.2
ERR   smbclient 2:4.21.2-3         /usr/lib/samba/libsamba-python.cpython-313-x86-64-linux-gnu-private-samba.so       libpytalloc-util.cpython-313-x86-64-linux-gnu.so.2
ERR   talloc 2.4.2-3               /usr/lib/libpytalloc-util.cpython-312-x86-64-linux-gnu.so.2.4.2                    libpython3.12.so.1.0                             
ERR   talloc 2.4.2-3               /usr/lib/python3.12/site-packages/talloc.cpython-312-x86_64-linux-gnu.so           libpython3.12.so.1.0                             
ERR   vapoursynth R70-1            /usr/lib/libvapoursynth-script.so.0.0.0                                            libpython3.12.so.1.0                             
ERR   ------------------------------------------------------------------------------------------------------------------------------------------------------------------
ERR   Total 24 problematic file(s): 24 in 17 package(s) + 0 unassigned.
ERR   ------------------------------------------------------------------------------------------------------------------------------------------------------------------


 

Re: many packages depend on outdated python 3.12

Reply #2
Some of these were fixed a few hours ago, some even less, so there should be fewer once all mirrors have synced.

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: many packages depend on outdated python 3.12

Reply #3
I can confirm that multiple packages relying on python are broken. On my system examples of such packages include calibre and thefuck:

Code: [Select]
$ calibre
Failed to import PyQt module: PyQt6.QtCore with error: No module named 'PyQt6.QtCore'
Traceback (most recent call last):
  File "/usr/bin/calibre", line 21, in <module>
    sys.exit(calibre())
             ~~~~~~~^^
  File "/usr/lib/calibre/calibre/gui_launch.py", line 71, in calibre
    setup_qt_logging()
    ~~~~~~~~~~~~~~~~^^
  File "/usr/lib/calibre/calibre/gui_launch.py", line 36, in setup_qt_logging
    from qt.core import QLoggingCategory
ImportError: cannot import name 'QLoggingCategory' from 'qt.core' (/usr/lib/calibre/qt/core.py)

Code: [Select]
$ fuck
Traceback (most recent call last):
  File "/usr/bin/fuck", line 5, in <module>
    from thefuck.entrypoints.not_configured import main
  File "/usr/lib/python3.13/site-packages/thefuck/entrypoints/not_configured.py", line 12, in <module>
    from psutil import Process  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'psutil'

As per Artist's comment, I'll simply attempt another update in a few hours to see if these issues have been resolved. Thanks as always.

Re: many packages depend on outdated python 3.12

Reply #4
Some of these were fixed a few hours ago, some even less, so there should be fewer once all mirrors have synced.

At the moment:

Code: [Select]
ERR   -------------------------------   --------------------------------------------------------------------------------   ------------------------------------------------
ERR   Package                           Problematic File                                                                   Unresolved Needed Libs                         
ERR   -------------------------------   --------------------------------------------------------------------------------   ------------------------------------------------
ERR   kcoreaddons 6.9.0-3               /usr/lib/python3.12/site-packages/KCoreAddons.cpython-312-x86_64-linux-gnu.so      libpython3.12.so.1.0                           
ERR   kcoreaddons 6.9.0-3               /usr/lib/python3.12/site-packages/KCoreAddons.cpython-312-x86_64-linux-gnu.so      libshiboken6.cpython-312-x86_64-linux-gnu.so.6.8
ERR   kguiaddons 6.9.0-3                /usr/lib/python3.12/site-packages/KGuiAddons.cpython-312-x86_64-linux-gnu.so       libpython3.12.so.1.0                           
ERR   kguiaddons 6.9.0-3                /usr/lib/python3.12/site-packages/KGuiAddons.cpython-312-x86_64-linux-gnu.so       libshiboken6.cpython-312-x86_64-linux-gnu.so.6.8
ERR   knotifications 6.9.0-3            /usr/lib/python3.12/site-packages/KNotifications.cpython-312-x86_64-linux-gnu.so   libpython3.12.so.1.0                           
ERR   knotifications 6.9.0-3            /usr/lib/python3.12/site-packages/KNotifications.cpython-312-x86_64-linux-gnu.so   libshiboken6.cpython-312-x86_64-linux-gnu.so.6.8
ERR   kwidgetsaddons 6.9.0-4            /usr/lib/python3.12/site-packages/KWidgetsAddons.cpython-312-x86_64-linux-gnu.so   libpython3.12.so.1.0                           
ERR   kwidgetsaddons 6.9.0-4            /usr/lib/python3.12/site-packages/KWidgetsAddons.cpython-312-x86_64-linux-gnu.so   libshiboken6.cpython-312-x86_64-linux-gnu.so.6.8
ERR   kxmlgui 6.9.0-3                   /usr/lib/python3.12/site-packages/KXmlGui.cpython-312-x86_64-linux-gnu.so          libpython3.12.so.1.0                           
ERR   kxmlgui 6.9.0-3                   /usr/lib/python3.12/site-packages/KXmlGui.cpython-312-x86_64-linux-gnu.so          libshiboken6.cpython-312-x86_64-linux-gnu.so.6.8
ERR   libhandy 1.8.3-2                  /usr/lib/glade/modules/libglade-handy-1.so                                         libgladeui-2.so.13                             
ERR   libtorrent-rasterbar 1:2.0.10-3   /usr/lib/python3.12/site-packages/libtorrent.cpython-312-x86_64-linux-gnu.so       libboost_python312.so.1.86.0                   
ERR   qtox 1.17.6-4                     /usr/bin/qtox                                                                      libavcodec.so.60                               
ERR   qtox 1.17.6-4                     /usr/bin/qtox                                                                      libavdevice.so.60                              
ERR   qtox 1.17.6-4                     /usr/bin/qtox                                                                      libavformat.so.60                              
ERR   qtox 1.17.6-4                     /usr/bin/qtox                                                                      libavutil.so.58                                
ERR   qtox 1.17.6-4                     /usr/bin/qtox                                                                      libswscale.so.7                                
ERR   ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
ERR   Total 8 problematic file(s): 8 in 8 package(s) + 0 unassigned.
ERR   ---------------------------------------------------------------------------------------------------------------------------------------------------------------------

Re: many packages depend on outdated python 3.12

Reply #5
The kf pkg updates had run into errors; these have been fixed now.

qtox is no longer maintained upstream and will be removed.
its successor seems to be trifa_material.

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: many packages depend on outdated python 3.12

Reply #6
calibre has now been added to the omniverse repository; you might want to switch to that.

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: many packages depend on outdated python 3.12

Reply #7
I guess it's also related. Tried to update the system (a lot of packages are in the queue) and got this:

Code: [Select]
error: failed to commit transaction (conflicting files)
/usr/lib/python3.13/site-packages/_tdb_text.py exists in both 'tdb' and 'samba'
/usr/lib/python3.13/site-packages/tdb.cpython-313-x86_64-linux-gnu.so exists in both 'tdb' and 'samba'
/usr/lib/python3.13/site-packages/_tevent.cpython-313-x86_64-linux-gnu.so exists in both 'tevent' and 'samba'
/usr/lib/python3.13/site-packages/tevent.py exists in both 'tevent' and 'samba'
Errors occurred, no packages were upgraded

What should I do here?

Re: many packages depend on outdated python 3.12

Reply #8
That samba pkg seems incorrect; checking...

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: many packages depend on outdated python 3.12

Reply #9
samba has been updated; once a new version is available on the mirrors pls try again

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: many packages depend on outdated python 3.12

Reply #10
The new samba seems to be bringing issues, if you hadn't already spotted this, tdb and tevent need to be ignored to upgrade, this is with the Mate desktop and caja-share which is part of the optional mate-extra group, so may not be present on all Mate installations:
Code: [Select]
error: failed to commit transaction (conflicting files)
tdb: /usr/lib/python3.13/site-packages/_tdb_text.py exists in filesystem (owned by samba)
tdb: /usr/lib/python3.13/site-packages/tdb.cpython-313-x86_64-linux-gnu.so exists in filesystem (owned by samba)
tevent: /usr/lib/python3.13/site-packages/_tevent.cpython-313-x86_64-linux-gnu.so exists in filesystem (owned by samba)
tevent: /usr/lib/python3.13/site-packages/tevent.py exists in filesystem (owned by samba)
Or perhaps this is still the old samba then, the version number is not stated above?
Code: [Select]
Version           : 2:4.21.2-3.1
Packager        : artist <[email protected]>
Build Date      : Sun 22 Dec 2024 20:41:01 GMT

Name            : tdb
(available in repo) Version         : 1.4.12-2
(installed) Version         : 1.4.12-1

Name            : tevent
(available in repo) Version         : 1:0.16.1-4
(installed) Version         : 1:0.16.1-3

When I did:
# pacman -S extra/tdb extra/tevent
it failed as before, but when I then tried:
# pacman -S  extra/tdb extra/tevent extra/samba
warning: downgrading package samba (2:4.21.2-3.1 => 2:4.21.2-3)
they all installed OK, don't know if that helps, I'm not suggesting that as a solution for other users I should add.

Re: many packages depend on outdated python 3.12

Reply #11
The samba issue was fixed yesterday. I just double checked and the current package samba-2:4.21.2-3.2-x86_64.pkg.tar.zst no longer contains the conflicting files.

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: many packages depend on outdated python 3.12

Reply #12
Thank you, that fixed version has arrived in the mirror I was using now and installed without problems, it was too soon before.

Re: many packages depend on outdated python 3.12

Reply #13
Thx for the feedback :)

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons