Libopenh264 upgrade question

zypper dup prints:

Problem: problem with the installed libopenh264-7-2.3.1-1.8.x86_64
 Solution 1: install libopenh264-7-2.3.1-2.suse1599.1.x86_64 from vendor obs://build.opensuse.org/openSUSE:Factory
  replacing libopenh264-7-2.3.1-1.8.x86_64 from vendor http://packman.links2linux.de
 Solution 2: keep obsolete libopenh264-7-2.3.1-1.8.x86_64

I added the packman repository a few weeks ago, did the vendor change, and then installed codecs.

What is the best solution to this problem?

@akorngold well you should not be using the ‘Factory’ repo on Tumbleweed, fix that and use the correct Tumbleweed repositories and the issue will disappear if packages are switched properly.

I have had this as well and do not have the Factory repository enabled. I do have http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed/x86_64/ installed and enabled in my list of repositories. So can you explain how this gets installed from Factory?

Stuart

You neither show actual command you use, nor its full output nor the repositories you use so any answer will be just a wild guess (libopenh264-7 package does not exist in Tumbleweed so you must have some additional repositories that are not shown).

But given that package libopneh264-7 for Tumbleweed does not exist in Packman (any more - I do not know when it was removed), the natural choice is to replace outdated package from Packman.

Huh?

bor@tw:~> rpm -q --qf '%{vendor}\n' http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed/x86_64/libopenh264-7-2.3.1-2.suse1599.1.x86_64.rpm
obs://build.opensuse.org/openSUSE:Factory
bor@tw:~> 

When you have exact the same message as the OP (which you do not show), you must have the Factory repo, or you must have had it earlier. I do not believe in magic.

That is pretty strange building against factory and adding the additional suse suffix, a recipe for disaster.

Where do you see that it was “built against factory”?

You mean (open)SUSE maintainers do not know or understand what they are doing? It happens, open bug report to fix it, explain what is wrong and what has to be changed.

Query any rpm in the Tumbleweed oss repo and it’s vendor is openSUSE.

Why, don’t need it, like all the other codec stuff I use my own.

E-h-h … this rpm is not from Tumbleweed oss repo, so why it should have the same vendor?

@akorngold it was dropped from packman and Tumbleweed, so let it switch, so option 1.
https://pmbs.links2linux.de/package/show/Essentials/openh264

I’m trying to figure out how that was added. I’ve only manually added the Brave Browser and Packman repositories to my TW installation.

I did do the one-click codec install after I first installed TW and it caused some codec issues I had to fix.

Here are my repos:

#  | Alias                            | Name                                   | Enabled | GPG Check | Refresh
---+----------------------------------+----------------------------------------+---------+-----------+--------
 1 | brave-browser                    | Brave Browser                          | 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 | http-opensuse-guide.org-e014abc6 | libdvdcss repository                   | Yes     | (r ) Yes  | Yes
 6 | openSUSE-20230223-0              | openSUSE-20230223-0                    | No      | ----      | ----
 7 | packman                          | packman                                | Yes     | (r ) Yes  | Yes
 8 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----
 9 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes
10 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----

Ok excellent. Thank you.

Here is where I installed with one-click codec install for KDE TW: https://opensuse-community.org/

I have read that one-click installs have created problems for a number of users regarding repos.

One last question. Should I remove the openh264 repo from my list?

You should also include the line with the prompt and the command when you post such things. Now we have output, but we may guess what you did.
In any case, you should have done zypper lr -d or similar, because we now have only your local names and aliases and not the URIs and that is what matters.

The command was:

zypper repos

I will post all information in the future. Thanks for pointing that out.

The Coalition of the Willing to help prefers some complete and easily readable information:

erlangen:~ # alias repos
alias repos='zypper repos --alias --uri --refresh --show-enabled-only --priority'
erlangen:~ # repos
#  | Alias         | Enabled | GPG Check | Refresh | Priority | URI
---+---------------+---------+-----------+---------+----------+-------------------------------------------------------
 7 | Packman       | Yes     | (r ) Yes  | Yes     |   90     | https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/
21 | non-oss       | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/tumbleweed/repo/non-oss/
23 | oss           | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/tumbleweed/repo/oss/
30 | update        | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/update/tumbleweed/
11 | google-chrome | Yes     | (r ) Yes  | Yes     |  100     | https://dl.google.com/linux/chrome/rpm/stable/x86_64
18 | jalbum        | Yes     | (  ) No   | Yes     |  100     | https://jalbum.net/download/software/yumrepo/
20 | myrepo        | Yes     | (  ) No   | Yes     |  100     | dir:/home/karl/Downloads/myrepo
erlangen:~ # zypper --non-interactive dist-upgrade --dry-run 
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
Nothing to do.
erlangen:~ # 
1 Like
user@opensusetw:~> alias repos
bash: alias: repos: not found
user@opensusetw:~> repos
If 'repos' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf repos

Am I doing something wrong?

No, Karl has made an alias for a special command…
alias repos='zypper repos --alias --uri --refresh --show-enabled-only --priority'

1 Like

No, Karl always assumes that everybody thinks exactly the same way he thinks. In general that is not the case.

Just do zypper lr -d when you want to show your repository list and everybody will be glad with that.

1 Like
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 | openSUSE-20230223-0              | openSUSE-20230223-0                    | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-Innostor_Innostor_289339065-0:0-part2 | 
6 | packman                          | packman                                | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/  | 
7 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/               | 
8 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed               | 
9 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/              | 

1 Like