Why not showing the complete output of sudo zypper dup?
System packages mean, this package was installed from a repository which is no longer available on your system.
Zypper wants to remove kwin6-6.1.1-1.1 (orphaned package) as you still have kwin6-6.1.1.2-1.1 (actual version) installed.
If you get “logged out” whilst updating sounds like that you don’t do the update from a terminal session. This was already explained several time in the forum.
Btw the output from sudo zypper repos is nearly useless as it omits the most important information: the URL. Always use sudo zypper lr -d to show a repo list.
sudo zypper dup --details
[sudo] password for root:
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 8 items are locked and will not be changed by any action:
Available:
insync-caja insync-headless insync-nautilus insync-nemo insync-thunar
Installed:
insync 3.8.6.50504-fc39 x86_64 @System Insync
insync-dolphin 3.7.9.50368-1 noarch @System Insync
insync-emblem-icons 3.4.2.40983-1 noarch @System @e73ead5e6ad0
The following 66 packages are going to be upgraded:
cpupower 6.9.6-8.8 -> 6.9.7-8.9 x86_64 openSUSE-Tumbleweed-Oss openSUSE
cpupower-bash-completion 6.9.6-8.8 -> 6.9.7-8.9 noarch openSUSE-Tumbleweed-Oss openSUSE
gmic-data 3.4.0-1.1 -> 3.4.0-1.2 noarch openSUSE-Tumbleweed-Oss openSUSE
kvm_stat 6.9.6-23.18 -> 6.9.7-23.19 noarch openSUSE-Tumbleweed-Oss openSUSE
kwin6-x11 6.1.1-1.1 -> 6.1.1.2-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libcpupower1 6.9.6-8.8 -> 6.9.7-8.9 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libgbm1 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libgbm-devel 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libgmic3 3.4.0-1.1 -> 3.4.0-1.2 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libkwin6 6.1.1-1.1 -> 6.1.1.2-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libpipewire-0_3-0 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libpython3_10-1_0 3.10.14-2.1 -> 3.10.14-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libvdpau_r600 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libvdpau_radeonsi 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libvlc5 3.0.21-2.1 -> 3.0.21-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libvlccore9 3.0.21-2.1 -> 3.0.21-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libvulkan_radeon 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
libwireplumber-0_5-0 0.5.3+git11.4868b3c-1.1 -> 0.5.4+git2.96dc045-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-dri 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-dri-devel 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-gallium 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-KHR-devel 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-libEGL1 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-libEGL-devel 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-libGL1 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-libglapi0 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-libGL-devel 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-libva 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
Mesa-vulkan-device-select 24.1.2-382.1 -> 24.1.2-383.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
openssh 9.6p1-9.1 -> 9.6p1-11.1 x86_64 openSUSE-Tumbleweed-Update openSUSE
openssh-askpass-gnome 9.6p1-9.1 -> 9.6p1-11.1 x86_64 openSUSE-Tumbleweed-Update openSUSE
openssh-clients 9.6p1-9.1 -> 9.6p1-11.1 x86_64 openSUSE-Tumbleweed-Update openSUSE
openssh-common 9.6p1-9.1 -> 9.6p1-11.1 x86_64 openSUSE-Tumbleweed-Update openSUSE
openssh-server 9.6p1-9.1 -> 9.6p1-11.1 x86_64 openSUSE-Tumbleweed-Update openSUSE
openssh-server-config-rootlogin 9.6p1-9.1 -> 9.6p1-11.1 x86_64 openSUSE-Tumbleweed-Update openSUSE
openSUSE-release 20240628-2974.1 -> 20240629-2976.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
openSUSE-release-appliance-custom 20240628-2974.1 -> 20240629-2976.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
pipewire 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
pipewire-alsa 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
pipewire-aptx 1.0.1-1699.1.pm.4 -> 1.2.0-1699.1.pm.1 x86_64 Packman http://packman.links2linux.de
pipewire-devel 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
pipewire-jack 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
pipewire-libjack-0_3 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
pipewire-modules-0_3 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
pipewire-pulseaudio 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
pipewire-spa-plugins-0_2 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
pipewire-spa-tools 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
pipewire-tools 1.1.83-1.1 -> 1.2.0-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
python310 3.10.14-2.1 -> 3.10.14-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
python310-base 3.10.14-2.1 -> 3.10.14-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
python310-curses 3.10.14-2.1 -> 3.10.14-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
python310-dbm 3.10.14-2.1 -> 3.10.14-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
vlc 3.0.21-2.1 -> 3.0.21-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
vlc-codec-gstreamer 3.0.21-2.1 -> 3.0.21-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
vlc-devel 3.0.21-2.1 -> 3.0.21-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
vlc-jack 3.0.21-2.1 -> 3.0.21-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
vlc-lang 3.0.21-2.1 -> 3.0.21-3.1 noarch openSUSE-Tumbleweed-Oss openSUSE
vlc-noX 3.0.21-2.1 -> 3.0.21-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
vlc-qt 3.0.21-2.1 -> 3.0.21-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
vlc-vdpau 3.0.21-2.1 -> 3.0.21-3.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
wireplumber 0.5.3+git11.4868b3c-1.1 -> 0.5.4+git2.96dc045-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
wireplumber-audio 0.5.3+git11.4868b3c-1.1 -> 0.5.4+git2.96dc045-1.1 noarch openSUSE-Tumbleweed-Oss openSUSE
zypper 1.14.73-1.2 -> 1.14.74-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
zypper-log 1.14.73-1.2 -> 1.14.74-1.1 noarch openSUSE-Tumbleweed-Oss openSUSE
zypper-needs-restarting 1.14.73-1.2 -> 1.14.74-1.1 noarch openSUSE-Tumbleweed-Oss openSUSE
The following product is going to be upgraded:
openSUSE Tumbleweed 20240628-0 -> 20240629-0 x86_64 openSUSE-Tumbleweed-Oss openSUSE
The following 2 packages are going to be downgraded:
python-rpm-generators 20240618.1e386da-1.1 -> 20240618.c146b29-1.1 noarch openSUSE-Tumbleweed-Oss openSUSE
python-rpm-macros 20240618.1e386da-1.1 -> 20240618.c146b29-1.1 noarch openSUSE-Tumbleweed-Oss openSUSE
The following NEW package is going to be installed:
kernel-default 6.9.7-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
The following package is going to be REMOVED:
kwin6 6.1.1-1.1 x86_64 openSUSE
The following package requires a system reboot:
kernel-default 6.9.7-1.1 x86_64 openSUSE-Tumbleweed-Oss openSUSE
66 packages to upgrade, 2 to downgrade, 1 new, 1 to remove.
Overall download size: 258.2 MiB. Already cached: 0 B. After the operation, additional 234.2 MiB will be used.
Note: System reboot required.
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y):
I had forgotten to mention that after being logged out, I also tried switching to a TTY session with Ctrl Alt F and run dup from there, but once the update was installed and I rebooted, I was also being kicked out of the session right after entering my password in SDDM. So I think that for the current status of my system, this update just breaks something.
For completeness I should mention that I tried tumbleweed-cli a few days ago, but eventually it didn’t allow me to do what I wanted due to lack of older snapshot history (I wanted to isolate which update introduced a regression I’ve noticed in KDE, but the snapshot archive only goes so much back in time). So TL;DR I eventually tumbleweed-cli uninit and thought I was good at that point.
This is the only thing I can think of that might have messed with my repos.
Which by the way are as follows, with the command you suggested:
Update: I suspect that tumbleweed-cli might have deleted the original TW repo and used the one I defined with the switch command, and when I did uninit instead of somehow restoring the original TW repo it created a new one, and so now all my system packages probably show up as having originally been installed from a no-longer available repo.
If that’s the case, that’s not a great tool (or maybe I misunderstood how to uninit…)
I wonder if there’s a way to tell zypper to forcibly consider installed packages to come from a certain repo
Yep. Both ways are right according man zypper. It depends how you translate/interprete the man page.
If zypper search throws out “@ System” or “System package” it can mean: Repo no longer available where the package was installed from or the package version is no longer available in any known (enabled) repo.
Somehow you managed to install new version instead of updating the installed version (i.e. removing installed version and installing new version). Having two different versions of the same package as a rule makes no sense and is usually simply not possible (because they install the same files and so will conflict with each other). So zypper suggesting removal of the obsolete version can be considered as fixing this issue.
It may have happened due to interrupting zypper (or equivalent) run before it could remove the old version.
Unfortunately I find myself kinda stuck in this situation now.
I even rolled back to the oldest snapshot I have (Plasma 6.0.4 from ~1 month ago), but when I prompt zypper for info about kwin6, it still spits out both versions (which is kinda scary!), and the usual (System Packages).
Notice that this snapshot is from a state where I had never installed tumbleweed-cli on my system (which only happened last week).
So at this point I dunno what caused this situation.
Is there anything I can do to restore my system quickly and without too much pain, or should I just start planning a reinstall?
Jul 02 09:50:02 andromeda systemd[1930]: Starting Splash screen shown during boot...
Jul 02 09:50:02 andromeda ksplashqml[2040]: Failed to create wl_display (No such file or directory)
That implies that either ksplashqml does not have access to the Wayland socket or the environment variable WAYLAND_DISPLAY is missing or incorrect. The preceding messages look OK, there are no errors. The only difference on my system is dbus-broker instead of dbus-daemon. dbus-broker is supposed to be drop-in replacement, but who knows. I think Tumbleweed switched to dbus-broker for the new installation.
I guess it does not expect missing display. Which is understandable.
In English what you wrote means that a repository is no longer available, not that some package is not available, which is unlikely given the OSS repo it came from is a required base repo. What could have written to be clear would have been: