[Bug 557790] New: Aria2 and zypper behind a proxy does not work
http://bugzilla.novell.com/show_bug.cgi?id=557790 http://bugzilla.novell.com/show_bug.cgi?id=557790#c0 Summary: Aria2 and zypper behind a proxy does not work Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i686 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: roebenack.b@rittal.de QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=329011) --> (http://bugzilla.novell.com/attachment.cgi?id=329011) Log files of zypper and aria and the command line User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 I did upgrade from openSuSE 10.3 to 11.0 by zypper (add new repositories, zypper ref, zypper dup). All worked fine. After this I did an update from 11.0 -> 11.1. Zypper worked fine. Then I did an update of zypper with adding the repos of 11.2 and enter "zypper inst zypper". After clening up different dependencies, "zypper dup" does not work anymore. After I had restored my VM-Ware-Snapshot, I did a zypper dup without updating zypper by himself. The Dist-Update worked fine, but after this I get allways the same error while refreshing the repositories: --> Herunterladen fehlgeschlagen: /repodata/repomd.xml konntevon http://ftp5.gwdg.de/pub/linux/packman/suse/11.2/ nicht abgerufen werden Verlauf: -[AbstractCommand.cc:195]URI=http://ftp5.gwdg.de/pub/linux/packman/suse/11.2/repodata/repomd.xml <--- ============================================0 ws002-6859-667:/home/de04566 # zypper ar ftp://ftp5.gwdg.de/pub/linux/suse/opensuse/update/11.2 openSuSE_Update Repository 'openSuSE_Update' wird hinzugefügt [fertig] Repository 'openSuSE_Update' erfolgreich hinzugefügt Aktiviert: Ja Autoaktualisierung: Nein URI: ftp://ftp5.gwdg.de/pub/linux/suse/opensuse/update/11.2 ws002-6859-667:/home/de04566 # zypper ref Metadaten von Repository 'openSuSE_Update' werden abgerufen [\]/repodata/repomd.xml konnte von ftp://ftp5.gwdg.de/pub/linux/suse/opensuse/update/11.2 nicht abgerufen werden Abbrechen, wiederholen, ignorieren? [a/w/i/?] (a): a Metadaten von Repository 'openSuSE_Update' werden abgerufen [Fehler] Repository 'openSuSE_Update' ist ungültig. Can't provide /repodata/repomd.xml : /repodata/repomd.xml konnte von ftp://ftp5.gwdg.de/pub/linux/suse/opensuse/update/11.2 nicht abgerufen werden Bitte überprüfen Sie, ob die für dieses Repository bestimmten URIs zu einem gültigen Repository verweisen. Repository 'openSuSE_Update' wird aufgrund des obigen Fehlers übersprungen. Die Repositories konnten aufgrund von Fehlern nicht aktualisiert werden. =================================== We have a proxy here, so I had to edit the /root/.curlrc at OSS10.3 to work. This is why the 'ar'option of zypper work, but the ref option fails. After some minutes of trying and searching the web, I had found the following hint on: http://linux.derkeiler.com/Mailing-Lists/SuSE/2009-08/msg01072.html --> You can work around it by doing "export ZYPP_ARIA2C=0" and zypper dup after that. <-- Now "zypper ref" work again without any errors (also yast). I have no idea of programming, but this solved my problem! The aria2 version of my system was and still is aria2-1.5.2-2.3.1.i586 I have uploaded the log with and without the "export ZYPP_ARIA2C=0" workaround. It looks like the export workaround made zypper to fall back on curl and ignore aria. Reproducible: Always Steps to Reproduce: 1.Dist-Upgrade 11.1 to 11.2 with out updating zypper first with zypper inst zypper 2.After this you will not be able to update repositories without error messages of aria. => Herunterladen fehlgeschlagen: /repodata/repomd.xml konntevon http://ftp5.gwdg.de/pub/linux/packman/suse/11.2/ nicht abgerufen werden Verlauf: -[AbstractCommand.cc:195]URI=http://ftp5.gwdg.de/pub/linux/packman/suse/11.2/repodata/repomd.xml 4. Do "export ZYPP_ARIA2C=0" and all work fine. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557790 http://bugzilla.novell.com/show_bug.cgi?id=557790#c1 Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tatsuhiro.t@gmail.com --- Comment #1 from Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> 2009-12-03 13:20:22 UTC --- It looks like username/password for proxy server were not passed to aria2c, only proxy server URI was passed. I don't know how zypper passes these information to aria2c. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557790 http://bugzilla.novell.com/show_bug.cgi?id=557790#c2 --- Comment #2 from Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> 2009-12-03 13:24:45 UTC --- I think this is the same issue: https://bugzilla.novell.com/show_bug.cgi?id=552546 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557790 http://bugzilla.novell.com/show_bug.cgi?id=557790#c3 Dinar Valeev <dvaleev@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dvaleev@novell.com Resolution| |DUPLICATE --- Comment #3 from Dinar Valeev <dvaleev@novell.com> 2010-02-09 11:55:57 UTC --- duplicate of https://bugzilla.novell.com/show_bug.cgi?id=552546 *** This bug has been marked as a duplicate of bug 552546 *** http://bugzilla.novell.com/show_bug.cgi?id=552546 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com