https://bugzilla.novell.com/show_bug.cgi?id=649925 https://bugzilla.novell.com/show_bug.cgi?id=649925#c11 Rathnadhar .K.V. <rathnadhar.kolar@wipro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|rathnadhar.kolar@wipro.com | --- Comment #11 from Rathnadhar .K.V. <rathnadhar.kolar@wipro.com> 2010-12-03 03:22:04 UTC --- I did as listed and here is my response. The output is put under "OUTPUT:" header My repos are listed below. # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service --+-----------------------+-----------------------+---------+---------+----------+--------+----------------------------------------------------------------------------+-------- 1 | Contrib-11.3 | Contrib-11.3 | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/11.3:/Contrib/standard | 2 | Java-11.3 | Java-11.3 | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Java:/packages/openSUSE_11.3 | 3 | openSUSE-11.3-Non-Oss | openSUSE-11.3-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.3/repo/non-oss | 4 | openSUSE-11.3-Update | openSUSE-11.3-Update | Yes | Yes | 99 | rpm-md | http://download.uni-hd.de/ftp/pub/linux/opensuse/update/11.3/ | 5 | packman-11.3 | packman-11.3 | Yes | Yes | 99 | rpm-md | http://packman.unixheads.com/suse/11.3 | 6 | repo-oss | openSUSE-11.3-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.3/repo/oss/ 1) Would it be possible to get a logfile of such a failed download with: ZYPP_ARIA2C=0 ZYPP_MEDIA_CURL_DEBUG=2 OUTPUT: I have already set the above in my profile. 2) Using http://download.opensuse.org/..., download.opensuse.org does not resolve the request, but redirects you to one of it's known mirror sites. (like http://download.uni-hd.de). It looks to me like this redirection does not work properly, which may be a problem with the proxy or a problem in libzypp or both. As far as I know RHEL servers do not use redirection, that's why they work for you. And that's also why I expect e.g. http://download.uni-hd.de to work (or any other mirror site that does not redirect further). Last time you changed the URL for the appache repos, you could try the same for the OpenSuse11.3-update_1 update repo, which causes the errors above: - http://download.opensuse.org/update/11.3 + http://download.uni-hd.de/ftp/pub/linux/opensuse/update If this resolves the errors for OpenSuse11.3-update_1, you can basically do the same for all other repos referring to download.opensuse.org. OUTPUT: The url is: http://download.uni-hd.de/ftp/pub/linux/opensuse/update/11.3/ After updating the URL I find the downloads are more stable. I did not get any error. Further the downloads were significantly fast. The update happened in a jiffy. Now please do me a favour. Please give me the final (non redirected) sites of the repos I have listed above, I will update it to my repo list and will run the zypper update, after that I will give the feedback. 3) Finally it would be intersesting to know, whether 'curl' executed on the commandline has similar problems behind your proyx? -- If you'd download e.g. postgresql-contrib-8.4.5-0.3.1.x86_64.rpm from download.opensuse.org: # curl -O http://download.opensuse.org/update/11.3/\ rpm/x86_64/postgresql-contrib-8.4.5-0.3.1.x86_64.rpm And test the downloaded file using the 'file' command: # file postgresql-contrib-8.4.5-0.3.1.x86_64.rpm It should tell you: postgresql-contrib-8.4.5-0.3.1.x86_64.rpm: HTML document text If you read this HTML file, it should tell that the document has moved and point you to some mirror site. Output: Got the message HTML document....the contents of document is as follows: " <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="http://download.uni-hd.de/ftp/pub/linux/opensuse/update/11.3/rpm/x86_64/postgresql-contrib-8.4.5-0.3.1.x86_64.rpm">here</a>.</p> <hr> <address>Apache/2.2.10 (Linux/SUSE) Server at download.opensuse.org Port 80</address> </body></html> " -- Telling curl to follow redirects by using the '-L' option, you should immediately get the file: # curl -L -O http://download.opensuse.org/update/11.3/\ rpm/x86_64/postgresql-contrib-8.4.5-0.3.1.x86_64.rpm # file postgresql-contrib-8.4.5-0.3.1.x86_64.rpm It should tell you: postgresql-contrib-8.4.5-0.3.1.x86_64.rpm: RPM v3 bin i386 ... OUTPUT: "postgresql-contrib-8.4.5-0.3.1.x86_64.rpm: RPM v3.0 bin i386/x86_64" ------------ My observations: 1. When I start getting errors in downloads, it happens in bunches. 2. Say I have 10 files for update, the first downloads without a hitch (its damn slow), I invariably get an error in the second file download. I have to repeatedly press (no) and (retry) to get the download right. In rare cases all the files will encounter this problem. Then its a frustrating thing to update. 3. I always suspected the redirection to be a culprit. I dont know how to nail down. 4. My next suspicion is libzypp. 5. I never such problems in OSuse9, Osuse10...but with 11 and above the problem is acute. 6. There another thing, zypper should have a command line provision for auto retry when the checksum does not match. Its a pain to press 'n' and 'r' for each and every rpm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.