GithubHelp home page GithubHelp logo

Comments (8)

mlandres avatar mlandres commented on August 21, 2024
$ cat /etc/zypp/repos.d/openSUSE:repo-non-oss.repo
[openSUSE:repo-non-oss]
name=repo-non-oss ($releasever)
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/distribution/$releasever/repo/non-oss
type=yast2
service=openSUSE

We support this for quite a long time. If your zypper isn't too old (before 2010), at least $basearch should work. May of course be the detection of $releasever on RHEL/Fedora systems has changed.

We're looking for the version of the 1st package providing 'redhat-release'. If the rules have changed, let me know and I'll try to fix it.

from zypper.

KAMiKAZOW avatar KAMiKAZOW commented on August 21, 2024

I use zypper 1.11.23 as packaged at https://build.opensuse.org/package/show/devel:cloverleaf:testing/zypper
redhat-release is provided by fedora-release and its version number is correct.

Still zypper complains about wrong URLs. Any hints what I could try or look into?

from zypper.

mlandres avatar mlandres commented on August 21, 2024

zypper lr -u shows the expanded URL, so if this is wrong something broke. Logfile is
/var/log/zypper.log, in case of doubt send it to me ([email protected]) and I'll have a look at it.

from zypper.

KAMiKAZOW avatar KAMiKAZOW commented on August 21, 2024

zypper lr -u looks just fine. It seems that there is some issue with retrieving the GPG keys for signing but I'm not sure.

I'm sending you the log right away.

from zypper.

mlandres avatar mlandres commented on August 21, 2024
2015-04-10 20:32:37 <3> ronny.linux(11246) [zypp] RepoFileReader.cc(repositories_in_stream):145 
Unknown attribute in [fedora]: metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
ignored

This seems to be the problem. Zypper does not know the 'metalink=' tag. This would be easy to fix.

Try renaming it to mirrorlist=. If a metalink file is returned, zypper should detect and parse it. This way it worked for me.

from zypper.

KAMiKAZOW avatar KAMiKAZOW commented on August 21, 2024

Works better but not fully:
Error building the cache:
Url scheme is a required component
Warning: Skipping repository 'RPM Fusion for Fedora 21 - Free' because of the above error.

from zypper.

mlandres avatar mlandres commented on August 21, 2024

:( The mirrorlist parser does not ignore '#'-comment lines.
There's no workaround for this. You'll need the latest libzypp (openSUSE/libzypp@7465363). It hopefully fixes also the metalink= issue.

from zypper.

KAMiKAZOW avatar KAMiKAZOW commented on August 21, 2024

No idea why all that messed with yum. Now I had to rename every "metalink" to "mirrorlist" again or yum bitches. Haha.
Everything (yum, dnf, zypper) seems to work now. Thanks a lot for your effort.

from zypper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.