160+ new packages on 20240311-0

I am trying to keep my TW installation mostly minimal. As of the most recent snapshot(20240311-0), Zypper is trying to install 161 new packages, at least a 3rd of which are kf6 which seem to all be KDE related. I use Xfce, and do not use Plasma or anything KDE related(except for Kdenlive). I’m assuming a lot of these are related to Plasma 6 and not Kden.

My question is, why is Zypper trying to install all of these unwanted packages/dependencies?

I have already made the following configurations to both the zypper.conf and zypp.conf files:

/etc/zypp/zypp.conf:# solver.onlyRequires = true
/etc/zypp/zypper.conf:# installRecommends = no

Zypper dup is still trying to install these packages after I refreshed the repos. What to do?

The next thing I am going to try is going into Yast and manually turn off kde related items.

Here is the full list:
accounts-qml-module kconf_update6 kf6-attica kf6-bluez-qt kf6-bluez-qt-imports kf6-breeze-icons
kf6-karchive kf6-kauth kf6-kauth-lang kf6-kbookmarks kf6-kcmutils kf6-kcmutils-imports kf6-kcodecs
kf6-kcolorscheme kf6-kcompletion kf6-kconfig kf6-kconfig-imports kf6-kconfigwidgets kf6-kcoreaddons
kf6-kcrash kf6-kdbusaddons kf6-kdbusaddons-tools kf6-kdeclarative-imports kf6-kded kf6-kdoctools
kf6-kfilemetadata kf6-kglobalaccel kf6-kguiaddons kf6-ki18n kf6-kiconthemes kf6-kio
kf6-kirigami-imports kf6-kitemviews kf6-kjobwidgets kf6-knewstuff kf6-knewstuff-imports
kf6-knotifications kf6-knotifyconfig kf6-kpackage kf6-kservice kf6-kwallet kf6-kwidgetsaddons
kf6-kwindowsystem kf6-kxmlgui kf6-prison kf6-prison-imports kf6-purpose kf6-purpose-services kf6-solid
kf6-solid-tools kf6-sonnet kf6-syndication kglobalacceld6 libaccounts-qt6-1 libdotconf0
libkaccounts6-2 libKF6Archive6 libKF6Attica6 libKF6AuthCore6 libKF6BluezQt6 libKF6Bookmarks6
libKF6BookmarksWidgets6 libKF6Codecs6 libKF6ColorScheme6 libKF6Completion6 libKF6ConfigCore6
libKF6ConfigGui6 libKF6ConfigWidgets6 libKF6CoreAddons6 libKF6Crash6 libKF6DBusAddons6 libKF6DocTools6
libKF6FileMetaData3 libKF6GlobalAccel6 libKF6GuiAddons6 libKF6I18n6 libKF6IconThemes6
libKF6IconWidgets6 libKF6ItemViews6 libKF6JobWidgets6 libKF6KCMUtils6 libKF6KCMUtilsCore6
libKF6KCMUtilsQuick6 libKF6KIO6 libKF6NewStuffCore6 libKF6NewStuffWidgets6 libKF6Notifications6
libKF6NotifyConfig6 libKF6Package6 libKF6Prison6 libKF6Purpose6 libKF6PurposeWidgets6 libKF6Service6
libKF6Solid6 libKF6SonnetCore6 libKF6SonnetUi6 libKF6Syndication6 libKF6TextWidgets6 libKF6Wallet6
libKF6WidgetsAddons6 libKF6WindowSystem6 libKF6XmlGui6 libKGlobalAccelD6-0 libKirigamiPlatform6
libpolkit-qt6-1-1 libpoppler-qt6-3 libqt5-qtspeech-plugin-speechd libQt6Core5Compat6
libQt6LabsAnimation6 libQt6LabsFolderListModel6 libQt6LabsQmlModels6 libQt6LabsSettings6
libQt6LabsSharedImage6 libQt6LabsWavefrontMesh6 libQt6NetworkAuth6 libQt6Positioning6
libQt6PrintSupport6 libQt6Qml6 libQt6QmlCore6 libQt6QmlLocalStorage6 libQt6QmlModels6
libQt6QmlWorkerScript6 libQt6QmlXmlListModel6 libQt6Quick6 libQt6QuickControls2-6
libQt6QuickControls2Impl6 libQt6QuickDialogs2-6 libQt6QuickDialogs2QuickImpl6
libQt6QuickDialogs2Utils6 libQt6QuickEffects6 libQt6QuickLayouts6 libQt6QuickParticles6
libQt6QuickShapes6 libQt6QuickTemplates2-6 libQt6QuickTest6 libQt6QuickWidgets6 libQt6ShaderTools6
libQt6Sql6 libQt6SvgWidgets6 libQt6Test6 libQt6TextToSpeech6 libQt6WaylandClient6 libQt6WebChannel6
libQt6WebChannelQuick6 libQt6WebEngineCore6 libQt6WebEngineQuick6 libQt6WebEngineWidgets6
libsignon-qt6-1 libspeechd2 libwayland-egl1-32bit qt6-declarative-imports qt6-printsupport-cups
qt6-qt5compat-imports qt6-sql-sqlite qt6-texttospeech qt6-webchannel-imports qt6-webengine
qt6-webengine-imports qtdeclarative-imports-provides-qt6 speech-dispatcher
virtualbox-kmp-default-7.0.14_k6.7.7_1-4.1

Outside VirtualBox, some of these may be related to Libre Office. However, I doubt it would add this many new packages without being a full version upgrade.

Any input would be greatly appreciated.

1 Like

The only thing I can think of, is to delete KDenlive and its KDE dependencies. And check for any “KDE patterns” selected in the Yast GUI and deselect any.

Then run a zypper ref and zypper dup, and see what the response is.

2 Likes

Editing comments does not change anything in zypper behavior. And please post computer text as preformatted (button </> in editor).

Backup your configs just in case!
This makes me think OP might’ve installed KDenlive prior to the solver config updates.
If so, it would’ve pulled a bunch of recommended stuff along with it that now needs to be updated for the KDE 6 release.

The only thing I can think of, is to delete KDenlive and its KDE dependencies. And check for any “KDE patterns” selected in the Yast GUI and deselect any.> Blockquote

Yes, that is exactly what I was thinking. I am going to try that next. If that doesn’t work, I’m going to try uninstalling kdenlive and replacing it with the flatpak.

1 Like

I don’t think there’s a Flatpak version … I’ve checked in the past, but maybe it was recently packaged.

EDIT: I just checked in Discover - no KDenlive there as a Flatpak.

I just checked in Discover - no KDenlive there as a Flatpak.

Really? I also checked and found that there is.

Editing comments does not change anything in zypper behavior.

In the config file, everything is commented. If that is the case, what do you have to do to change it, and for that matter, what is the point of the config file where everything is commented?

please post computer text as preformatted (button </> in editor).

Will do.

I checked in openSuse’s dedicated Flatpak releases using Discover app. Not there.

But yea, thanks for the KDE packaged link.

You have to add configuration directive without comment sign.

It shows you supported configuration directives and their default values and rather extensive explanation what they do. And no, not everything is commented out by default, try to look more carefully. Or run

grep -Ev '^#|^\[|^$' /etc/zypp/zypp.conf

Of course you may have edited this file and comment out everything but then I expect you to remember it.

So, basically I have to uncomment it not just change the directive. I’m sorry, I should have realized this.

Brain no work good…need new. :face_with_diagonal_mouth:

It has been resolved. Turns out, it was indeed kdenlive that was the reason for all the Plasma 6 packages. It looks like because I changed the configs after the fact, it was still pulling recommended packages for Plasma 6. Still not sure why desktop packages/dependencies would be recommends for a single application though. Seems a bit over the top, but perhaps that’s just how KDE packages work.

2 Likes

openSUSE’s dedicated Flatpak releases?

There’s no such thing. openSUSE doesn’t have their own flatpak repository, like Fedora, to the best of my knowledge.

1 Like

It was an assumption on my part, since there are bare apps in openSuse repos that are enhanced … I figured it there’s a Flatpak app in Discover, it’s openSuse-modded. Looks like my assumption is incorrect.

How about:

zypper dup --no-recommends

Are there less of those kde pull-ins?

I have no idea what you call “desktop packages”. You are trying to install KDE application which is built against KDE libraries and requires KDE components. So this application requires these components to be installed. Most of these dependencies are auto-generated. The package list shown by you does not include packages related to desktop environment - it includes components of KDE framework needed to run specific application.

Okay, so yesterday evening, I installed a fresh, current TW (20240313 iso) with XFCE into a VBox VM. Then I installed the Flatpak system.

Then I installed KDenlive Flatpak from KDE.org. Works great! I even copied a KDenlive project from the Host machine (which runs TW wKDE Plasma X11) and works.

And no extra KDE fluff. Did a zypper dup … nothing to do :+1:

That complete, fresh install of TW with XFCE, plus the additional Flatpak system, and KDenlive Flatpak, consumes about 3.5 GB of disk space (I checked using:
.# btrfs filesystem usage -T /)

(hmmm … thinking…)

1 Like

This will be better.

sudo zypper dup --no-recommends

It does not install unwanted packages.
But please do the plasma 6 upgrade in a tty/IceWm. Otherwise you will be having problems.

My instructions are:

sudo zypper dup --no-recommends -d

After you’ve finished downloading all the updates, switch to a TTY using Ctrl+alt+f4.
Then type in:

sudo zypper dup --no-recommends 

This will make sure the upgrade goes smoothly. If you get switched to a login screen, like i did, switch back to the TTY using CTRL+ALT+F4. The upgrade will still continue.

1 Like

I’m gonna do the update (still waiting another 2-3 TW updates) a slightly different way.

Download latest TW full iso, burn it. Boot to it. Mount laptop’s / partition. Select Upgrade.
— end.
.
But, back to subject of booting into a running system and doing the zypper dup to the KDE6 upgrade.
Heck, I would not run ANY desktop environment… even IceWM !!
So how? Boot into system. Do Ctrl-Alt-F1. Login as root. Execute the command

.#  telinit 3

That brings the system to “networking but no Desktop” init mode
Now run zypper dup :+1:

1 Like

telinit is a prehistoric SysV command which is obsolete since ages. These commands are translated into systemd unit activation requests. Instead of using obsolete commands which are only translated for compatibility (historic) reasons, one should use correct and actual systemd commands like:

systemctl isolate multi-user.target
-> this will start a CLI/TTY session
systemctl isolate graphical.target
-> this will switch back to GUI session

It is clearly stated in the systemd documentation for the telinit command:

Notes

This is a legacy command available for compatibility only. It should not be used anymore, as the concept of runlevels is obsolete.

Source: file:///usr/share/doc/packages/systemd/html/telinit.html

1 Like