Get rid of libopenh264-8

Hi, I can’t update my system because my country is geo-blocked from accessing ciscobinary.openh264.org, and I’m getting the following error:


Preloading: libopenh264-8-2.6.0-2.suse1699.10.x86_64.rpm [Could not resolve host: ciscobinary.openh264.org]

Preload finished. [files missing]

Installation has completed with error.

I tried removing this package, but so many packages depend on it, it ends up trying to remove the entire KDE desktop. That’s really absurd. I don’t like the idea of being at the mercy of some evil company that can geoblock me from updating my system.

I added the packman repo, but it seems libopenh264 doesn’t exist there.

Is there any alternative to libopenh264-8 from repo-openh264?

Also, I’m coming from Archlinux, and I never had any issues installing openh264 there. Arch builds openh264 from source (from its GitHub repo) and distributes the binary directly. Why can’t openSUSE do the same?

1 Like

You can disable the repository, manually download and install RPM. It is updated rather infrequently anyway.

You can also switch affected packages to Packman to sidestep this dependency.

How to switch Packman for this specific package ?

I tried this

kryetloq% sudo zypper in --repo packman libopenh264-8      
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
'libopenh264-8' is already installed.
Package 'libopenh264-8' is not available in your repositories. Cannot reinstall, upgrade, or downgrade.
Resolving package dependencies...
Nothing to do.

“Affected packages” are the packages requiring this library, not the library itself.

But installing it manually is really the simplest solution.

Literally entire KDE desktop requires this which is absurd

kryetloq% sudo zypper remove libopenh264-8           

[sudo] password for root: 
Reading installed packages...
Resolving package dependencies...

The following 134 packages are going to be REMOVED:
  baloo-widgets dolphin dolphin-part drkonqi6 ffmpeg-8 ffmpegthumbs gegl-0_4 gimp gimp-plugin-aa gimp-plugin-python3 gstreamer-plugins-bad gstreamer-plugins-libav gwenview jack-dbus kaccounts-providers kamoso kate kate-plugins kdeplasma6-addons kdialog kf6-baloo-file kf6-baloo-imports kf6-baloo-kioslaves kf6-baloo-tools kf6-frameworkintegration-plugin kf6-kfilemetadata kf6-ktexteditor kf6-prison-imports kf6-purpose
  khelpcenter kinfocenter6 kirigami-addons6 konsole konsole-part konsole-part-lang kpipewire6-imports kwin6 kwin6-x11 kwrite libavcodec61 libavcodec62 libavdevice62 libavfilter10 libavfilter11 libavformat61 libavformat62 libffms2-5 libgegl-0_4-0 libgimp-3_0-0 libgimpui-3_0-0 libheif-ffmpeg libheif-openh264 libKF6Baloo6 libKF6Baloo6-lang libKF6FileMetaData3 libKF6Prison6 libKF6Purpose6 libKF6PurposeWidgets6
  libKF6TextEditor6 libKF6TextWidgets6 libKPipeWire6 libKPipeWireDmaBuf6 libKPipeWireRecord6 libopenal1 libopenh264-8 libpipewire-0_3-0 libportaudio2 libqt5-qtwebengine libQt6HunspellInputMethod6 libQt6Multimedia6 libQt6MultimediaQuick6 libQt6MultimediaWidgets6 libQt6Quick3DSpatialAudio6 libQt6SpatialAudio6 libQt6TextToSpeech6 libQt6VirtualKeyboard6 libQt6WebEngineCore6 libQt6WebEngineQuick6 libQt6WebEngineWidgets6
  libSDL2-2_0-0 libSDL3-0 libwireplumber-0_5-0 MozillaFirefox mpg123-openal opensuse-welcome patterns-kde-kde_plasma phonon-vlc-lang phonon-vlc-qt5 phonon-vlc-qt6 pipewire pipewire-alsa pipewire-jack pipewire-libjack-0_3 pipewire-modules-0_3 pipewire-pulseaudio pipewire-spa-plugins-0_2 pipewire-tools plasma6-branding-openSUSE plasma6-browser-integration plasma6-desktop plasma6-desktop-emojier plasma6-integration-plugin
  plasma6-nm plasma6-pa plasma6-print-manager plasma6-sddm-theme-openSUSE plasma6-session plasma6-session-x11 plasma6-systemmonitor plasma6-theme-openSUSE plasma6-workspace plasma6-workspace-libs powerdevil6 pulseaudio-utils qt6-multimedia qt6-multimedia-imports qt6-texttospeech qt6-virtualkeyboard qt6-virtualkeyboard-imports qt6-webengine qt6-webengine-imports signon-plugin-oauth2 signon-ui speech-dispatcher
  telegram-desktop typelib-1_0-Gegl-0_4 vlc vlc-codecs wireplumber wireplumber-zsh-completion x264 xdg-desktop-portal xdg-desktop-portal-kde6 yakuake

The following pattern is going to be REMOVED:
  kde_plasma

134 packages to remove.

Package install size change:
              |         0 B    required by packages that will be installed
   -1.10 GiB  |  -   1.10 GiB  released by packages that will be removed

Also this project is licensed under BSD so what’s the issue here

Even though I am not sure it was not a rhetorical question - OpenH264 - openSUSE Wiki

At this point, I will take reduced functionality. I just don’t like the idea of free software like KDE having hard dependency on this specific package.

wget http://codecs.opensuse.org/openh264/openSUSE_Leap/x86_64/libopenh264-8-2.6.0-2.sle150600.1.x86_64.rpm

got me the rpm in 0.1 seconds.

Post:

zypper lr -d
zypper se -s libopenh264
kryetloq% zypper lr -d
#  | Alias                            | Name                                   | Enabled | GPG Check | Refresh | Keep | Priority | Type   | URI                                                                  | Service
---+----------------------------------+----------------------------------------+---------+-----------+---------+------+----------+--------+----------------------------------------------------------------------+---------
 1 | NVIDIA:repo-non-free             | repo-non-free                          | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | https://download.nvidia.com/opensuse/tumbleweed                      | NVIDIA
 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 | openSUSE-20251007-1              | openSUSE-20251007-1                    | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                    | 
 6 | openSUSE:repo-non-oss            | repo-non-oss                           | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/non-oss                      | openSUSE
 7 | openSUSE:repo-openh264           | repo-openh264                          | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | https://codecs.opensuse.org/openh264/openSUSE_Tumbleweed             | openSUSE
 8 | openSUSE:repo-oss                | repo-oss                               | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/oss                          | openSUSE
 9 | openSUSE:repo-oss-debug          | repo-oss-debug                         | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/tumbleweed/repo/oss                    | openSUSE
10 | openSUSE:repo-oss-source         | repo-oss-source                        | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/source/tumbleweed/repo/oss                   | openSUSE
11 | openSUSE:update-tumbleweed       | update-tumbleweed                      | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/update/tumbleweed                            | openSUSE
12 | packman                          | packman                                | Yes     | (r ) Yes  | Yes     | -    |  100     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ | 
13 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/debug/tumbleweed/repo/oss/              | 
14 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed              | 
15 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/source/tumbleweed/repo/oss/             | 
kryetloq% zypper se -s libopenh264

    Note: Repository 'packman' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Reading installed packages...

S  | Name                | Type    | Version              | Arch   | Repository
---+---------------------+---------+----------------------+--------+---------------------------------------
v  | libopenh264-8       | package | 2.6.0-2.suse1699.10  | x86_64 | repo-openh264
v  | libopenh264-8       | package | 2.6.0-2.suse1699.10  | x86_64 | Open H.264 Codec (openSUSE Tumbleweed)
i  | libopenh264-8       | package | 2.6.0~noopenh264-1.1 | x86_64 | Main Repository (OSS)
i  | libopenh264-8       | package | 2.6.0~noopenh264-1.1 | x86_64 | openSUSE-20251007-1
i  | libopenh264-8       | package | 2.6.0~noopenh264-1.1 | x86_64 | repo-oss
v  | libopenh264-8       | package | 2.6.0-2.suse1699.10  | i586   | repo-openh264
v  | libopenh264-8       | package | 2.6.0-2.suse1699.10  | i586   | Open H.264 Codec (openSUSE Tumbleweed)
   | libopenh264-8-32bit | package | 2.6.0~noopenh264-1.1 | x86_64 | Main Repository (OSS)
   | libopenh264-8-32bit | package | 2.6.0~noopenh264-1.1 | x86_64 | openSUSE-20251007-1
   | libopenh264-8-32bit | package | 2.6.0~noopenh264-1.1 | x86_64 | repo-oss
   | libopenh264-devel   | package | 2.6.0-2.suse1699.10  | x86_64 | repo-openh264
   | libopenh264-devel   | package | 2.6.0-2.suse1699.10  | x86_64 | Open H.264 Codec (openSUSE Tumbleweed)
   | libopenh264-devel   | package | 2.6.0~noopenh264-1.1 | x86_64 | Main Repository (OSS)
   | libopenh264-devel   | package | 2.6.0~noopenh264-1.1 | x86_64 | openSUSE-20251007-1
   | libopenh264-devel   | package | 2.6.0~noopenh264-1.1 | x86_64 | repo-oss
   | libopenh264-devel   | package | 2.6.0-2.suse1699.10  | i586   | repo-openh264
   | libopenh264-devel   | package | 2.6.0-2.suse1699.10  | i586   | Open H.264 Codec (openSUSE Tumbleweed)

Your problem is the lower priority of the Packman Repo.

it was 90, I increased it to 100

lower number == higher priority

You downgraded it…

lower numbers = higher priority…

You don’t need the libopenh264 Repo:

linux64:/home/stephan # LANG=C zypper se -sir http://codecs.opensuse.org/openh264/openSUSE_Leap/
Loading repository data...
Reading installed packages...
No matching items found.

oh… my bad. I increased it now

kryetloq% LANG=C zypper se -sir http://codecs.opensuse.org/openh264/openSUSE_Leap/
Repository 'http://codecs.opensuse.org/openh264/openSUSE_Leap/' not found by its alias, number, or URI.
Use 'zypper repos' to get the list of defined repositories.
kryetloq% zypper repos
Repository priorities in effect:                                                                                                                                                                                                                                                                                                                                                                       (See 'zypper lr -P' for details)
      70 (raised priority)  :  1 repository
      99 (default priority) : 10 repositories

#  | Alias                            | Name                                   | Enabled | GPG Check | Refresh
---+----------------------------------+----------------------------------------+---------+-----------+--------
 1 | NVIDIA:repo-non-free             | repo-non-free                          | Yes     | (r ) Yes  | Yes
 2 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)              | Yes     | (r ) Yes  | Yes
 3 | download.opensuse.org-oss        | Main Repository (OSS)                  | Yes     | (r ) Yes  | Yes
 4 | download.opensuse.org-tumbleweed | Main Update Repository                 | Yes     | (r ) Yes  | Yes
 5 | openSUSE-20251007-1              | openSUSE-20251007-1                    | Yes     | (r ) Yes  | Yes
 6 | openSUSE:repo-non-oss            | repo-non-oss                           | Yes     | (r ) Yes  | Yes
 7 | openSUSE:repo-openh264           | repo-openh264                          | Yes     | (r ) Yes  | Yes
 8 | openSUSE:repo-oss                | repo-oss                               | Yes     | (r ) Yes  | Yes
 9 | openSUSE:repo-oss-debug          | repo-oss-debug                         | No      | ----      | ----
10 | openSUSE:repo-oss-source         | repo-oss-source                        | No      | ----      | ----
11 | openSUSE:update-tumbleweed       | update-tumbleweed                      | Yes     | (r ) Yes  | Yes
12 | packman                          | packman                                | Yes     | (r ) Yes  | Yes
13 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----
14 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes
15 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----

That was the URL for Leap, not Tumbleweed…

This is for Tumbleweed:

LANG=C zypper se -sir http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed

Packman does not offer libopenh264 for Tumbleweed, only in Leap 15.6 it is offered.
But openSUSE OSS Repo offers it for Tumbleweed as you can see.
If you are using the Packman Repo there is no need to enable and use the Cisco Repo…

You mean only on leap ?

No.
Also in Tumbleweed.

If you have switched the packages to Packman (Firefox needs ffmpeg) you must not use the Cisco Repo.