Hallo zusammen,
ich habe hier das Problem, das bei 11.2 der zypper nicht so richtig will.
ip6 abschalten hilft nicht, zypper cc -a/-m mit anschließendem zypper refresh auch nicht.
Mittels
kann ich zwar aria2c abschalten, aber das ist ja nun nicht die Lösung.
Also root-shell auf und Attacke:
Proxy ist also eingerichtet und bekannt.
Nun Test von repomd.xml via wget
und via aria2c
Kein Unterschied, sieht also gut aus
Nun die andere Datei 71....-susedata.xml.gz via wget:
und via aria2c
Sieht garnicht gut aus.
Ich habe 71...susedata.xml.gz angefordert, bekomme aber vom Server eine ...-susedate.xml.gz.metalink zurück.
Der wget interpretiert sie und lädt dann selbstständig die entsprechende ...-susedate.xml.gz von einem anderen Server (In diesem Fall ftp5.gwgd.de)
Der aria2c empfängt die Datei noch nicht mal, die gelieferte ...-susedate.xml.gz.metalink hat eine Größe von 0Bytes.
Da kann er natürlich nicht interpretieren.
Ein Gegencheck mit curl lieferte wenigstens noch
Es sind also definitiv Daten da, welche vom download.opensuse.com mit Status 302 geliefert werden.
aria2c liegt in der Version 1.9.2 vor.
Das kommt direkt aus dem Network-Repository, was neueres habe ich noch nicht gefunden.
Hat jemand eine Idee ?
Ralf
ich habe hier das Problem, das bei 11.2 der zypper nicht so richtig will.
ip6 abschalten hilft nicht, zypper cc -a/-m mit anschließendem zypper refresh auch nicht.
Mittels
Code:
export ZYPP_ARIA2C=0
Also root-shell auf und Attacke:
Code:
walhalla:~ # export | grep "proxy"
declare -x ftp_proxy="http://ww.xx.yy.zz:8080/"
declare -x http_proxy="http://ww.xx.yy.zz:8080/"
declare -x https_proxy="http://ww.xx.yy.zz:8080/"
declare -x no_proxy="localhost, 127.0.01, *.foo.bar"
walhalla:~ #
Nun Test von repomd.xml via wget
Code:
walhalla:~ # wget http://download.opensuse.org/update/11.2/repodata/repomd.xml
--2010-05-06 14:09:32-- http://download.opensuse.org/update/11.2/repodata/repomd.xml
Connecting to ww.xx.yy.zz:8080 ... connected.
Proxy request sent, awaiting response... 200 OK
Length: 2340 (2.3K) [text/xml]
Saving to: `repomd.xml'
100%[==================================================================================================>] 2,340 --.-K/s in 0.007s
2010-05-06 14:09:32 (305 KB/s) - `repomd.xml' saved [2340/2340]
walhalla:~ # mv repomd.xml repomd.xml.wget
Code:
walhalla:~ # aria2c http://download.opensuse.org/update/11.2/repodata/repomd.xml
2010-05-06 14:10:16.357892 WARN - You may encounter the certificate verification error with HTTPS server. See --ca-certificate and --check-certificate option.
2010-05-06 14:10:16.624658 NOTICE - Download complete: /root/repomd.xml
Download Results:
gid|stat|avg speed |path/URI
===+====+===========+===========================================================
1| OK| 326.4KiB/s|/root/repomd.xml
Status Legend:
(OK):download completed.
walhalla:~ # mv repomd.xml repomd.xml.aria2c
Code:
walhalla:~ # diff repomd.xml.wget repomd.xml.aria2c
walhalla:~ #
Nun die andere Datei 71....-susedata.xml.gz via wget:
Code:
walhalla:~ # wget http://download.opensuse.org/update/11.2/repodata/716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz
--2010-05-06 14:11:34-- http://download.opensuse.org/update/11.2/repodata/716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz
Connecting to ww.xx.yy.zz:8080... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: http://ftp5.gwdg.de/pub/opensuse/update/11.2/repodata/716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz [following]
--2010-05-06 14:11:38-- http://ftp5.gwdg.de/pub/opensuse/update/11.2/repodata/716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz
Connecting to ww.xx.yy.zz:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [application/gz]
Saving to: `716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz'
[ <=> ] 147,976 131K/s in 1.1s
2010-05-06 14:11:39 (131 KB/s) - `716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz' saved [147976]
walhalla:~ # mv 716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz 716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz.wget
Code:
walhalla:~ # aria2c http://download.opensuse.org/update/11.2/repodata/716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz
2010-05-06 14:12:07.996390 WARN - You may encounter the certificate verification error with HTTPS server. See --ca-certificate and --check-certificate option.
2010-05-06 14:12:08.246538 NOTICE - Download complete: /root/716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz.metalink
2010-05-06 14:12:08.247068 ERROR - Exception caught
Exception: [ExpatMetalinkProcessor.cc:168] Cannot parse metalink XML file. XML may be malformed.
Download Results:
gid|stat|avg speed |path/URI
===+====+===========+===========================================================
1| OK| 0B/s|/root/716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz.metalink
Status Legend:
(OK):download completed.
walhalla:~ #
Ich habe 71...susedata.xml.gz angefordert, bekomme aber vom Server eine ...-susedate.xml.gz.metalink zurück.
Der wget interpretiert sie und lädt dann selbstständig die entsprechende ...-susedate.xml.gz von einem anderen Server (In diesem Fall ftp5.gwgd.de)
Der aria2c empfängt die Datei noch nicht mal, die gelieferte ...-susedate.xml.gz.metalink hat eine Größe von 0Bytes.
Da kann er natürlich nicht interpretieren.
Ein Gegencheck mit curl lieferte wenigstens noch
Code:
walhalla:~ # curl http://download.opensuse.org/update/11.2/repodata/716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz
<!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-ulm.de/mirrors/opensuse/update/11.2/repodata/716055bf69aaf0f3853912c05b38ad1170a6292e-susedata.xml.gz">here</a>.</p>
<hr>
<address>Apache/2.2.15 (Linux/SUSE) Server at download.opensuse.org Port 80</address>
</body></html>
walhalla:~ #
aria2c liegt in der Version 1.9.2 vor.
Das kommt direkt aus dem Network-Repository, was neueres habe ich noch nicht gefunden.
Hat jemand eine Idee ?
Ralf