Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mirrorselect gibt fehler aus
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
JnZn558
n00b
n00b


Joined: 02 Aug 2011
Posts: 17

PostPosted: Wed Feb 08, 2012 10:51 am    Post subject: mirrorselect gibt fehler aus Reply with quote

ich habe folgende fehler mit mirrorselect

Code:

( Test ) livecd / # mirrorselect -i -r -o >> /etc/make.conf
Downloading a list of mirrors...Tracebak (most recent call last):
File "/usr/sbin/mirrorselect", line 888, in <module> main(sys, argv)
File "/usr/sbin/mirrorselect", line 873, in main hosts = Extractor(MIRRORS_RSYNC_DATA, options).hosts
File "/usr/sbin/mirrorselect", line 153, in __init__ hosts = self.getlist(parser, list_url)
File "/usr/sbin/mirrorselect", line 195, in getlist parser.parse(urllib.urlopel(url).read())
File "/usr/lilb64/python2.7/site-packages/mirrorselect/mirrorparser3.py", line 37, in pars for mirrorgroup in ET.xml(text):
File "/usr/lilb64/python2.7/xml/etree/ElementTree.py", line 1281, in XML parser = XMLParser(target=TreeBuilder())
File "/usr/lilb64/python2.7/xml/etree/ElementTree.py", line 1447, in __init__ "No module named expat; use SimpleXMLTreeBuilder instead"
ImportError: No module name expat; use SimpleXMLTreeBuilder instead


wie kann ich das problem loesen?? danke erstmal
Back to top
View user's profile Send private message
Johann Aman
n00b
n00b


Joined: 09 Feb 2012
Posts: 3

PostPosted: Thu Feb 09, 2012 7:22 pm    Post subject: Re: mirrorselect gibt fehler aus Reply with quote

JnZn558 wrote:
ich habe folgende fehler mit mirrorselect

Code:

( Test ) livecd / # mirrorselect -i -r -o >> /etc/make.conf
Downloading a list of mirrors...Tracebak (most recent call last):
File "/usr/sbin/mirrorselect", line 888, in <module> main(sys, argv)
File "/usr/sbin/mirrorselect", line 873, in main hosts = Extractor(MIRRORS_RSYNC_DATA, options).hosts
File "/usr/sbin/mirrorselect", line 153, in __init__ hosts = self.getlist(parser, list_url)
File "/usr/sbin/mirrorselect", line 195, in getlist parser.parse(urllib.urlopel(url).read())
File "/usr/lilb64/python2.7/site-packages/mirrorselect/mirrorparser3.py", line 37, in pars for mirrorgroup in ET.xml(text):
File "/usr/lilb64/python2.7/xml/etree/ElementTree.py", line 1281, in XML parser = XMLParser(target=TreeBuilder())
File "/usr/lilb64/python2.7/xml/etree/ElementTree.py", line 1447, in __init__ "No module named expat; use SimpleXMLTreeBuilder instead"
ImportError: No module name expat; use SimpleXMLTreeBuilder instead


wie kann ich das problem loesen?? danke erstmal


ich habe dasselbe Problem heute, ich wuerde empfehlen manuell diese Spiegel zu hinzufuegen, z. B.
Code:

# /mnt/gentoo/etc/make.conf
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/"
SYNC="rsync://rsync3.de.gentoo.org"

usw.

// sorry, Deutsch ist nicht meine Muttersprache
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3626
Location: Germany

PostPosted: Thu Feb 09, 2012 11:38 pm    Post subject: Re: mirrorselect gibt fehler aus Reply with quote

JnZn558 wrote:
ich habe folgende fehler mit mirrorselect

Code:

( Test ) livecd / # mirrorselect -i -r -o >> /etc/make.conf
Downloading a list of mirrors...Tracebak (most recent call last):
File "/usr/sbin/mirrorselect", line 888, in <module> main(sys, argv)
File "/usr/sbin/mirrorselect", line 873, in main hosts = Extractor(MIRRORS_RSYNC_DATA, options).hosts
File "/usr/sbin/mirrorselect", line 153, in __init__ hosts = self.getlist(parser, list_url)
File "/usr/sbin/mirrorselect", line 195, in getlist parser.parse(urllib.urlopel(url).read())
File "/usr/lilb64/python2.7/site-packages/mirrorselect/mirrorparser3.py", line 37, in pars for mirrorgroup in ET.xml(text):
File "/usr/lilb64/python2.7/xml/etree/ElementTree.py", line 1281, in XML parser = XMLParser(target=TreeBuilder())
File "/usr/lilb64/python2.7/xml/etree/ElementTree.py", line 1447, in __init__ "No module named expat; use SimpleXMLTreeBuilder instead"
ImportError: No module name expat; use SimpleXMLTreeBuilder instead


wie kann ich das problem loesen?? danke erstmal

Es könnte eventuell daran liegen das dev-lang/python ohne xml Support (-xml USE-Flag) gebaut ist?! (auf der LiveCD)
Ein Vorschlag:
Stelle sicher das (im chroot) python mit xml gebaut ist - vermutlich sollte ein re-emergen schon reichen:
Code:
emerge -av --oneshot python:2.7
Installiere dann mirrorselect und führe es aus der chroot Umgebung heraus aus.
(ungetestet, doch ich denke das sollte klappen :))
Back to top
View user's profile Send private message
JnZn558
n00b
n00b


Joined: 02 Aug 2011
Posts: 17

PostPosted: Fri Feb 10, 2012 5:46 pm    Post subject: Reply with quote

scheint gut zuklappen, danke sehr
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum