-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-05-30 17:18, Per Jessen wrote:
Carlos E. R. wrote:
That sounds like like a bug then - when your system has no route to the IPv6 address, any attempts from zypper should fail immediately, and the next mirror can be tried.
And they fail (I don't know the timing for this, inmediate of after time out), but a second mirror is not tried. It asks the user what to do.
That is either a zypper or libcurl problem, I would say. Unless of course it's failing for download.opensuse.org in which case there may not be another mirror. (for the metalink file for instance).
Zypper should be cleverer, yes.
Since a week or two I have done a configuration change for curl, I have a /root/.curlrc file with a line "--ipv4" which should force curl to use ipv4 always, but I still do not know if it is honored.
A neat solution would be that none of those applications knew that there existed IPv6 addresses, and so could not try them.
Yes that would cure the symptom, but it would be better to investigate the cause, i.e. why those applications don't work like e.g. ping6 (from my earlier posting).
I don't know if they fail intermediately, I think it does. Lets try, forcing ipv6:
cer@Telcontar:~> curl -o p --ipv6 http://download.opensuse.org/distribution/11.4/repo/oss/INDEX.gz
curl: (7) Failed to connect to 2001:67c:2178:8::13: Network is unreachable cer@Telcontar:~>
It fails instantly, that's good. The problem, for some people, is that sometimes it tries to use IPv6.
Because it "works for me" (I currently only have link-local IPv6), I would tend to say that is a configuration problem, and those people ought to pursue that first.
Sorry, what configuration problem? I lost you.
If you mean like the one I mentioned above for curl, yes, I did that and I'm trying to confirm it works. But many programs do not have a switch to force ipv4 or ipv6.
- -- Cheers / Saludos,
Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar)