Carelessly I allowed the install of vlc-beta included with snapshot 20240505. It’s utter garbage and crashes constantly - not to mention the gaudy interface. Can I simply remove it and reinstall vlc? if so, will zypper continually try to remove it and install vlc-beta on subsequent upgrades?
The following product is going to be upgraded:
openSUSE Tumbleweed 20240430-0 -> 20240505-0
The following 7 packages are going to be REMOVED:
vlc vlc-codec-gstreamer vlc-codecs vlc-lang vlc-noX vlc-qt vlc-vdpau
The following 56 NEW packages are going to be installed:
... vlc-beta
S | Name | Type | Version | Arch | Repository
---+----------+---------+----------------------------------+--------+-----------
i+ | vlc-beta | package | 20240505.3f2959558d-1699.19.pm.1 | x86_64 | packman
By adding a lock, you mean mark it as taboo as I noted before or do I need to do some learning?
Who knows? You did not show any information about your system.
On my system vlc comes from the packman repository (see below the line starting with Vendor:)
# zypper info vlc
Loading repository data...
Reading installed packages...
Information for package vlc:
----------------------------
Repository : Packman openSUSE Tumbleweed
Name : vlc
Version : 3.0.20-1699.9.pm.4
Arch : x86_64
Vendor : http://packman.links2linux.de
Installed Size : 1.7 MiB
Installed : Yes
Status : up-to-date
Source package : vlc-3.0.20-1699.9.pm.4.src
Upstream URL : http://www.videolan.org
Summary : Graphical media player
Description :
VLC media player is a multimedia player for many
audio and video files and formats (such as MPEG, DivX, mp3, ogg, ...)
as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast
in IPv4 or IPv6 on a high-bandwidth network.
Note that the actual support is provided through ffmpeg and gstreamer
libraries, which may not have all codecs enabled that were just named.
#
See man zypper for more information:
Package locks serve the purpose of preventing changes to the set of installed packages on the system. Locks are stored as queries in /etc/zypp/locks file (see also locks(5)).
Packages matching a query are then forbidden to change their installed status; an installed package can’t be removed or upgraded, not installed package can’t be installed.
When requesting to install, upgrade or remove such locked package, you will get a dependency problem dialog.
I didn’t have this problem until today. When I did my usual zypper dup, I noticed that one of the vlc-codecs files was coming from the main repo, not packman. But when I went to run zypper dup --from packman --allow-vendor-change, zypper wanted to replace vlc with vlc-beta and install a slew of qt files (I’m on XFCE). I said no.
So I went into Yast software and did the vendor change on the one file. But now, zypper dup always wants to uninstall vlc and install vlc-beta. Very frustrating.