summaryrefslogtreecommitdiff
path: root/guides/setups/operating-systems
diff options
context:
space:
mode:
Diffstat (limited to 'guides/setups/operating-systems')
-rw-r--r--guides/setups/operating-systems/opensuse.org51
1 files changed, 51 insertions, 0 deletions
diff --git a/guides/setups/operating-systems/opensuse.org b/guides/setups/operating-systems/opensuse.org
index 204966b..8ac7a82 100644
--- a/guides/setups/operating-systems/opensuse.org
+++ b/guides/setups/operating-systems/opensuse.org
@@ -112,3 +112,54 @@ $ sudo zypper install --from VLC ffmpeg vlc vlc-codecs
#+end_src
NB: there's a lot of prompting going on in that last command; maybe
=--allow-vendor-change= could help.
+*** Upgrade woes
+Sometimes this VLC repository will stop providing a package it used
+to, e.g. because it now ships an upgraded version (and the version
+number is somehow part of the package name).
+
+In that case, we need to help =zypper= figure out what to do:
+#+begin_src sh
+$ sudo zypper dist-upgrade --auto-agree-with-licenses
+# …
+Computing distribution upgrade...
+
+Problem: problem with the installed libliveMedia97-2021.08.23-58.7.x86_64
+ Solution 1: install libliveMedia97-2021.08.23-1.2.x86_64 from vendor openSUSE
+ replacing libliveMedia97-2021.08.23-58.7.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
+ Solution 2: keep obsolete libliveMedia97-2021.08.23-58.7.x86_64
+
+Choose from above solutions by number or cancel [1/2/c/d/?] (c): d
+Problem: problem with the installed libliveMedia97-2021.08.23-58.7.x86_64
+Detailed information:
+ the installed libliveMedia97-2021.08.23-58.7.x86_64 does not belong to a distupgrade repository and must be replaced
+ Solution 1: install libliveMedia97-2021.08.23-1.2.x86_64 from vendor openSUSE
+ replacing libliveMedia97-2021.08.23-58.7.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
+ Solution 2: keep obsolete libliveMedia97-2021.08.23-58.7.x86_64
+
+Choose from above solutions by number or cancel [1/2/c/d/?] (c): 1
+Resolving dependencies...
+Computing distribution upgrade...
+# …
+The following package is going to be downgraded:
+ libliveMedia97
+
+The following package is going to change vendor:
+ libliveMedia97 VideoLAN Project (http://www.videolan.org) -> openSUSE
+
+The following 6 NEW packages are going to be installed:
+ … libliveMedia102 …
+# …
+#+end_src
+
+In this instance, I went looking at the [[http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/x86_64/][VLC repository]] to figure out
+what was going on; searching for "libliveMedia" revealed that the
+repository now shipped libliveMedia102 and no longer included
+libliveMedia97.
+
+I went with solution 1 (switch to openSUSE's libliveMedia97), but
+maybe solution 2 was the right one? E.g. maybe after "computing [the]
+distribution upgrade", zypper would have realized that nobody needs
+97 anymore, so it could be removed; could be I accidentally set 97 to
+"manually installed" with solution 1?
+
+🤷