https://bugzilla.novell.com/show_bug.cgi?id=777726 https://bugzilla.novell.com/show_bug.cgi?id=777726#c0 Summary: zypper doesn't respect PROXY_ENABLED in /etc/sysconfig/proxy Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: jetchko.jekov@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.14 Safari/537.4 Proxy handling in somehow broken in zypper as I see: --- opensuse:~ # grep -v ^# /etc/sysconfig/proxy PROXY_ENABLED="no" HTTP_PROXY="http://192.168.56.1:8000" opensuse:~ # zypper ref Download (curl) error for 'http://download.opensuse.org/update/12.1/repodata/repomd.xml': Error code: User abort Error message: connect() timed out! Abort, retry, ignore? [a/r/i/?] (a): Problem retrieving files from 'Updates for openSUSE 12.1 12.1-1.4'. ---- (tcpdump confirms that zypper tries to use proxy set with HTTP_PROXY) it seems zypper parse /etc/sysconfig/proxy on its own, but it doesn't take into account PROXY_ENABLED variable. The general problem is that if you disable proxy with Yast it only sets PROXY_ENABLED="no" leaving all *_PROXY variables non changed/uncommented and if you have had proxy configured before which doesn't work anymore you can't use zypper. btw libproxy works as expected: opensuse:~ # proxy http://download.opensuse.org/update/12.1/repodata/repomd.xml direct:// Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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.