Update incomplete because conflict in "python" package

Not clear if “solution 1” will affect any software.
Probably "Solution 2: keep obsolete python … " is not the best option for future updates.

sudo zypper dup
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

Problem: 1: problem with the installed python311-qt5-sip-12.16.1-2.4.x86_64
 Solution 1: install python311-qt5-sip-12.16.1-lp156.5.5.x86_64 from vendor obs://build.opensuse.org/home:Sauerland
  replacing python311-qt5-sip-12.16.1-2.4.x86_64 from vendor openSUSE
 Solution 2: keep obsolete python311-qt5-sip-12.16.1-2.4.x86_64

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 

Why are you install an end of life Leap 15.6 package on Tumbleweed? Likewise qt5 and python 3.11 are deprecated on Tumbleweed?

Strange things happens.
I never installed any of these packages on purpose. They probably are dependencies of software I installed. Unfortunately it often happens to me that if I want to install a package I had to add repositories and of course dependencies. And I think this lead to incompatibility.

@Giorgio_os zypper if python313-qt5-sip is what is available. But qt5 is on the way out, as in dropping from Tumbleweed, acceptance of submission requests for anything qt5 related is stopping…

I follow what you say but I have several problems:

  1. which packages need “python311-qt5-sip-12.16.1-lp156.5.5.x86_64” ?
    Is there a way to know which packages need it as dependency?

  2. in Discover conflict is due to “libwx_gtk3u_webview_suse16_0_0”

  3. in the future when I need to install a package quite often I have to add dependencies coming from different repos not always compatible with “standard” repos and this lead to conflict. That’s not easy to know it in advance. Difficult to choose if install or not.

If you install from the distro repos ( oss, non-oss, update, openh264 ) that never ever happens. 100% sure. You should remove that python311 package ( and any other ) from 15.6, otherwise no stable system and serious breakage guaranteed. Please show: zypper lr -d and rpm -qa | grep lp15.

zypper rm --dry-run --clean-deps python311-qt5-sip-12.16.1-lp156.5.5.x86_64

will show all packages which depend on python311-qt5-sip-12.16.1-lp156.5.5.x86_64.

1 Like

This is clear to me. Unfortunately it happens (quite often) I need packages not included in these distro repos. Then I have to choose between adding repos (without knowing all effect) and not installing software.

~> zypper lr -d and rpm -qa | grep lp15
Repository ‘and’ not found by its alias, number, or URI.
Repository ‘rpm’ not found by its alias, number, or URI.
Repository ‘-qa’ not found by its alias, number, or URI.

~> sudo zypper rm --dry-run --clean-deps python311-qt5-sip-12.16.1-lp156.5.5.x86_64
Reading installed packages…
‘python311-qt5-sip-12.16.1-lp156.5.5.x86_64’ not found in package names. Trying capabilities.
No provider of ‘python311-qt5-sip-12.16.1-lp156.5.5.x86_64’ found.
Resolving package dependencies…
Nothing to do.

If you look carefully you’ll see that these are 2 commands, the “and” is not part of it.

No, use flatpaks.

This means python311-qt5-sip-12.16.1-lp156.5.5.x86_64 is not installed in your system so none of the installed packages should depend on it!?

You can use

zypper verify

to check whether all dependencies in your system are satisfied.

You also did not see that x86_64 isnot part of a package name. The command should be
sudo zypper rm --dry-run --clean-deps python311-qt5-sip

# zypper rm -D -u python314-PyQt6-sip-13.11.1-1.3.x86_64
Reading installed packages...
Resolving package dependencies...

The following 71 packages are going to be REMOVED:
  calibre expat libjpeg-turbo libpodofo2 libturbojpeg0 libwmf-tools optipng python314-Brotli python314-Deprecated
  python314-FontTools python314-Markdown python314-Pillow python314-PyQt6 python314-PyQt6-WebEngine python314-PyQt6-sip
  python314-Pygments python314-anyio python314-apsw python314-bcrypt python314-beautifulsoup4 python314-certifi python314-cffi
  python314-chardet python314-cryptography python314-css-parser python314-cssselect python314-dbus-python python314-dnspython
  python314-feedparser python314-h11 python314-html2text python314-html5-parser python314-html5lib python314-httpcore
  python314-httpx python314-idna python314-ifaddr python314-inflate64 python314-jaconv python314-jeepney python314-lxml
  python314-lxml_html_clean python314-mechanize python314-msgpack python314-multivolumefile python314-netifaces python314-olefile
  python314-psutil python314-py7zr python314-pybcj python314-pychm python314-pycparser python314-pycryptodome
  python314-pycryptodomex python314-pyppmd python314-pystache python314-python-dateutil python314-regex python314-sgmllib3k
  python314-six python314-sniffio python314-soupsieve python314-texttable python314-typing_extensions python314-tzdata
  python314-tzlocal python314-webencodings python314-wrapt python314-xxhash python314-zeroconf unrar

71 packages to remove.

Package install size change:
              |         0 B    required by packages that will be installed
  -223.8 MiB  |  -  223.8 MiB  released by packages that will be removed

Backend:  classic_rpmtrans --dry-run
Continue? [y/n/v/...? shows all options] (y): n
#

That is not what was asked for, no idea why you post this. python314 != python311.

This is a completely different package than from the topic opener:

As the second package is no longer available in the TW repos, it is likely a system package which can safely be removed.

1 Like

I find this package installed:
python311-qt5-sip - The sip module support for PyQt5
and you suggest to remove it, right?

…or you could execute the already provide command to prove that the package is no longer needed.
zypper rm --dry-run --clean-deps python311-qt5-sip

Afterwards remove it if it is not needed by any package…

~> sudo zypper rm --dry-run --clean-deps python311-qt5-sip
Reading installed packages…
Package ‘python311-qt5-sip’ not found.
Resolving package dependencies…
Nothing to do.

Probably removed during last update with many other “python” related packages.

So the package is already removed? Does your zypper dup run flawlessly now?

Unfortunately not yet:

:~> sudo zypper dup
Loading repository data…
Reading installed packages…
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See ‘man zypper’ for more information about this command.
Computing distribution upgrade…

The following 66 packages are going to be upgraded:
calibre ffmpeg-8 gdk-pixbuf-loader-libheif libSvtAv1Enc3 libavcodec62 libavdevice62 libavfilter11 libavformat62 libavutil60 libheif-aom libheif-dav1d libheif-ffmpeg libheif-jpeg
libheif-openjpeg libheif-rav1e libheif-svtenc libheif1 libleancrypto1 libncurses6 librados2 librbd1 libsubid6 libswresample6 libswscale9 libudisks2-0 libudisks2-0_btrfs libvlc5
libvlccore9 libx265-215 login_defs ncurses-utils openSUSE-release openSUSE-release-ftp openvpn patterns-kde-kde patterns-kde-kde_games patterns-kde-kde_internet
patterns-kde-kde_multimedia patterns-kde-kde_office patterns-kde-kde_pim patterns-kde-kde_plasma patterns-kde-kde_utilities patterns-kde-kde_utilities_opt patterns-kde-kde_yast
permctl permissions permissions-config python313-pycairo python313-rich python314-pycairo python314-rich shadow shadow-pw-mgmt terminfo terminfo-base terminfo-iterm terminfo-screen
udisks2 udisks2-bash-completion udisks2-lang vlc vlc-codec-gstreamer vlc-codecs vlc-lang vlc-noX vlc-qt

The following 10 patterns are going to be upgraded:
kde kde_games kde_internet kde_multimedia kde_office kde_pim kde_plasma kde_utilities kde_utilities_opt kde_yast

The following product is going to be upgraded:
openSUSE Tumbleweed 20260809-0 → 20260811-0

The following NEW package is going to be installed:
python314-feedparser-sgmllib

66 packages to upgrade, 1 new.

Package download size: 73.9 MiB

Package install size change:
| 230.1 MiB required by packages that will be installed
144.7 KiB | - 229.9 MiB released by packages that will be removed

Backend: classic_rpmtrans
Continue? [y/n/v/…? shows all options] (y):

Whats the issue with this output? That is a normal zypper dup output without any conflicts…hit yes and perform the upgrade.