Trying to patch system and I get :-
localadmin@linux-4ekq:~> sudo zypper up
Retrieving repository ‘openSUSE-13.1-Non-Oss’ metadata ---------------------------------------------------------------------------------------------------]
Download (curl) error for ‘http://download.opensuse.org/distribution/13.1/repo/non-oss/repodata/repomd.xml’:
Error code: Connection failed
Error message: Failed to connect to 2001:67c:2178:8::13: Network is unreachable
On 2014-09-30 17:06, craigmc35 wrote:
>
> Trying to patch system and I get :-
A comment: When pasting here computer commands and such, please use a
CODE BLOCK, so that the forum software doesn’t do silly things like
converting URLS to tiny urls or otherwise hide or alter the commands you
entered. You get them by clicking on the ‘#’ button in the forum editor. http://susepaste.org/images/15093674.jpg
Normally this works, or there would be a huge number of complaints. I think mirror-brain usually redirects to mirror before you get very far. Apparently a network failure interfered with that.
I used to get those messages. But then my ISP started providing IPv6, and I no longer get those.
If you don’t actually have IPv6, then treat this as a temporary network error. (If you do have IPv6, it is probably still a temporary network error).
Most of the time, connections will work with IPv4. But, occasionally, when a connection fails the software (“curl”) falls back to an IPv6 address. And if you do not have any IPv6 connectivity, you will get “network unreachable”.
What I always did, was wait a while then try again. That usually worked.
I would opt to do either of two things; disable ipv6 (which you can do from YAST / Network Devices / Network Settings / Global Settings, disable IPv6 and reboot) or could try forcing single request in name resolution:
Make a copy of /etc/resolv.conf and edit it with a text editor as root and add;
options single-request-reopen
Had to use this trick on a customer with a broken resolver.
If I don’t add it to “/etc/hosts”, then my system use IPv6 to connect. And mirror-brain is hopelessly broken for IPv6 addresses. It gives out terrible mirrors (distant and slow). By adding the “/etc/hosts” entry, my initial connect uses IPv4, and mirror-brain works far better with that.
On 2015-01-25 15:46, Anik plexus wrote:
>
> Hello, I am new here the command zypper update is not working.it says
> Download (curl) error for
> “http://download.opensuse.org/distribution/13.1/repo/non-oss/repodata/repomd.xml”
>
> Error code: connection time out
> Error Message: Failed to connect to 2001:67c:2178:8::13: Network is
> unreachable:(
Most times this error is not related to not being able to connect on
IPv6 at all, despite appearances. There is a prior and more important
issue with connection, but zypper tries all the addresses it got. The
last tried are normally the IPv6 ones: it only reports the error with
the last attempt. The important issue is not seen in the error message,
it is lost from sight.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)