Hi
At the risk of being naive, having just installed a clean version of Leap 15, I followed the Multimedia guide for Leap 42.3 (substituting Leap_15 for Leap_42.3) and got a few errors. The two repos (packman and libdvdcss) were added correctly when I did “zypper ar”, but then I got errors (Invalid Cache) when I did “zypper ref” for both these repos. Is that just because I didn’t have a previous Cache to refresh on my system, or is it something more serious at the source end?
I stopped when I saw the errors and didn’t do the final steps of installing the multimedia packages and then Applying the Packet Switcher in Yast > Software Management.
Please not only tell what you think you saw, but post what you did and saw.
Copy/paste from the terminal window including the line with the prompt and the zypper ref command, up to the new prompt line between CODE tags in your post. To get the CODE tags click on the button with the # in the toolbar of the post editor.
Also, so people can check if you indeed have the correct repos, post
The easiest thing to do is to add the Packman repository and the libdvdcss repository and to use yast software manager> Configuration> Repository> below on the left> add> community repository> put on the repository you need and Ok and so you added repository, using zypper ar you must be sure to respect the syntax, an extra space or a dash and it does not work
Firstly thanks for taking the time to reply.
Just to say I prefer to do most admin work on the command line so using zypper is fine.
Here is the code you requested. I made a mistake in my original post saying that the error was Invalid Cache - this is not the case. It just shows the value of posting the actual output!!
caractacus:~ # zypper ar -f http://packman.inode.at/suse/openSUSE_Leap_15/ packman
Adding repository 'packman' ......................................................[done]
Repository 'packman' successfully added
URI : http://packman.inode.at/suse/openSUSE_Leap_15/
Enabled : Yes
GPG Check : Yes
Autorefresh : Yes
Priority : 99 (default priority)
Repository priorities are without effect. All enabled repositories share the same priority.
caractacus:~ # zypper ar -f http://opensuse-guide.org/repo/openSUSE_Leap_15/ libdvdcss
Adding repository 'libdvdcss' ....................................................[done]
Repository 'libdvdcss' successfully added
URI : http://opensuse-guide.org/repo/openSUSE_Leap_15/
Enabled : Yes
GPG Check : Yes
Autorefresh : Yes
Priority : 99 (default priority)
Repository priorities are without effect. All enabled repositories share the same priority.
caractacus:~ # zypper ref
Retrieving repository 'libdvdcss' metadata ......................................[error]
Repository 'libdvdcss' is invalid.
[libdvdcss|http://opensuse-guide.org/repo/openSUSE_Leap_15/] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'libdvdcss' because of the above error.
Retrieving repository 'packman' metadata ........................................[error]
Repository 'packman' is invalid.
[packman|http://packman.inode.at/suse/openSUSE_Leap_15/] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'packman' because of the above error.
Retrieving repository 'openSUSE-Leap-15.0-Non-Oss' metadata ......................[done]
Building repository 'openSUSE-Leap-15.0-Non-Oss' cache ...........................[done]
Retrieving repository 'openSUSE-Leap-15.0-Oss' metadata ..........................[done]
Building repository 'openSUSE-Leap-15.0-Oss' cache ...............................[done]
Retrieving repository 'openSUSE-Leap-15.0-Update' metadata .......................[done]
Building repository 'openSUSE-Leap-15.0-Update' cache ............................[done]
Retrieving repository 'openSUSE-Leap-15.0-Update-Non-Oss' metadata ...............[done]
Building repository 'openSUSE-Leap-15.0-Update-Non-Oss' cache ....................[done]
Some of the repositories have not been refreshed because of an error.
caractacus:~ #
It may be simply that I got the repo URLs wrong, as I just copied what was listed in the Sticky post for Leap 42.3.
Anyhow I’ll await further comments. Thanks.
That is nice, but enziosavio’s advice is not bad. As explanioed it will provide you with correct URLs. Now you are trying to hire us to check your probably wrong URLs instead of simply correcting things in enziosavio’s way.
You can always make notes about those correct URLs, remove them again and then add them with zypper if that make you sleep better.
It may be simply that I got the repo URLs wrong, as I just copied what was listed in the Sticky post for Leap 42.3.
Anyhow I’ll await further comments. Thanks.
Once again tank you for your replies - almost all of which were useful and positive!!
I rushed to post initially without investigating enough first. I’ve already solved my problem with some work using the browser and some guesswork too.
I did look at Yast, but at least in my version you still need to know the URLs of the repos you are adding - there is no mention of Community repos in the Software Manager I have (which is from a clean installation of Leap 15.0) so I don’t know why there is a suggestion that using Yast is any easier. Maybe I missed something!
The forum should be a good place to post technical problems from the simplest to the most complicated. People offering solutions are generally very helpful and positive but occasionally you get people with a bad attitude, just like on all online shared media (such as social media). They probably should stay offline if they have that bad attitude!
The community repos can be added in YaST > Software > Repository Management as was explained in post #3 above.
Not in YaST > Software > Software Management as you seem to have used.