Removing vlc-noX removes complete KDE

Every time I update my system Firefox and vlc get installed. I don’t know why it happens and how to fix it so I just manually remove them (If you know how to fix it you can tell me) every time. Until now when I tried to remove vlc it tried to remove KDE itself after removing vlc and its other dependencies I found out that it’s vlc-noX that is trying to remove KDE (I Don’t know why).

sudo zypper se -si vlc
Loading repository data...
Reading installed packages...

S  | Name                   | Type    | Version     | Arch   | Repository
---+------------------------+---------+-------------+--------+------------------
i+ | libvlc5                | package | 3.0.20-2.3  | x86_64 | (System Packages)
i+ | libvlccore9            | package | 3.0.20-2.3  | x86_64 | (System Packages)
i+ | phonon4qt5-backend-vlc | package | 0.11.3-1.17 | x86_64 | (System Packages)
i+ | vlc-noX                | package | 3.0.20-2.3  | x86_64 | (System Packages) 

And

sudo zypper lr -d
#  | Alias                            | Name                                   | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                          | Service
---+----------------------------------+----------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------------+--------
 1 | brave-browser                    | Brave Browser                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://brave-browser-rpm-release.s3.brave.com/x86_64                                        | 
 2 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                                        | 
 3 | download.opensuse.org-oss        | Main Repository (OSS)                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                            | 
 4 | download.opensuse.org-tumbleweed | Main Update Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                              | 
 5 | librewolf                        | librewolf                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://rpm.librewolf.net/                                                                   | 
 6 | openSUSE-20240119-0              | openSUSE-20240119-0                    | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-Kingston_DataTraveler_2.0_50E54951344CEE11C94D002B-0:0-part1 | 
 7 | packman                          | packman                                | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                         | 
 8 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                      | 
 9 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed                                      | 
10 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/source/tumbleweed/repo/oss/                                     | 

And Here’s the Proof

sudo zypper se -si vlc
Reading installed packages...
Resolving package dependencies...

The following 4 packages are going to be REMOVED:
  patterns-kde-kde patterns-kde-kde_plasma phonon4qt5-backend-vlc vlc-noX

The following 2 patterns are going to be REMOVED:
  kde kde_plasma

4 packages to remove.
After the operation, 14.2 MiB will be freed.
Continue? [y/n/v/...? shows all options] (y): n

Please Help me Fix this problem (If more information is needed you can ask me ). Thank you (In Advance)

You can’t uninstall phonon4qt5-backend-vlc. This will remove plasma. All other packages can be removed…

Read up about --no-recommends in man zypper…

That is not the command you used which gave the following output

The zypper se is search, not removal. There is no way it can result in the output you showed. So we do not know what you actually tried to remove.

Copy and paste full command invocation and complete ouptut including any initial and subsequent shell prompts.

This will remove the pattern kde_plasma, which by itself will not remove any KDE/Plasma package. It may have unintended effects in the future, in case pattern will be extended with new packages, then these packages will not be automatically pulled in.

It will remove plasma when zypper rm -u is used (which everybody uses who is interested in a clean and decluttered system…).

1 Like

hey thanks for replying to this form, the output shown in the original post is real but just for your sake I ran it again and the output remained the same here is the photo proof of it.

if you need more info you can always ask.
EDIT: oh my bad I didn’t realize that is incorrect I will fix it now.
sadly I don’t know how to fix there is no edit option in the original post. so here you go

 ❯ sudo zypper rm vlc-noX
[sudo] password for root: 
Reading installed packages...
Resolving package dependencies...

The following 4 packages are going to be REMOVED:
  patterns-kde-kde patterns-kde-kde_plasma phonon4qt5-backend-vlc vlc-noX

The following 2 patterns are going to be REMOVED:
  kde kde_plasma

4 packages to remove.
After the operation, 14.2 MiB will be freed.
Continue? [y/n/v/...? shows all options] (y): n

You can use VLC from Packman or VLC repos.
You don’t need phonon4qt5-backend-vlc to use VLC.

It does not try to remove Plasma. It offers to remove pattern kde_plasma which is not the same.

You need this package to have sound in many applications after snapshot 20240124. It is needed as replacement for the removed phonon4qt5-backend-gstreamer. See bugzilla and forum.

1 Like
bor@uefi:~> sudo zypper rm --clean-deps --type pattern kde_plasma
Reading installed packages...
Resolving package dependencies...

The following 4 packages are going to be REMOVED:
  pam_kwallet pam_kwallet-common patterns-kde-kde patterns-kde-kde_plasma

The following 2 patterns are going to be REMOVED:
  kde kde_plasma

4 packages to remove.
After the operation, 98.7 KiB will be freed.
Continue? [y/n/v/...? shows all options] (y): 

The TO tries to remove VLC packages. And as pointed out, removing phonon4qt5-backend-vlc ( with --clean-deps) will remove half of your Plasma desktop:

ich@laptopneu:~> LANG=C sudo zypper rm --clean-deps phonon4qt5-backend-vlc
Reading installed packages...
Resolving package dependencies...

The following 183 packages are going to be REMOVED:
  7zip Mesa-demo-egl NetworkManager-bluetooth NetworkManager-wwan aha appstream-glib appstream-glib-lang ark ark-lang baloo5-file baloo5-file-lang baloo5-imports baloo5-kioslaves
  baloo5-kioslaves-lang baloo5-tools baloo5-tools-lang baloo5-widgets baloo5-widgets-lang bluedevil5 bluedevil5-lang bluez bluez-qt-udev bolt discover discover-backend-flatpak
  discover-backend-fwupd discover-backend-packagekit discover-lang dolphin dolphin-part dolphin-part-lang ffmpegthumbs flatpak flatpak-remote-flathub fwupd fwupd-bash-completion
  fwupd-efi fwupd-lang gcab gcab-lang grantlee5 gwenview5 gwenview5-lang kcalc kcalc-lang kcm_flatpak kcm_flatpak-lang kde-print-manager kde-print-manager-lang
  kdegraphics-thumbnailers kdenetwork-filesharing kdenetwork-filesharing-lang kgamma5 kgamma5-lang khelpcenter5 khelpcenter5-lang khotkeys5 khotkeys5-lang kinfocenter5
  kinfocenter5-lang kio-fuse kipi-plugins kipi-plugins-lang kmenuedit5 kmenuedit5-lang kmozillahelper konsole konsole-part konsole-part-lang kpipewire-imports ksanecore-lang
  kwalletmanager5 kwalletmanager5-lang kwayland-integration kwrited5 libAppStreamQt5-3 libKF5JS5 libKF5KDcraw5 libKF5KHtml5 libKF5KHtml5-lang libKF5Kipi32_0_0 libKF5MediaWiki5
  libKF5Sane5 libKF5UnitConversion5 libKF5UnitConversion5-lang libKPipeWireDmaBuf5 libKPipeWireRecord5 libKSaneCore1 libQt5WaylandCompositor5 libQt5WebView5
  libQt5WebView5-imports libXxf86dga1 libappstream-glib8 libcfitsio10 libchm0 libcreaterepo_c1 libdjvulibre21 libdolphinvcs5 libell0 libflashrom1 libflatpak0 libftdi1-2 libfwupd2
  libgcab-1_0-0 libgnustep-base1_29 libgusb2 libibus-1_0-5 libimagequant0 libjcat1 libkColorPicker0 libkImageAnnotator0 libkerfuffle23 libkipi-data libksane-lang libmarkdown3
  libmodulemd2 libobjc4 libostree libostree-1-1 libpackagekitqt5-1 libpoppler-glib8 libqt5-qtwayland libsane1 libupower-glib3 libxapian30 libzypp-plugin-appdata okular
  okular-lang pam_kwallet pam_kwallet-common patterns-kde-kde patterns-kde-kde_plasma phonon4qt5-backend-vlc phonon4qt5-backend-vlc-lang pinentry-qt5 plasma5-addons
  plasma5-addons-lang plasma5-desktop plasma5-desktop-emojier plasma5-desktop-lang plasma5-disks plasma5-disks-lang plasma5-pk-updates plasma5-pk-updates-lang plasma5-session
  plasma5-session-wayland plasma5-systemmonitor plasma5-systemmonitor-lang plasma5-thunderbolt plasma5-thunderbolt-lang pngquant polkit-kde-agent-5 polkit-kde-agent-5-lang
  powerdevil5 powerdevil5-lang python3-createrepo_c python311-cmdln sane-backends sane-backends-autoconfig sbc shim skanlite skanlite-lang socat spectacle spectacle-lang
  system-user-flatpak typelib-1_0-Fwupd-2_0 typelib-1_0-Json-1_0 unar upower vulkan-tools wayland-utils xdg-dbus-proxy xdg-desktop-portal xdg-desktop-portal-gtk
  xdg-desktop-portal-gtk-lang xdg-desktop-portal-kde xdg-desktop-portal-kde-lang xdg-desktop-portal-lang xdg-user-dirs xdg-user-dirs-lang xdpyinfo

The following 2 patterns are going to be REMOVED:
  kde kde_plasma

183 packages to remove.
After the operation, 274.7 MiB will be freed.
Continue? [y/n/v/...? shows all options] (y): 

1 Like

After you get this sorted out, all you need to do to keep Firefox and vlc from being installed is to taboo them once you remove them.

This can be easily done in the Yast Software Installer GUI.