I am having issues getting Zypper to communicate through our corporate proxy server. Based on other threads, I have set my /root/.curlrc to look something like this:
proxy-user = "<user>:<pass>"
proxy = "http://proxy.com:8080"
I get this error when using zypper:
zypper -p http://packman.inode.at/suse/openSUSE_12.1/ update
Adding repository 'http://packman.inode.at/suse/openSUSE_12.1/' [done]
Repository 'http://packman.inode.at/suse/openSUSE_12.1/' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://packman.inode.at/suse/openSUSE_12.1/
Retrieving repository 'http://packman.inode.at/suse/openSUSE_12.1/' metadata |]
Download (curl) error for 'http://packman.inode.at/suse/openSUSE_12.1/repodata/repomd.xml':
Error code: HTTP response: 407
Error message: The requested URL returned error: 407
However, if I use curl immediately afterward to download the failed url, it works:
curl http://packman.inode.at/suse/openSUSE_12.1/repodata/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo">
<data type="other">
<location href="repodata/other.xml.gz"/>
<checksum type="sha">56b9a6352952a41ab76d1cae19fb2b751720802f</checksum>
<timestamp>1322421915</timestamp>
<open-checksum type="sha">131ffb8b739681492d6743c1a3647aa420d13574</open-checksum>
</data>
<data type="filelists">
<location href="repodata/filelists.xml.gz"/>
<checksum type="sha">98b66f16acf14bd19a2508f2d11a08bc48062588</checksum>
<timestamp>1322421915</timestamp>
<open-checksum type="sha">3196527b3309b5c42d51926a0898ae7d6373949a</open-checksum>
</data>
<data type="primary">
<location href="repodata/primary.xml.gz"/>
<checksum type="sha">89814e8108c993057ec26bc988dd4383098e4a56</checksum>
<timestamp>1322421915</timestamp>
<open-checksum type="sha">a806460c17e8846a1b982c6d495635d7c90cde69</open-checksum>
</data>
</repomd>
Any ideas?
TIA