Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage severs down?!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Mon Aug 25, 2003 7:26 pm    Post subject: portage severs down?! Reply with quote

hello, i heared that www.kernel.org have currently problems with much traffic (new kernel releases 2.4.22 und 2.6.X)...

but the portage servers have problems too, not with the new kernel...with emerge -u world

emerge -u world
Calculating world dependencies ...done!
>>> emerge (1 of 1 gnome-extra/yelp-2.2.3 to /
>>> Downloading http://gentoo.oregonstate.edu/distfiles/yelp-2.2.3.tar.bz2
--21:07:16-- http://gentoo.oregonstate.edu/distfiles/yelp-2.2.3.tar.bz2
=> `/usr/portage/distfiles/yelp-2.2.3.tar.bz2'
Resolving gentoo.oregonstate.edu... done.
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:07:17 ERROR 404: Not Found.

>>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/yelp-2.2.3.tar.bz2
--21:07:17-- http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/yelp-2.2.3.tar.bz2
=> `/usr/portage/distfiles/yelp-2.2.3.tar.bz2'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:07:18 ERROR 404: Not Found.

>>> Downloading ftp://ftp.gnome.org/pub/gnome/sources/yelp/2.2/yelp-2.2.3.tar.bz2
--21:07:18-- ftp://ftp.gnome.org/pub/gnome/sources/yelp/2.2/yelp-2.2.3.tar.bz2
=> `/usr/portage/distfiles/yelp-2.2.3.tar.bz2'
Resolving ftp.gnome.org... done.
Connecting to ftp.gnome.org[130.239.18.137]:21... failed: Connection timed out.
Connecting to ftp.gnome.org[130.239.18.173]:21...



any idea what happens?
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
stillman
Apprentice
Apprentice


Joined: 07 Dec 2002
Posts: 223
Location: Vienna, Austria

PostPosted: Mon Aug 25, 2003 8:57 pm    Post subject: Reply with quote

having the same problem here, just doing a world update and still have 70 packages left.
but you can download the specific sources somewhere else(just google for the packages) and save it to /usr/portage/disfiles/

btw:where can i change the path to the sources of the mirror-servers specified in make.conf? the path '/distfiles' is added per default and i've found a server were most of the packages that can't be found on the official mirrors are existing, but the path is /sources - since i've got lots of files left i dont want to download all files manually...
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9523
Location: beyond the rim

PostPosted: Mon Aug 25, 2003 9:26 pm    Post subject: Reply with quote

stillman wrote:
btw:where can i change the path to the sources of the mirror-servers specified in make.conf? the path '/distfiles' is added per default and i've found a server were most of the packages that can't be found on the official mirrors are existing, but the path is /sources - since i've got lots of files left i dont want to download all files manually...


Code:
grep -n -5 distfiles /usr/lib/python2.2/site-packages/portage.py


It's hardcoded in portage :(
Back to top
View user's profile Send private message
gnac
Guru
Guru


Joined: 30 Jun 2003
Posts: 302
Location: Columbia River Gorge

PostPosted: Mon Aug 25, 2003 9:34 pm    Post subject: Reply with quote

I too am having the same problem. However it appears to be a gnome server problem, not a portage problem

Quote:
Connecting to ftp.gnome.org[130.239.18.137]:21... failed: Connection timed out.
Connecting to ftp.gnome.org[130.239.18.173]:21...


I was looking at their (gnome's) other mirrors and as stillman said, it seems to be a bit much to download everything individually.

I guess we'll have to give gnome a while to see when they get their ftp server back up. Perhaps it would be a good idea to stop trying to access an ftp server in portage after n timeouts?

Genone, wouldn't it be possible to modify the ebuild to redirect the download location? or is that getting into dangerous territory?

Code:
joe@c1 joe $ grep -n -5 distfiles /usr/lib/python2.2/site-packages/portag
e.py
1141-   for myuri in myuris:
1142-           myfile=os.path.basename(myuri)
1143-           if not filedict.has_key(myfile):
1144-                   filedict[myfile]=[]
1145-                   for y in range(0,len(locations)):
1146:                           filedict[myfile].append(locations[y]+"/distfiles
/"+myfile)
1147-           if myuri[:9]=="mirror://":
1148-                   eidx = myuri.find("/", 9)
1149-                   if eidx != -1:
1150-                           mirrorname = myuri[9:eidx]
1151-                           if thirdpartymirrors.has_key(mirrorname):


Could we change/add mirrors to the appropriate build so this code has something to find?
_________________
"I thought she'd steal my heart, instead she stole my kidney,
and now its for sale, on the black market in Sydney" - Better Abraham
Back to top
View user's profile Send private message
mruano
n00b
n00b


Joined: 25 Aug 2003
Posts: 10

PostPosted: Mon Aug 25, 2003 9:39 pm    Post subject: Reply with quote

I have had the same problem.

I solved it using mirorselect and letting it choose 8 or 10 servers in automatic mode:
Code:

mirrorselect -a -s8
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9523
Location: beyond the rim

PostPosted: Mon Aug 25, 2003 9:46 pm    Post subject: Reply with quote

gnac wrote:
Genone, wouldn't it be possible to modify the ebuild to redirect the download location? or is that getting into dangerous territory?
Could we change/add mirrors to the appropriate build so this code has something to find?


You could change the SRC_URI of the affected ebuilds, but that's only a temporary solution as emerge sync will reset it. To use a mirror that is not using the distfiles directory you have to
a) write a script that replaces /distfiles to the desired path and passes it on to wget; and put this script as fetchcommand
b) patch the portage code
Back to top
View user's profile Send private message
stillman
Apprentice
Apprentice


Joined: 07 Dec 2002
Posts: 223
Location: Vienna, Austria

PostPosted: Mon Aug 25, 2003 10:02 pm    Post subject: Reply with quote

yes, looks like it's gnome specific, downloading only the gnome files manually is not such a big problem fortunately...
http://ftp.linux.org.uk/mirrors/ftp.gnome.org/sources/ has most of the files i think, didn't miss any yet...
Back to top
View user's profile Send private message
zooty
n00b
n00b


Joined: 26 Jan 2003
Posts: 6

PostPosted: Tue Aug 26, 2003 3:45 am    Post subject: Reply with quote

You could change the SRC_URI of the affected ebuilds, but that's only a temporary solution as emerge sync will reset it.

I've managed to replace the SRC_URI for most of the packages, however, some packages do not have the SRC_URI listed and default to the ftp.gnome.org. Is there any way to change the SRC_URI in packages where it is not listed?

For example gnome-media-2.2.2 does not have a SRC_URI liisted. is there a way to (EXPORT=mirror://ftp./[..]/.org) so that we can desginate a new mirror for the whole gnome emergence?
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Tue Aug 26, 2003 6:14 am    Post subject: Reply with quote

mruano wrote:
I have had the same problem.

I solved it using mirorselect and letting it choose 8 or 10 servers in automatic mode:
Code:

mirrorselect -a -s8



fine i am not alone :)
I solved this problem with a hint from the german forum,
emerge -pf „packagename“

will give u some mirrors fort the file, i download die files later with mozialla>>it works, but it was boring and much work:(

how works this mirrorselect, when i have to enter this command into console?

greetz
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9523
Location: beyond the rim

PostPosted: Tue Aug 26, 2003 2:22 pm    Post subject: Reply with quote

zooty wrote:
You could change the SRC_URI of the affected ebuilds, but that's only a temporary solution as emerge sync will reset it.

I've managed to replace the SRC_URI for most of the packages, however, some packages do not have the SRC_URI listed and default to the ftp.gnome.org. Is there any way to change the SRC_URI in packages where it is not listed?

For example gnome-media-2.2.2 does not have a SRC_URI liisted. is there a way to (EXPORT=mirror://ftp./[..]/.org) so that we can desginate a new mirror for the whole gnome emergence?


Some ebuilds get SRC_URI from their eclass, e.g. /usr/portage/eclass/gnome.eclass.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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