View previous topic :: View next topic |
Author |
Message |
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
|
Back to top |
|
|
stillman Apprentice
Joined: 07 Dec 2002 Posts: 223 Location: Vienna, Austria
|
Posted: Mon Aug 25, 2003 8:57 pm Post subject: |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9523 Location: beyond the rim
|
Posted: Mon Aug 25, 2003 9:26 pm Post subject: |
|
|
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 |
|
|
gnac Guru
Joined: 30 Jun 2003 Posts: 302 Location: Columbia River Gorge
|
Posted: Mon Aug 25, 2003 9:34 pm Post subject: |
|
|
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 |
|
|
mruano n00b
Joined: 25 Aug 2003 Posts: 10
|
Posted: Mon Aug 25, 2003 9:39 pm Post subject: |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9523 Location: beyond the rim
|
Posted: Mon Aug 25, 2003 9:46 pm Post subject: |
|
|
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 |
|
|
stillman Apprentice
Joined: 07 Dec 2002 Posts: 223 Location: Vienna, Austria
|
Posted: Mon Aug 25, 2003 10:02 pm Post subject: |
|
|
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 |
|
|
zooty n00b
Joined: 26 Jan 2003 Posts: 6
|
Posted: Tue Aug 26, 2003 3:45 am Post subject: |
|
|
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 |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Tue Aug 26, 2003 6:14 am Post subject: |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9523 Location: beyond the rim
|
Posted: Tue Aug 26, 2003 2:22 pm Post subject: |
|
|
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 |
|
|
|