File conflict problem with zypper dup on Tumbleweed

Greetings

For about a week or two I’ve had this issue of not being able to do a zypper dup without issues. At first the update just did an automatic restart and then just hung up, with me having to power off the computer manually. I did a snapper rollback, hoping that the issue would be fixed, and it somewhat did. I am now not getting the hang up, but rather some kind of package lock situation, which I don’t know how to resolve. Mostly it seems to come down to the Mesa packages. I use the packman repo normally, but it seems Mesa is installed from the tumbleweed repo at the moment.

Upon doing a zypper dup, these are the packages listed as being removed:

The following 32 packages are going to be REMOVED:
  kde-cli-tools6 kirigami-addons6 kscreen6 kscreenlocker6 kwin6 kwin6-x11 layer-shell-qt6 libgbm1-32bit libKirigamiAddonsStatefulApp6
  libKScreenLocker6 libKWaylandClient6 libkwin6 libLayerShellQtInterface6 libOSMesa8-32bit libvulkan_intel-32bit libvulkan_radeon-32bit Mesa-32bit
  Mesa-dri-32bit Mesa-gallium-32bit Mesa-libGL1-32bit Mesa-libglapi0-32bit Mesa-vulkan-device-select-32bit plasma6-desktop plasma6-desktop-emojier
  plasma6-session plasma6-session-x11 plasma6-workspace plasma6-workspace-libs powerdevil6 sddm-qt6-branding-openSUSE wacomtablet-kcm6
  xdg-desktop-portal-kde6

Afterwards, I get this message:

Checking for file conflicts: ................................................................................................................[error]
Detected 25 file conflicts:

File /etc/issue.net
  from install of
	 openSUSE-release-20241210-3262.1.x86_64 (repo-oss)
  conflicts with file from package
	 libssh4-0.11.1-1.1.x86_64 (@System)

File /etc/products.d/openSUSE.prod
  from install of
	 openSUSE-release-20241210-3262.1.x86_64 (repo-oss)
  conflicts with file from package
	 libssh4-0.11.1-1.1.x86_64 (@System)

File /usr/bin/plymouth
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File /usr/bin/sqlite3
  from install of
	 sqlite3-3.47.2-1.1.x86_64 (repo-oss)
  conflicts with file from package
	 system-user-flatpak-1.15.12-1.1.noarch (@System)

File /usr/lib/issue.d/10-openSUSE.conf
  from install of
	 openSUSE-release-20241210-3262.1.x86_64 (repo-oss)
  conflicts with file from package
	 libssh4-0.11.1-1.1.x86_64 (@System)

File /usr/lib/os-release
  from install of
	 openSUSE-release-20241210-3262.1.x86_64 (repo-oss)
  conflicts with file from package
	 libssh4-0.11.1-1.1.x86_64 (@System)

File /usr/lib64/gallium-pipe/pipe_nouveau.so
  from install of
	 Mesa-gallium-24.3.1-397.1.x86_64 (repo-oss)
  conflicts with file from package
	 bolt-0.9.8-3.1.x86_64 (@System)

File /usr/lib64/gallium-pipe/pipe_r300.so
  from install of
	 Mesa-gallium-24.3.1-397.1.x86_64 (repo-oss)
  conflicts with file from package
	 bolt-0.9.8-3.1.x86_64 (@System)

File /usr/lib64/gallium-pipe/pipe_r600.so
  from install of
	 Mesa-gallium-24.3.1-397.1.x86_64 (repo-oss)
  conflicts with file from package
	 bolt-0.9.8-3.1.x86_64 (@System)

File /usr/lib64/gallium-pipe/pipe_radeonsi.so
  from install of
	 Mesa-gallium-24.3.1-397.1.x86_64 (repo-oss)
  conflicts with file from package
	 bolt-0.9.8-3.1.x86_64 (@System)

File /usr/lib64/gallium-pipe/pipe_swrast.so
  from install of
	 Mesa-gallium-24.3.1-397.1.x86_64 (repo-oss)
  conflicts with file from package
	 bolt-0.9.8-3.1.x86_64 (@System)

File /usr/lib64/gallium-pipe/pipe_vmwgfx.so
  from install of
	 Mesa-gallium-24.3.1-397.1.x86_64 (repo-oss)
  conflicts with file from package
	 bolt-0.9.8-3.1.x86_64 (@System)

File /usr/lib64/libEGL_mesa.so.0.0.0
  from install of
	 Mesa-libEGL1-24.3.1-397.1.x86_64 (repo-oss)
  conflicts with file from package
	 libksysguard6-imports-6.2.4-1.1.x86_64 (@System)

File /usr/lib64/libply-splash-graphics.so.5.0.0
  from install of
	 libply-splash-graphics5-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 git-2.47.1-1.1.x86_64 (@System)

File /usr/lib64/plymouth/details.so
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File /usr/lib64/plymouth/label-pango.so
  from install of
	 plymouth-plugin-label-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 desktop-file-utils-0.28-1.1.x86_64 (@System)

File /usr/lib64/plymouth/renderers/drm.so
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File /usr/lib64/plymouth/renderers/frame-buffer.so
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File /usr/lib64/plymouth/text.so
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File /usr/libexec/plymouth/plymouthd-fd-escrow
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File /usr/sbin/plymouthd
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File /usr/share/man/man1/plymouth-set-default-theme.1.gz
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File /usr/share/man/man1/plymouth.1.gz
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File /usr/share/man/man8/plymouth.8.gz
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File /usr/share/man/man8/plymouthd.8.gz
  from install of
	 plymouth-22.02.122+94.4bd41a3-13.1.x86_64 (repo-oss)
  conflicts with file from package
	 fastfetch-2.31.0-1.1.x86_64 (@System)

File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Continue? [yes/no] (no): 

If I choose no it just aborts, if I choose yes, it will do with each package like this:

error: package sddm-qt6-branding-openSUSE-6.2.4-1.1.x86_64 is not installed
(  1/212) Removing: sddm-qt6-branding-openSUSE-6.2.4-1.1.x86_64 .............................................................................[error]
Removal of (65851)sddm-qt6-branding-openSUSE-6.2.4-1.1.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.

, and then just keep going until I choose abort.

Does anyone know what is going on in this one, and how it might be fixed?

I think it would be nice to all potential helpers when you post your list of repositories:

zypper lr -d

BTW, in the above code postings, the the line with the prompt and the command is missing. please always post complete: the line with the prompt/command, all output, the lien with the new prompt.

Files owned by packages that come from @System are packages that aren’t in a current repo. I would be inclined to remove that package unless you installed it for some specific reason.

I run into this occasionally, and that’s how I tend to handle it - either remove the package, or tell it to overwrite it (if presented with that option).

That cannot be true. This file has never been part of libssh4. Show

rpm -qi libssh4
Name        : libssh4
Version     : 0.11.1
Release     : 1.1
Architecture: x86_64
Install Date: субота, 07. децембар 2024. 17:41:14 CET
Group       : System/Libraries
Size        : 546828
License     : LGPL-2.1-or-later
Signature   : RSA/SHA512, субота, 30. новембар 2024. 13:30:53 CET, Key ID 35a2f86e29b700a4
Source RPM  : libssh-0.11.1-1.1.src.rpm
Build Date  : петак, 13. септембар 2024. 09:42:23 CEST
Build Host  : reproducible
Packager    : https://bugs.opensuse.org
Vendor      : openSUSE
URL         : https://www.libssh.org
Summary     : SSH library
Description :
An SSH implementation in the form of a library. With libssh, you can remotely
execute programs, transfer files, use a secure and transparent tunnel for your
remote programs. It supports SFTP as well.

This package provides libssh from https://www.libssh.org that should not be
confused with libssh2 available from https://www.libssh2.org (libssh2 package)
Distribution: openSUSE Tumbleweed

That is true, sorry

# | Alias                      | Name              | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                  | Service
--+----------------------------+-------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------+---------
1 | NVIDIA:repo-non-free       | repo-non-free     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/tumbleweed                      | NVIDIA
2 | openSUSE:repo-non-oss      | repo-non-oss      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/non-oss                      | openSUSE
3 | openSUSE:repo-openh264     | repo-openh264     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed              | openSUSE
4 | openSUSE:repo-oss          | repo-oss          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/oss                          | openSUSE
5 | openSUSE:repo-oss-debug    | repo-oss-debug    | No      | ----      | ----    |   99     | N/A    | http://cdn.opensuse.org/debug/tumbleweed/repo/oss                    | openSUSE
6 | openSUSE:repo-oss-source   | repo-oss-source   | No      | ----      | ----    |   99     | N/A    | http://cdn.opensuse.org/source/tumbleweed/repo/oss                   | openSUSE
7 | openSUSE:update-tumbleweed | update-tumbleweed | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://cdn.opensuse.org/update/tumbleweed                            | openSUSE
8 | packman                    | packman           | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ | 

And

rpm -ql libssh4
/usr/lib64/libssh.so.4
/usr/lib64/libssh.so.4.10.1
/usr/share/doc/packages/libssh4
/usr/share/doc/packages/libssh4/AUTHORS
/usr/share/doc/packages/libssh4/CHANGELOG
/usr/share/doc/packages/libssh4/README

20241210 includes an upgrade to libzypp, maybe that is causing some “confusion” in zypper? Maybe upgrading libzypp first, then attempting a dup is worth a shot?

This looks like rpmdb corruption. You could try

rpm --rebuilddb

if it makes any difference.

3 Likes

That was exactly that!
After rebuild, everything went smooth as butter.
Thank you so much! <3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.