Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

zypper refresh not working

$
0
0
Hello,
I'm using openSUSE 12.3, my zypper has a trouble while refreshing repository
Code:

# zypper -v ref 1
Verbosity: 1
Non-option program arguments: '1'
Initializing Target
Specified repositories: repo-update
Checking whether to refresh metadata for openSUSE-12.3-Update
Retrieving: repomd.xml.asc ..........................................................................................................[done]
Retrieving: repomd.xml.key ..........................................................................................................[done]
Retrieving: repomd.xml ..............................................................................................................[done]
Retrieving: 72ec1c0ce1e356099d4b423de344bf03ed9acd1d9fdffbfd7da1205697a91c52-app-icons.tar.gz ......................................[error]
Permission to access 'http://download.opensuse.org/update/12.3/repodata/72ec1c0ce1e356099d4b423de344bf03ed9acd1d9fdffbfd7da1205697a91c52-app-icons.tar.gz' denied.

And here's /var/log/zypper.log:
Code:

2014-10-02 14:08:03 <1> linux-ukui.site(3960) [zypp++] MediaMultiCurl.cc(doGetFileCopy):1360 HTTP response: 200
2014-10-02 14:08:03 <1> linux-ukui.site(3960) [zypp] MediaCurl.cc(MediaCurl):450 MediaCurl::MediaCurl(http://ftp.uni-kl.de/pub/linux/opensuse/update/12.3/repodata/72ec1c0ce1e356099d4b423de344bf03ed9acd1d9fdffbfd7da1205697a91c52-app-icons.tar.gz, )
2014-10-02 14:08:03 <1> linux-ukui.site(3960) [zypp++] MediaCurl.cc(setupEasy):650 Proxy: 'http://<myproxy>:8080'
2014-10-02 14:08:03 <1> linux-ukui.site(3960) [zypp++] MediaCurl.cc(setupEasy):676 Proxy: using provided proxy-user 'dungla4'
2014-10-02 14:08:03 <1> linux-ukui.site(3960) [zypp] MediaCurl.cc(MediaCurl):450 MediaCurl::MediaCurl(http://widehat.opensuse.org/update/12.3/repodata/72ec1c0ce1e356099d4b423de344bf03ed9acd1d9fdffbfd7da1205697a91c52-app-icons.tar.gz, )
2014-10-02 14:08:03 <1> linux-ukui.site(3960) [zypp++] MediaCurl.cc(setupEasy):650 Proxy: 'http://<myproxy>:8080'
2014-10-02 14:08:03 <1> linux-ukui.site(3960) [zypp++] MediaCurl.cc(setupEasy):676 Proxy: using provided proxy-user 'dungla4'

If I run curl command
Code:

# curl -v http://download.opensuse.org/update/12.3/repodata/72ec1c0ce1e356099d4b423de344bf03ed9acd1d9fdffbfd7da1205697a91c52-app-icons.tar.gz
* About to connect() to proxy <myproxy> port 8080 (#0)
*  Trying 10.16.51.102...
* connected
* Connected to <myproxy> (10.16.51.102) port 8080 (#0)
* Proxy auth using Basic with user 'dungla4'
> GET http://download.opensuse.org/update/12.3/repodata/72ec1c0ce1e356099d4b423de344bf03ed9acd1d9fdffbfd7da1205697a91c52-app-icons.tar.gz HTTP/1.1
> Proxy-Authorization: Basic ZHVuZ2xhNDpMYWlkb2lwYXNzMQ==
> User-Agent: firefox
> Host: download.opensuse.org
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 302 Found
< Date: Thu, 02 Oct 2014 07:14:28 GMT
< Server: Apache/2.2.12 (Linux/SUSE)
< X-Prefix: 118.70.240.0/20
< X-AS: 18403
< X-MirrorBrain-Mirror: ftp.uni-kl.de
< X-MirrorBrain-Realm: other_country
< Location: http://ftp.uni-kl.de/pub/linux/opensuse/update/12.3/repodata/72ec1c0ce1e356099d4b423de344bf03ed9acd1d9fdffbfd7da1205697a91c52-app-icons.tar.gz
< Content-Length: 417
< Content-Type: text/html; charset=iso-8859-1
< Proxy-Connection: Keep-Alive
< Connection: Keep-Alive
<
<!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://ftp.uni-kl.de/pub/linux/opensuse/update/12.3/repodata/72ec1c0ce1e356099d4b423de344bf03ed9acd1d9fdffbfd7da1205697a91c52-app-icons.tar.gz">here</a>.</p>
<hr>
<address>Apache/2.2.12 (Linux/SUSE) Server at download.opensuse.org Port 80</address>
</body></html>
* Connection #0 to host <myproxy> left intact
* Closing connection #0

I can still download this file from firefox or through wget app
Here's my repositories:
Code:

# zypper lr --uri
# | Alias      | Name                | Enabled | Refresh | URI                                                                                     
--+-------------+----------------------+---------+---------+------------------------------------------------------------------------------------------
1 | repo-update | openSUSE-12.3-Update | Yes    | Yes    | http://download.opensuse.org/update/12.3

Can you help me to solve it?
Thank you

Note: proxy, user, password are set correctly through Yast. But I don't know how to set user-agent for curl (wget only works with user-agent=firefox or MozillaFirefox)

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>