In the last day or so, I have tried to add OBS packages using 1 click (ymp file) install. A couple of the packages are qucs, and JDSP4l – audio equalizer. Each one tries to install about 10 new repos related to SLE, e.g., SUSE:SLE15-SP1:GA and other variants with other SP numbers. These repos all throw errors when being installed and I abort the 1 click install. Looking at the repo list afterwards though shows these to be installed.
A sample of the errors is below:
An error occurred while initializing the software repository.Details:
https-download.opensuse.org-1e6da359: [https-download.opensuse.org-1e6da359|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/] Valid metadata not found at specified URL
History:
- [https-download.opensuse.org-1e6da359|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/] Repository type can't be determined.
Try again?
What are all of these repos? Should one just proceed through the errors?
Hi
Don’t use 1-click install, just manually add repo and install (disable repo afterwards?), or just download and install from a local repo, or use zypper direct…
For JDSP4Linux, it only supports pulseaudio on Leap.
zypper in https://download.opensuse.org/repositories/multimedia:/proaudio/15.4/x86_64/JDSP4Linux-common-2.3+37-lp154.1.1.x86_64.rpm \
https://download.opensuse.org/repositories/multimedia:/proaudio/15.4/x86_64/JDSP4Linux-pulseaudio-2.3+37-lp154.1.1.x86_64.rpm
Thanks for needed info. I installed qucs fine. I used steps below. Steps added to help others that might encounter same problem with 1-click.
Ignore 1-click (ymp) file procedure.
When you have found desired software from within “software.opensuse.org” or OBS, click on “show community packages”, then select the software version you wish to try and click on “expert download”. Ignore green tabs as these will download *.ymp file and instead select “Add repository and install manually”. Then follow provided instruction commands using zypper to install your software based upon the OS version you are using.
As usual life is not black and white. YMP files do include required repositories for a reason. The problem here is more in misuse of this feature to assemble distribution and this feature was never design for this purpose. But it is not uncommon when one OBS repository depends on another OBS repository and if you are not using 1-click install it is up to you to know and add the correct dependencies.
As the most obvious example - some repositories in [noparse]KDE:Extra[/noparse] project are built against repositories in [noparse]KDE:Applications[/noparse] project which themselves are built against repositories in [noparse]KDE:Frameworks5[/noparse] project. If you try to install something from KDE:Extra you likely need in addition both dependent repositories, otherwise you either get unresolved dependencies or strange errors due to version mismatch.
As I already said - do not blindly click through 1-click install GUI. Review repositories list and uncheck all SUSE:SLE* and openSUSE repository itself.
I realize that .ymp files includes loading of the required repos. But it also included what I later found were unneeded and inoperable repos. One does not know, a priori, the required ones from the not required ones just based upon the name. I appreciate advice to uncheck SUSE:SLE repos and openSUSE repository itself.