[Bug 745295] New: zypper + proxy + patch:OpenSUSE-2011-103-1-noarch
https://bugzilla.novell.com/show_bug.cgi?id=745295 https://bugzilla.novell.com/show_bug.cgi?id=745295#c0 Summary: zypper + proxy + patch:OpenSUSE-2011-103-1-noarch Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: hiller@mpia.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 I installed opensuse 12.1 with netinstall. When the system was up i added the community repositories and made an online update (alternative; zypper patch). The patches patch:OpenSUSE-2011-1-2-noarch und patch:OpenSUSE-2011-103-1-noarch were installed. After that nothing was working anymore with zypper or the yast package manager. The error message was something like: Download (curl) error for 'http://download.opensuse.org/update/12.1/repodata/repomd.xml': Error code: Connection failed Error message: Failed to connect to 2001:67c:2178:8::13: Network is unreachable Abort, retry, ignore? [a/r/i/?] (a): Zypper obviously wanted to search an ipv6 address. Neither echo -e "disable-ipv6=true\n" > /root/.aria2c.conf nor export ZYPP_ARIA2C=0 nor using ipv6.disable=1 in a boot option nor switching off ipv6 in yast could make zypper look for ipv4 Any other network tools like wget were still working fine. I am sitting behind a web-proxy. I tried the same things in another network without a proxy, and zypper was doing fine, also with the patch. In that "proxyless" network i downgraded zypper by installing: zypper-log-1.6.16-5.3.1.noarch libzypp-10.3.2-1.1.1.x86_64 zypper-1.6.16-5.3.1.x86_64 Then i went back to the proxy-network, and everything worked. So, something must have happend during the step to zypper-1.6.18 Is there an easy workaround or do i have to wait for the next zypper upgrade? Reproducible: Always Steps to Reproduce: You have to be behind a web-proxy 1. install patch:OpenSUSE-2011-103-1-noarch 2. do e.g. 'zypper ref' Actual Results: zypper and yast package management are not working anymore behind a proxy Expected Results: a month ago, before patch:OpenSUSE-2011-103-1-noarch zypper was still working This issue is also the thread "patch:OpenSUSE-2011-103-1-noarch" in the German lanuage mailinglist opensuse-de@opensuse.org -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=745295
https://bugzilla.novell.com/show_bug.cgi?id=745295#c1
Michael Andres
Zypper obviously wanted to search an ipv6 address. Neither echo -e "disable-ipv6=true\n" > /root/.aria2c.conf nor export ZYPP_ARIA2C=0
JFYI: Zypper does not use aria unless you explictly enabled it. It is per defalut based on libcurl. - Please attach the zypper logfile /var/log/zypper.log (or an older /var/log/zypper.log-YYYYMMDD.bz2) that shows the reported behavior. You can execute 'grep main.cc /var/log/zypper.log' (or 'zgrep main.cc /var/log/zypper.log-YYYYMMDD.bz2') to see execution dates and commands the log contains. - Your proxy is configured in /etc/sysconfig/proxy? - Please make sure the package libproxy-tools is installed ,and send the output of `_PX_DEBUG=1 proxy http://download.opensuse.org` -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=745295
https://bugzilla.novell.com/show_bug.cgi?id=745295#c2
--- Comment #2 from Ulrich Hiller
https://bugzilla.novell.com/show_bug.cgi?id=745295
https://bugzilla.novell.com/show_bug.cgi?id=745295#c3
Michael Andres
The output of _PX_DEBUG=1 proxy http://download.opensuse.org is:
Using config: 20kde_config_extension
There is a difference in using "su" or "su -" to create the root shell launching zypper. In the first case the user environment is preserved and libproxy sees you are in a kde/gnome session and thus uses the kde/gnome configuration. If you do "su -" you have a root login shell, and libproxy reads and prefers the configuration from /etc/sysconfig/proxy (which is what YaST writes). You can test this using _PX_DEBUG=1 proxy for both cases. *** This bug has been marked as a duplicate of bug 732886 *** http://bugzilla.novell.com/show_bug.cgi?id=732886 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=745295
https://bugzilla.novell.com/show_bug.cgi?id=745295#c4
--- Comment #4 from Ulrich Hiller
https://bugzilla.novell.com/show_bug.cgi?id=745295
https://bugzilla.novell.com/show_bug.cgi?id=745295#c5
--- Comment #5 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=745295
https://bugzilla.novell.com/show_bug.cgi?id=745295#c6
--- Comment #6 from Ulrich Hiller
participants (1)
-
bugzilla_noreply@novell.com