Codecs can't be installed

hi there,

First of, thx for reading and answering this post if you can.

I’m trying to install the codecs from packman, I suppose, with both:

opi codecs

and from

https://software.opensuse.org/download/package?package=opensuse-codecs-installer&project=multimedia%3Aapps

but no success so far. Who has an idea about how to do that ?

Thx again

And what is the error?

https://en.opensuse.org/SDB:Installing_codecs_from_Packman_repositories

with the one click stuff, a few new repos will be declared such as:

but it doesn’t work

DON’T use 1-click installations. You will screw your repo list. Only install via expert download or the described way in the linked wiki. Now we need to clean up the repo mess. Show your repos via

zypper lr -d

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

—±-------------------------------------±---------------------------------------------------------------------±--------±----------±--------±---------±-------±-------------------------------------------------------------------------------------±-------
1 | https-download.opensuse.org-07b8671f | SUSE:SLE-15-SP2:GA | Yes | ( p) Yes | Yes | 99 | N/A | https://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/GA/pool/ |
2 | https-download.opensuse.org-12c8c5fb | SUSE:SLE-15-SP1:GA | Yes | ( p) Yes | Yes | 99 | N/A | https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/ |
7 | https-download.opensuse.org-70dd12e0 | SUSE:SLE-15-SP4:GA | Yes | ( p) Yes | Yes | 99 | N/A | https://download.opensuse.org/repositories/SUSE:/SLE-15-SP4:/GA/pool/ |
4 | https-download.opensuse.org-375c39da | SUSE:SLE-15-SP6:GA | Yes | ( p) Yes | Yes | 99 | N/A | https://download.opensuse.org/repositories/SUSE:/SLE-15-SP6:/GA/pool/ |
6 | https-download.opensuse.org-5265bcf3 | SUSE:SLE-15-SP1:GA | Yes | ( p) Yes | Yes | 99 | N/A | https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/ |
9 | https-download.opensuse.org-8957bd3d | home:alveus:plex | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/home:/alveus:/plex/15.6/ |
3 | https-download.opensuse.org-19806cf0 | openSUSE:Backports:SLE-15-SP6 | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-15-SP6/standard/ |
5 | https-download.opensuse.org-47982bb7 | openSUSE:Leap:15.6 | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Leap:/15.6/standard/ |
10 | https-download.opensuse.org-99178db4 | SUSE:SLE-15:Update | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/distribution/leap/15.6/repo/oss/ |
8 | https-download.opensuse.org-80024698 | SUSE:SLE-15-SP3:GA | Yes | ( p) Yes | Yes | 99 | N/A | https://download.opensuse.org/repositories/SUSE:/SLE-15-SP3:/GA/pool/ |
11 | https-download.opensuse.org-b2eb92b7 | SUSE:SLE-15-SP5:GA | Yes | ( p) Yes | Yes | 99 | N/A | https://download.opensuse.org/repositories/SUSE:/SLE-15-SP5:/GA/pool/ |
12 | openSUSE-Leap-15.6-1 | openSUSE-Leap-15.6-1 | No | ---- | ---- | 99 | rpm-md | hd:/?device=/dev/disk/by-id/dm-name-ventoy |
13 | packman | Packman | Yes | (r ) Yes | Yes | 90 | rpm-md | Index of /pub/linux/misc/packman/suse/openSUSE_Leap_15.6/ |
14 | packman-essentials | packman-essentials | Yes | (r ) Yes | Yes | 90 | rpm-md | Index of /pub/linux/misc/packman/suse/openSUSE_Leap_15.6/Essentials/ |
15 | repo-backports-debug-update | Update repository of openSUSE Backports (Debug) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/update/leap/15.6/backports_debug/ |
16 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.6/backports/ |
17 | repo-debug | Debug Repository | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.6/repo/oss/ |
18 | repo-debug-non-oss | Debug Repository (Non-OSS) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.6/repo/non-oss/ |
19 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/debug/update/leap/15.6/oss/ |
20 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/debug/update/leap/15.6/non-oss/ |
21 | repo-non-oss | Dépôt Non-OSS | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/non-oss/ |
22 | repo-openh264 | Open H.264 Codec (openSUSE Leap) | Yes | (r ) Yes | Yes | 99 | rpm-md | Index of /openh264/openSUSE_Leap |
23 | repo-oss | Dépôt principal | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/oss/ |
24 | repo-sle-debug-update | Update repository with updates from SUSE Linux Enterprise 15 (Debug) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/debug/update/leap/15.6/sle/ |
25 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.6/sle/ |
26 | repo-source | Source Repository | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/source/distribution/leap/15.6/repo/oss/ |
27 | repo-update | Dépôt principal de mise à jour | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.6/oss |
28 | repo-update-non-oss | Dépôt de mises à jour (Non-OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.6/non-oss/

Please use the preformatted text tags </> in the editor to paste terminal output…

You need to remove the invalid repos via

sudo zypper rr 1 2 3 4 5 6 7 8 9 10 11 12 14

Afterwards, show your repo list again. The Packman repo is properly added. So you may only need to do the vendor switch via

sudo zypper dist-upgrade --from packman --allow-vendor-change
  | Alias                       | Name                                                                 | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                           | Service
---+-----------------------------+----------------------------------------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------+--------
 1 | openSUSE-Leap-15.6-1        | openSUSE-Leap-15.6-1                                                 | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/dm-name-ventoy                                    | 
 2 | packman                     | Packman                                                              | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman//suse/openSUSE_Leap_15.6/          | 
 3 | packman-essentials          | packman-essentials                                                   | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.6/Essentials | 
 4 | repo-backports-debug-update | Update repository of openSUSE Backports (Debug)                      | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/backports_debug/                | 
 5 | repo-backports-update       | Update repository of openSUSE Backports                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/backports/                      | 
 6 | repo-debug                  | Debug Repository                                                     | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.6/repo/oss/           | 
 7 | repo-debug-non-oss          | Debug Repository (Non-OSS)                                           | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.6/repo/non-oss/       | 
 8 | repo-debug-update           | Update Repository (Debug)                                            | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.6/oss/                      | 
 9 | repo-debug-update-non-oss   | Update Repository (Debug, Non-OSS)                                   | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.6/non-oss/                  | 
10 | repo-non-oss                | Dépôt Non-OSS                                                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/non-oss/             | 
11 | repo-openh264               | Open H.264 Codec (openSUSE Leap)                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Leap/                            | 
12 | repo-oss                    | Dépôt principal                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/oss/                 | 
13 | repo-sle-debug-update       | Update repository with updates from SUSE Linux Enterprise 15 (Debug) | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.6/sle/                      | 
14 | repo-sle-update             | Update repository with updates from SUSE Linux Enterprise 15         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/sle/                            | 
15 | repo-source                 | Source Repository                                                    | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.6/repo/oss/          | 
16 | repo-update                 | Dépôt principal de mise à jour                                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/oss                             | 
17 | repo-update-non-oss         | Dépôt de mises à jour (Non-OSS)                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://downlo```

You can also remove repo 1 as this is your offline installation media and repo 3 as it is a sub-part of repo 2
sudo zypper rr 1 3

Now you have a clean repo list again.
And remember: DON’T use 1-click installations.

tried

sudo zypper dist-upgrade --from packman --allow-vendor-change

but zypper returned:

unexpected exception.
[service|] Service has no or invalid url defined.
Please file a bug report about this.
See SDB:Zypper troubleshooting - openSUSE Wiki for instructions.

Show a normal sudo zypper up

#  | Alias                       | Name                                                                 | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                     | Service
---+-----------------------------+----------------------------------------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
 1 | packman                     | Packman                                                              | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman//suse/openSUSE_Leap_15.6/    | 
 2 | repo-backports-debug-update | Update repository of openSUSE Backports (Debug)                      | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/backports_debug/          | 
 3 | repo-backports-update       | Update repository of openSUSE Backports                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/backports/                | 
 4 | repo-debug                  | Debug Repository                                                     | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.6/repo/oss/     | 
 5 | repo-debug-non-oss          | Debug Repository (Non-OSS)                                           | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.6/repo/non-oss/ | 
 6 | repo-debug-update           | Update Repository (Debug)                                            | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.6/oss/                | 
 7 | repo-debug-update-non-oss   | Update Repository (Debug, Non-OSS)                                   | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.6/non-oss/            | 
 8 | repo-non-oss                | Dépôt Non-OSS                                                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/non-oss/       | 
 9 | repo-openh264               | Open H.264 Codec (openSUSE Leap)                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Leap/                      | 
10 | repo-oss                    | Dépôt principal                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/oss/           | 
11 | repo-sle-debug-update       | Update repository with updates from SUSE Linux Enterprise 15 (Debug) | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.6/sle/                | 
12 | repo-sle-update             | Update repository with updates from SUSE Linux Enterprise 15         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/sle/                      | 
13 | repo-source                 | Source Repository                                                    | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.6/repo/oss/    | 
14 | repo-update                 | Dépôt principal de mise à jour                                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/oss                       | 
15 | repo-update-non-oss         | Dépôt de mises à jour (Non-OSS)                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/non-oss/ 

I hope it is clean enough

zypper up

unexpected exception.
[service|] Service has no or invalid url defined.
Please file a bug report about this.
See SDB:Zypper troubleshooting - openSUSE Wiki for instructions.

also

cat /etc/zypp/services.d/service.service
[service]
name=service
enabled=1
autorefresh=1
url = 
type = ris


Please show:
zypper clean -a && zypper ref && zypper up

Please show it with the complete output incl. the complete commandline.

Delete this file.

zypper clean -a && zypper ref && zypper up

All repositories have been cleaned up.
Retrieving repository 'Packman' metadata ..............................[done]
Building repository 'Packman' cache ...................................[done]
Retrieving repository 'Update repository of openSUSE Backports' metadata -[-]
Warning: Digest verification failed for file '23c9d58620feedaef60dd1a7bcb2dc5ddb1e24c7072a06eebf64d7827da173c1-primary.xml.gz'
[/var/tmp/AP_0xa0lpPi/repodata/23c9d58620feedaef60dd1a7bcb2dc5ddb1e24c7072a06eebf64d7827da173c1-primary.xml.gz]

  expected 23c9d58620feedaef60dd1a7bcb2dc5ddb1e24c7072a06eebf64d7827da173c1
  but got  8ff9657fcb183aa9d2affc6670b2b6e966ed07e2fc97c34390c9a16f65bd8027

Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.

However if you made certain that the file with checksum '8ff9..' is secure, correct
and should be used within this operation, enter the first 4 characters of the checksum
to unblock using this file on your own risk. Empty input will discard the file.

Unblock or discard? [8ff9/...? shows all options] (discard):
zypper clean -a && zypper ref && zypper up
All repositories have been cleaned up.
Retrieving repository 'Packman' metadata ..............................[done]
Building repository 'Packman' cache ...................................[done]
Retrieving repository 'Update repository of openSUSE Backports' metadat[done]
Building repository 'Update repository of openSUSE Backports' cache ...[done]
Retrieving repository 'Dépôt Non-OSS' metadata ........................[done]
Building repository 'Dépôt Non-OSS' cache .............................[done]
Retrieving repository 'Open H.264 Codec (openSUSE Leap)' metadata .....[done]
Building repository 'Open H.264 Codec (openSUSE Leap)' cache ..........[done]
Retrieving repository 'Dépôt principal' metadata ......................[done]
Building repository 'Dépôt principal' cache ...........................[done]
Retrieving repository 'Update repository with updates from SUSE Linux E[done]
Building repository 'Update repository with updates from SUSE Linux Ent[done]
Retrieving repository 'Dépôt principal de mise à jour' metadata .......[done]
Building repository 'Dépôt principal de mise à jour' cache ............[done]
Retrieving repository 'Dépôt de mises à jour (Non-OSS)' metadata ......[done]
Building repository 'Dépôt de mises à jour (Non-OSS)' cache ...........[done]
All repositories have been refreshed.
Refreshing service 'service'.
Unexpected exception.
[service|] Service has no or invalid url defined.
Please file a bug report about this.
See http://en.opensuse.org/Zypper/Troubleshooting for instructions.

sudo rm /etc/zypp/services.d/service.service

which file ? /etc/zypp/services.d/service.service

Ok, file deleted…