Online update stops working after a couple of weeks

I’ve this problem with all recent versions of openSUSE including my now Leap 42.1 version. Install works fine. Everything works fine for a week or two. Then online update bombs out, cannot find any of the depositories. Message:

Cannot access installation media
http://download.opensuse.org/distrib…42.1/repo/oss/ (Medium 1).
Check whether server is available

I get the same message for every repository configured. After skipping thru all these error messages I get

There was an error in the repository initialization.
SKIP request: User-requested skipping of a file
History:

After skipping everything after that. I get

Error: No software repository configured yet

I checked my repositories. They are all there from my install except for having removed the disk repository, which I learned to delete as not required from posts here, and which caused some initial problems to access the repositories initially. deleting that meant I was able to access the online repositories after install (For about 2 weeks at least).

Need a permanent solution.

zypper lr -d

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

—±--------------------------------±----------------------------------------±--------±----------±--------±---------±-------±------------------------------------------------------------------------------±-------
1 | download.nvidia.com-leap | nVidia Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.nvidia.com/opensuse/leap/42.1 |
2 | download.opensuse.org-Wine | openSUSE BuildService - Wine CVS Builds | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_42.1/ |
3 | download.opensuse.org-mozilla | openSUSE BuildService - Mozilla | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_42.1/ |
4 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
5 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/ |
6 | download.opensuse.org-oss | Main Repository (OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/oss/ |
7 | download.opensuse.org-oss_1 | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/oss |
8 | geeko.ioda.net-amd-fglrx | AMD/ATI Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | http://geeko.ioda.net/mirror/amd-fglrx/openSUSE_Leap_42.1/ |
9 | linuxdownload.adobe.com-linux | Adobe Flash Plugin | Yes | ( p) Yes | Yes | 99 | rpm-md | http://linuxdownload.adobe.com/linux/x86_64/ |
10 | opensuse-guide.org-repo | Libdvdcss Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/ |
11 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.1/ |
12 | repo-debug | openSUSE-Leap-42.1-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/ |
13 | repo-debug-non-oss | openSUSE-Leap-42.1-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |
14 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/oss |
15 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/non-oss/ |
16 | repo-source | openSUSE-Leap-42.1-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/ |
17 | repo-update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/ |

You have a network problem.

You have too many repos, including some duplicates. But I doubt that is the cause of your network problems.

What’s the output from

/sbin/ifconfig -a

Please use a CODE block for your output.

/sbin/ifconfig -a

eth0      Link encap:Ethernet  HWaddr 90:2B:34:AA:2E:9F  
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::922b:34ff:feaa:2e9f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36437 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41523 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15349756 (14.6 Mb)  TX bytes:9603942 (9.1 Mb)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

I’m not seeing an obvious problem there.

Are you having other network problems on the same computer? Can you access sites such as google or yahoo?

This might be a router problem. It might be an ISP problem.

I have heard of some people having IPv6 related issues. You could try disabling IPv6. Use Yast Network Settings, go to the “Global” tab and uncheck the box for enabling IPv6. Then reboot.

Disabling IPV6 didn’t help. Still the same symptoms.

I’ve had exactly the same symptoms with all recent versions of openSUSE. Culminating in Leap 42.1 It works for 2-4 weeks and then 100% fails to get any updates, with unable to reach the repositories. I’m sure if I reinstalled 42.1, it would work fine for 2-4 weeks,but would then fail again.

It’s strange you say I have duplicate repositories. I don’t see any duplicates using Yast.

Would the (Medium 1) give you any clues? I thought that was reserved for the DVD? But my memory might not be correct about that.

No. I’m not having any other network problems. I can reach Google/Yahoo without any problems.

Maybe a bad mirror?? Try explicitly using a mirror

How to do that?

Wow. For the first time that I recall, YAST found most of the repositories except WINE and 1 other, on a mirror, not specified by me (I don’t know how to). Listed loads of updates. I accepted. But all failed to download, and I aborted the download (too many). I don’t ever recall seeing this before. But I wasn’t surprised. What the ??? is going on here.

Tried again to online update with YAST, and now it’s looking at the regular repositories again (not a mirror) and finding nothing :frowning:

there have been quite a few updates lately and your local mirror might be overloaded, you could try gwdg.de mirror as they have great speeds and are stable
ftp://ftp5.gwdg.de/pub/opensuse/distribution/leap/42.1/repo/
ftp://ftp5.gwdg.de/pub/opensuse/update/leap/42.1/

Another possibility that your ISP has blocked the address for some reason. Maybe inadvertently as part of a block

So I replace http://download.opensuse.org/ with ftp://ftp5.gwdg.de/pub/opensuse/ in all my openSUSE Repository URL’s? Is that correct?

NO!!!

http://mirrors.opensuse.org/

Use those address. select a mirror close by if does not work try another

BTW you can use a browser to go to a mirror address and see if it is working

selecting a close mirror might be his problem
it’s not the 90’s even if he’s in I don’t know in NZ that’s one of the best opensuse mirrors online and a better choice then a local university mirror

OK. I tried a traceroute and got

linux-czsf:~ # traceroute download.opensuse.org
traceroute to download.opensuse.org (195.135.221.134), 30 hops max, 60 byte packets
 1  192.168.1.1 (192.168.1.1)  1.320 ms  1.918 ms  2.947 ms
 2  210.213.160.1.pldt.net (210.213.160.1)  34.529 ms  36.729 ms  38.453 ms
 3  * * *
 4  210.213.130.118.static.pldt.net (210.213.130.118)  42.119 ms  44.128 ms 210.213.130.106.static.pldt.net (210.213.130.106)  44.563 ms
 5  210.213.130.158.static.pldt.net (210.213.130.158)  45.286 ms  46.517 ms  50.277 ms
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  213.198.72.238 (213.198.72.238)  368.868 ms  366.171 ms  360.001 ms
13  xe-1-2-1.r4.nue1.m-online.net (82.135.16.115)  350.679 ms  353.147 ms  351.490 ms
14  GW-SUSE-NEFkom.241.nefkom.de (212.114.146.241)  362.882 ms  362.271 ms  364.490 ms
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
linux-czsf:~ # 

I don’t really understand that. But though it meant that it didn’t reach download.opensuse.org. When I pinged download.opensuse.org, it returned the results for ftp (not http).

So I tried to change http to ftp in the repository urls. But it wouldn’t accept ftp. When I tried the online update again. I think i was going to a mirror, and it seemed to find all the updates. But as soon as the online update tried to actually download the files, they seemed to be pointing to http://download.opensuse.org (I think… I wasn’t really observing that closely) and couldn’t find any files.

I’m actually in Philippines. So I select a mirror from the list. But I still need instructions on how I get YAST to use that mirror for downloading the files.

One other comment. My browser finds download.opensuse.org without any problems at all. For me. That implies some kind of problem with YAST? When YAST cannot find the folder and reports

Error code: Connection failed
Error message: Failed to connect to download.opensuse.org port 80: Network is unreachable

when aborting the checking of directories and before attempting to download any files.

I also get pretty much the same problems with my laptop using the same internet connection.

download.opensuse.org on ports other then 80 redirects to local mirrors so your browsers interaction is pointless

I had some problems with repos too (in New Zealand). Go to http://mirrors.opensuse.org/ and select a mirror URL for each of your repos and try it in the browser. Then go to YAST - Repositories - Add and paste the URL into the appropriate field. Add the name (e.g. oss, non-oss) and click OK. Yast then tries to download the file with the packages. If this works use this as your repo - if not select another. It worked for me.
Cheers
Uli