Zypper unable to reach any repositories!

I’m getting the error when I run “sudo zypper up”:

Failed to connect to 2001:67c:2178:8::13: Network is unreachable

This is for every repository.

I’m on openSUSE 12.1

What’s going on, and how do I fix this?

EDIT: I disabled ipv6 (as suggested here: http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/475005-cant-do-software-update.html ), restarted, and it still does not work!

Hi
Have a look here at the ongoing discussion;
http://lists.opensuse.org/opensuse-project/2012-05/msg00062.html


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
up 2 days 14:46, 4 users, load average: 0.11, 0.06, 0.07
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Hey, now it works! Not sure if it’s the ipv6 change or what, although it worked for months with ipv6 enabled, so no idea if it’s related. Is it?

OK, so if I read that correctly, they’re saying that the ipv4 perhaps failed because they were down and the ipv6 failed because I’m not set for ipv6 on my isp? (But my ISP is set for ipv6 and my router is set to use google’s DNS). So I’m confused as to why I’m getting this error after months of no issues.

On 2012-05-07 18:46, 6tr6tr wrote:

> What’s going on, and how do I fix this?

Retry till it works, or abort and try another day.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

In the past days I’ve experimented some problems in refreshing the repositories …
But now the problems seem to be solved … :slight_smile:

Nope. Just to test, I put ipv6 back on and I’ve set it to use Google’s DNS (8.8.8.8, 8.8.4.4) and it’s not working. It still times out and say it cannot be reached.

Hmmm, maybe that’s not it. Is anyone else having issues with it right now? Even after turning off ipv6 and restarting again, it’s still not working!

BTW, when I try to load the url that it says is unreachable (but I load it in Firefox) it opens! It’s only zypper that’s not loading it! And when I do YAST2/Online Update, it seems to be able to load it but at a VERY, VERY slow 3K/s!

What does this mean?

On 2012-05-08 18:26, 6tr6tr wrote:
>
> BTW, when I try to load the url that it says is unreachable (but I load
> it in Firefox) it opens! It’s only zypper that’s not loading it! What
> does this mean?

what url?

Check the zypper log.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

The repo URL that’s like: download.opensuse.org/update/12.1/repodata/<some_bunch_of_characters_and_numbers>-primary.xml.gz

From the log file:

2012-05-07 12:38:31 <3> linux-box(7772) [zypp] MediaCurl.cc(doGetFileCopyFile):1410 curl error: 7: Failed to connect to 2001:67c:2178:8::13: Network is unreachable, temp file size 0 bytes.
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 MediaCurl.cc(evaluateCurlCode):1015 THROW:    Download (curl) error for 'http://download.opensuse.org/update/12.1/repodata/repomd.xml':
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error code: Connection failed
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error message: Failed to connect to 2001:67c:2178:8::13: Network is unreachable
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 MediaCurl.cc(evaluateCurlCode):1019 RETHROW:  Download (curl) error for 'http://download.opensuse.org/update/12.1/repodata/repomd.xml':
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error code: Connection failed
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error message: Failed to connect to 2001:67c:2178:8::13: Network is unreachable
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 MediaCurl.cc(doGetFileCopyFile):1422 RETHROW:  Download (curl) error for 'http://download.opensuse.org/update/12.1/repodata/repomd.xml':
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error code: Connection failed
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error message: Failed to connect to 2001:67c:2178:8::13: Network is unreachable
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137
2012-05-07 12:38:31 <1> linux-box(7772) [zypp] PathInfo.cc(unlink):670 unlink /var/adm/mount/AP_0x00000001/repodata/repomd.xml.new.zypp.35E5R3
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 MediaMultiCurl.cc(doGetFileCopy):1293 RETHROW:  Download (curl) error for 'http://download.opensuse.org/update/12.1/repodata/repomd.xml':
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error code: Connection failed
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error message: Failed to connect to 2001:67c:2178:8::13: Network is unreachable
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 MediaCurl.cc(getFileCopy):859 RETHROW:  Download (curl) error for 'http://download.opensuse.org/update/12.1/repodata/repomd.xml':
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error code: Connection failed
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error message: Failed to connect to 2001:67c:2178:8::13: Network is unreachable
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 MediaSetAccess.cc(provide):216 CAUGHT:   Download (curl) error for 'http://download.opensuse.org/update/12.1/repodata/repomd.xml':
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error code: Connection failed
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137 Error message: Failed to connect to 2001:67c:2178:8::13: Network is unreachable
2012-05-07 12:38:31 <5> linux-box(7772) [zypp] Exception.cc(log):137

On 2012-05-09 00:26, 6tr6tr wrote:

> The repo URL that’s like:
> download.opensuse.org/update/12.1/repodata/<some_bunch_of_characters_and_numbers>-primary.xml.gz

Please, exact details…

Plus, did you check the logs yet?


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Yes, it’s in the post right before yours. :slight_smile:

On 2012-05-10 00:16, 6tr6tr wrote:
>
> robin_listas;2461474 Wrote:
>>
>>
>> PLUS, DID YOU CHECK THE LOGS YET?
>>
>
> Yes, it’s in the post right before yours. :slight_smile:

No, it is not, the forum software has destroyed half your post and it
hasn’t reached my system :-/

What I don’t see in the small part of the logs you posted is the error that
should be there when it attempts the IPv4 error.

Create a “/root/.curlrc” file, and put in it a single line with “–ipv4”,
and try again.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

I’m not sure it’s the ipv6 issue (at least on my end). I think it might be an issue with the repositories because today, I have ipv6 on and it’s working perfectly. And I had ipv6 on for months and it worked all that time. It was only the last week that it seemed to go in and out.

On 2012-05-10 22:06, 6tr6tr wrote:
> I’m not sure it’s the ipv6 issue (at least on my end). I think it might
> be an issue with the repositories because today, I have ipv6 on and it’s
> working perfectly. And I had ipv6 on for months and it worked all that
> time. It was only the last week that it seemed to go in and out.

Well, the original issue as recognized by suse is that the connection
failed (on ipv4), then it tried the other IP on the same server (which is
IPv6), which also failed - for most people because we don’t have IPv6 - but
the issue reported by zypper is that the connection to a certain IPv6
address failed, so that the other issue with the IPv4 address was not noticed.

And the recommended solution to this was to try again. Perhaps you were hit
more than most.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Ugh. This is happening again! Anyone else experiencing it? What causes this? And why does it keep happening?

On 2012-08-02 21:26, 6tr6tr wrote:
>
> Ugh. This is happening again! Anyone else experiencing it? What causes
> this? And why does it keep happening?

Logs…


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

same for me go to yast and disable ipv6 and it breaks my desktop graphics. so far finding 12.1 and 12.2 a heap of Cr*p