Bugzilla – Bug 337410
on-line update fails due to unavailable server and there is no way to change mirror server
Last modified: 2008-01-18 16:13:43 UTC
Created attachment 180946 [details] Last 1000 lines of y2log I was trying to on-line update my 10.3 installation, but this failed because the server's IP ftp.yz.yamagata-u.ac.jp can not be resolved from my location for whatever reason. My current network domain is veloxzone.com.br. I've retried for several hours without success, so it doesn't look like a transient DNS resolution problem. Yast2 Software Repository module only lists the server name as download.opensuse.org so I guess the server ftp.yz.yamagata-u.ac.jp is somehow automatically assigned. So I think what needs to be done is this: 1) check the mirror server availability before assigning it for the task 2) given that the mirror server may be accessible from the main server location but not from the user's location: a way of getting feedback from the user's on-line update module that the mirror server is not accessible from his/her location for whatever reason 3) provide a list of alternative mirror update servers I'm adding the last 1000 lines of y2log, please let me know if you need the whole file (currently at 3.2 Mb). Thanks for your attention.
reassigned to update maintainer
This seems to be problem in redirector at download.opensuse.org MediaHandler.cc(attach):653 Attached: http://download.opensuse.org/update/10.3/ attached; localRoot "/var/adm/mount/AP_0x00000004" MediaCurl.cc(doGetFileCopy):1155 curl error: 6: Couldn't resolve host 'ftp.yz.yamagata-u.ac.jp', temp file size 0 byte. MediaCurl.cc(doGetFileCopy):1253 RETHROW: MediaCurl.cc(doGetFileCopy):1248: Curl error for 'http://download.opensuse.org/update/10.3/rpm/i586/libopenssl0_9_8-0.9.8e-45_45.5.i586.delta.rpm': Error code: Connection failed ...but I have no clue who manages that.
It seems so. Peter, can you check?
There is nothing to check, I believe that Geralds analysis is 100% correct. There is no way to work around this on the server side. The client tools must become more robust / flexible. That's why I mandate introducing fallback mechanisms and proper error handling in exactly the same way as Gerald suggests. See my suggestions I posted here, in a reply to a similar report: http://lists.opensuse.org/opensuse-buildservice/2007-10/msg00170.html Geralds case (flaky DNS resolution to remote areas of the world) would be solved with that.
OK, we'll add it to our feature request queue and discuss it further on the mailing lists. Gerald, there actually is a way to change the mirror: delete the downloads.opensuse.org repo and create a new one with the url of the mirror directly.
*** This bug has been marked as a duplicate of bug 354392 ***