404 error for /repodata/repomd.xml

Since today I get this error from zypper:

File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/tumbleweed/repo/non-oss/'
Abort, retry, ignore? [a/r/i/...? shows all options] (a): i
Do you want to disable the repository openSUSE-Tumbleweed-Non-Oss permanently? [yes/no] (no): 
Skipping repository 'openSUSE-Tumbleweed-Non-Oss' because of the above error.
File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/tumbleweed/repo/oss/'
Abort, retry, ignore? [a/r/i/...? shows all options] (a): i
Do you want to disable the repository openSUSE-Tumbleweed-Oss permanently? [yes/no] (no): 
Skipping repository 'openSUSE-Tumbleweed-Oss' because of the above error.
Repository 'openSUSE-Tumbleweed-Update' is up to date.                                                                                                        
Some of the repositories have not been refreshed because of an error.

Is there a problem with the download page? http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml does not exist and gives a 404 error.

I just did “zypper refresh”, and everything seemed to work.

Maybe try again. It could be a temporary error. Or perhaps you are being redirected to a broken mirror.

I did that for the past few hours

The domain does resolve to 195.135.221.134 here, according to the whois a SUSE-owned IP.

To get a 404, you do have to successfully connect.

Since I am not getting a 404, that suggests that we are connecting to different places.

However, I do have IPv6 available here. So perhaps it is working for me because of using an IPv6 connection.

Hi
No issues here either…

@OP, do you get here;
http://download.opensuse.org/tumbleweed/repo/oss/suse/repodata/repomd.xml.mirrorlist

Could be perhaps your ISP DNS servers playing up?

I found out that the problem is only the non-oss repo.

And for non-oss I do not find the repodata directory here: http://download.opensuse.org/tumbleweed/repo/non-oss/suse/
I also don not see the repodata on mirrors like this one: http://ftp.sh.cvut.cz/opensuse/tumbleweed/repo/non-oss/suse/

As I wrote the download.opensuse.org IP resolves to 195.135.221.134 here, this is also the answer I get from Novell’s authoritative DNS servers.

On Thu 26 Oct 2017 11:06:01 AM CDT, sebix wrote:

I found out that the problem is only the non-oss repo.

malcolmlewis;2842562 Wrote:
> @OP, do you get here;
> http://tinyurl.com/y75z7jrs
>
And for non-oss I do not find the repodata directory here:
http://download.opensuse.org/tumbleweed/repo/non-oss/suse/
I also don not see the repodata on mirrors like this one:
http://ftp.sh.cvut.cz/opensuse/tumbleweed/repo/non-oss/suse/
malcolmlewis;2842562 Wrote:
> Could be perhaps your ISP DNS servers playing up?
As I wrote the download.opensuse.org IP resolves to 195.135.221.134
here, this is also the answer I get from Novell’s authoritative DNS
servers.

Hi
So if you look at the output from zypper lr -Ed for it to look at that
Type column it sounds like it’s rpm-md, in this case it’s oss and
non-oss should be of type yast2.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.87-18.29-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Thanks, this solved the problem!

But I have no idea where the change comes from. This change happend during a zypper dup run according to the zypper logs.

diff --git a/zypp/repos.d/repo-non-oss.repo b/zypp/repos.d/repo-non-oss.repo
index 390cf4c…8c22792 100644
— a/zypp/repos.d/repo-non-oss.repo
+++ b/zypp/repos.d/repo-non-oss.repo
@@ -4,5 +4,5 @@ enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/tumbleweed/repo/non-oss/
path=/
-type=yast2
+type=rpm-md
keeppackages=0
diff --git a/zypp/repos.d/repo-oss.repo b/zypp/repos.d/repo-oss.repo
index 6dfc1d5…198b29e 100644
— a/zypp/repos.d/repo-oss.repo
+++ b/zypp/repos.d/repo-oss.repo
@@ -4,5 +4,5 @@ enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/tumbleweed/repo/oss/
path=/
-type=yast2
+type=rpm-md
keeppackages=0


2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 --------------------------------------
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - alias : repo-non-oss
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - name : openSUSE-Tumbleweed-Non-Oss
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - enabled : 1
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - autorefresh : 1
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - url : http://download.opensuse.org/tumbleweed/repo/non-oss/
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - path : /
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - type : yast2
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - priority : 99
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - gpgcheck : D(Y) repoD(Y)* sig? pkgD(Y)*
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - keeppackages: 0
2017-10-21 14:59:15 <1> linux-ek7w(4261) [zypp] RepoFileReader.cc(repositories_in_stream):191 - filePath: /etc/zypp/repos.d/repo-non-oss.repo


2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 --------------------------------------
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - alias : repo-non-oss
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - name : openSUSE-Tumbleweed-Non-Oss
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - enabled : 1
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - autorefresh : 1
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - url : http://download.opensuse.org/tumbleweed/repo/non-oss/
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - path : /
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - type : rpm-md
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - priority : 99
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - gpgcheck : D(Y) repoD(Y)* sig? pkgD(Y)*
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - keeppackages: 0
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191 - filePath: /etc/zypp/repos.d/repo-non-oss.repo
2017-10-21 14:59:38 <1> linux-ek7w(4345) [zypp] RepoFileReader.cc(repositories_in_stream):191

Hi
There have been a few threads about this… not sure, maybe someone testing to see if can switch to a standard repo, rather than snapshots…