Re: [gentoo-user] system with no network needs updates

2005-04-06 Thread Grant
> >>> PS and I dont see how the line in the wiki could have worked well
> >>> unless
> >>> emerge -fp used to have different behavior.
> >>
> >>
> >> Thanks a lot Eugene, that second line worked great.  Let me know if I
> >> should update the wiki:
> >>
> >> gentoo-wiki.com/TIP_Gentoo_for_dialup_users
> >
> >
> > Yes, you should.
> >
> > Stroller.
> >
> > --
> > gentoo-user@gentoo.org mailing list
> 
> I agree, thats the whole purpose of the wiki.

Should I update the wiki to include this whole line:

cat links.txt | sort | uniq | xargs -n 1 -i{} sh -c 'for i in {}; do
wget -c $i && break; done'

instead of the current one:

wget -i links.txt

It seems like I'm bloating it, but let me know.

http://gentoo-wiki.com/TIP_Gentoo_for_dialup_users

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system with no network needs updates

2005-04-06 Thread Eugene Rosenzweig
Stroller wrote:
On Apr 5, 2005, at 7:54 pm, Grant wrote:
PS and I dont see how the line in the wiki could have worked well 
unless
emerge -fp used to have different behavior.

Thanks a lot Eugene, that second line worked great.  Let me know if I
should update the wiki:
gentoo-wiki.com/TIP_Gentoo_for_dialup_users

Yes, you should.
Stroller.
--
gentoo-user@gentoo.org mailing list
I agree, thats the whole purpose of the wiki.
Eugene.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] system with no network needs updates

2005-04-05 Thread Stroller
On Apr 5, 2005, at 1:27 am, Grant wrote:
Each line in your links.txt is a list of different mirror urls for 
the
same package separated by '%20'.
This should take the first link from every line and pass it to wget:
cat links.txt | sed -e 's/%20.*//' | xargs -n 1 wget
or alternatively:
sed -e 's/%20.*//' links1.txt
wget -i links1.txt
...
Actually that first line of code ends up trying to download the same
file over and over.
Won't wget's "-c" flag resolve this?
IE:
  sed -e 's/%20.*//' links1.txt && wget -ci links1.txt
or perhaps (I haven't tested):
  sed -e 's/%20.*//' links1.txt | wget -ci
In any case `man wget` is your friend.
I think there are a bunch of different paths
specified for each file so it can always find one that works.
Uh.. that's the point. The file is a list of full paths to the file(s) 
on all the mirrors specified in the make.conf on the machine that 
created it. Thus one can be sure that when one takes the links.txt to 
another machine & downloads the files it won't fail simply because a 
single mirror is inaccessible.

Stroller.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] system with no network needs updates

2005-04-05 Thread Stroller
On Apr 5, 2005, at 7:54 pm, Grant wrote:
PS and I dont see how the line in the wiki could have worked well 
unless
emerge -fp used to have different behavior.
Thanks a lot Eugene, that second line worked great.  Let me know if I
should update the wiki:
gentoo-wiki.com/TIP_Gentoo_for_dialup_users
Yes, you should.
Stroller.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] system with no network needs updates

2005-04-05 Thread Grant
> Ok, I actually went and tested this out this time. The %20 are from wget
> escaping spaces, they are not in the file so you could do
> cat links.txt | sort | uniq | sed -e 's/ .*//' | xargs -n 1 wget -c
> 
> the sort | uniq pipeline removes identical lines and wget -c option
> makes sure that if there is a doubleup, the files dont get overwritten.
> Its a hack but it should work. It relies on the first mirror for each
> package being valid. If its not, it will not get that package since sed
> prunes all but the first link. So if one of the packages doesnt
> download, you'll have to get one of the links for it manually and
> download it.
> Alternatively you could try:
> 
> cat links.txt | sort | uniq | xargs -n 1 -i{} sh -c 'for i in {}; do
> wget -c $i && break; done'
> 
> this command will actually iterate over the alternative links for each
> file until it one of them works. It's ot perfect but works reasonably
> well for me. Use this one and if it breaks for you, use the first, less
> complicated line.
> 
> Eugene.
> 
> PS and I dont see how the line in the wiki could have worked well unless
> emerge -fp used to have different behavior.

Thanks a lot Eugene, that second line worked great.  Let me know if I
should update the wiki:

gentoo-wiki.com/TIP_Gentoo_for_dialup_users

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system with no network needs updates

2005-04-05 Thread Eugene Rosenzweig
Grant wrote:
Each line in your links.txt is a list of different mirror urls for the
same package separated by '%20'.
This should take the first link from every line and pass it to wget:
cat links.txt | sed -e 's/%20.*//' | xargs -n 1 wget
or alternatively:
sed -e 's/%20.*//' links1.txt
wget -i links1.txt
Eugene.
 

Thank you, that seems to be working great.  Should I update the wiki?
It says I should do this on the networkless machine:
emerge -fp package1 package2 2> links.txt
and this on the networked machine:
wget -i links.txt
and that's what I did.
- Grant
   

Actually that first line of code ends up trying to download the same
file over and over.  I think there are a bunch of different paths
specified for each file so it can always find one that works.  I think
it is trying to download each one of those.
The alternate solution ends up in the same situation as before with a
bunch of bad paths.
- Grant
--
gentoo-user@gentoo.org mailing list
 

Ok, I actually went and tested this out this time. The %20 are from wget 
escaping spaces, they are not in the file so you could do
cat links.txt | sort | uniq | sed -e 's/ .*//' | xargs -n 1 wget -c

the sort | uniq pipeline removes identical lines and wget -c option 
makes sure that if there is a doubleup, the files dont get overwritten.
Its a hack but it should work. It relies on the first mirror for each 
package being valid. If its not, it will not get that package since sed 
prunes all but the first link. So if one of the packages doesnt 
download, you'll have to get one of the links for it manually and 
download it.
Alternatively you could try:

cat links.txt | sort | uniq | xargs -n 1 -i{} sh -c 'for i in {}; do 
wget -c $i && break; done'

this command will actually iterate over the alternative links for each 
file until it one of them works. It's ot perfect but works reasonably 
well for me. Use this one and if it breaks for you, use the first, less 
complicated line.

Eugene.
PS and I dont see how the line in the wiki could have worked well unless 
emerge -fp used to have different behavior.


--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] system with no network needs updates

2005-04-04 Thread Grant
> > Each line in your links.txt is a list of different mirror urls for the
> > same package separated by '%20'.
> > This should take the first link from every line and pass it to wget:
> > cat links.txt | sed -e 's/%20.*//' | xargs -n 1 wget
> > or alternatively:
> > sed -e 's/%20.*//' links1.txt
> > wget -i links1.txt
> >
> > Eugene.
> 
> Thank you, that seems to be working great.  Should I update the wiki?
> It says I should do this on the networkless machine:
> 
> emerge -fp package1 package2 2> links.txt
> 
> and this on the networked machine:
> 
> wget -i links.txt
> 
> and that's what I did.
> 
> - Grant

Actually that first line of code ends up trying to download the same
file over and over.  I think there are a bunch of different paths
specified for each file so it can always find one that works.  I think
it is trying to download each one of those.

The alternate solution ends up in the same situation as before with a
bunch of bad paths.

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system with no network needs updates

2005-04-04 Thread Grant
> Each line in your links.txt is a list of different mirror urls for the
> same package separated by '%20'.
> This should take the first link from every line and pass it to wget:
> cat links.txt | sed -e 's/%20.*//' | xargs -n 1 wget
> or alternatively:
> sed -e 's/%20.*//' links1.txt
> wget -i links1.txt
> 
> Eugene.

Thank you, that seems to be working great.  Should I update the wiki? 
It says I should do this on the networkless machine:

emerge -fp package1 package2 2> links.txt
 
and this on the networked machine:

wget -i links.txt

and that's what I did.

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system with no network needs updates

2005-04-04 Thread Eugene Rosenzweig
Stroller wrote:
On Apr 4, 2005, at 1:25 am, Grant wrote:
Looking a little closer at the output of 'wget -i links.txt' :
--17:14:20--   
http://distfiles.gentoo.org/distfiles/sysvinit-2.86.tar.gz%20http:/ 
distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/sysvinit 
-2.86.tar.gz%20ftp:/ftp.cistron.nl/pub/people/miquels/software/ 
sysvinit-2.86.tar.gz%20ftp:/sunsite.unc.edu/pub/Linux/system/daemons/ 
init/sysvinit-2.86.tar.gz
   => `sysvinit-2.86.tar.gz'
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:14:20 ERROR 404: Not Found.

In links.txt each of the paths for any given file are concatenated
(correct usage?) with a space character, and wget is trying to fetch
the entire string.  Does anyone know how to make wget use this file
properly?
$ sed 's/%20/ /'
http://distfiles.gentoo.org/distfiles/sysvinit-2.86.tar.gz%20http:/ 
distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/sysvinit 
-2.86.tar.gz%20ftp:/ftp.cistron.nl/pub/people/miquels/software/ 
sysvinit-2.86.tar.gz%20ftp:/sunsite.unc.edu/pub/Linux/system/daemons/ 
init/sysvinit-2.86.tar.gz
http://distfiles.gentoo.org/distfiles/sysvinit-2.86.tar.gz  
http:/distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/ 
sysvinit-2.86.tar.gz%20ftp:/ftp.cistron.nl/pub/people/miquels/software/ 
sysvinit-2.86.tar.gz%20ftp:/sunsite.unc.edu/pub/Linux/system/daemons/ 
init/sysvinit-2.86.tar.gz

Please trim your postings,
Stroller.
--
gentoo-user@gentoo.org mailing list

Each line in your links.txt is a list of different mirror urls for the 
same package separated by '%20'.
This should take the first link from every line and pass it to wget:
cat links.txt | sed -e 's/%20.*//' | xargs -n 1 wget
or alternatively:
sed -e 's/%20.*//' links1.txt
wget -i links1.txt

Eugene.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] system with no network needs updates

2005-04-03 Thread Stroller
On Apr 4, 2005, at 1:25 am, Grant wrote:
Looking a little closer at the output of 'wget -i links.txt' :
--17:14:20--   
http://distfiles.gentoo.org/distfiles/sysvinit-2.86.tar.gz%20http:/ 
distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/sysvinit 
-2.86.tar.gz%20ftp:/ftp.cistron.nl/pub/people/miquels/software/ 
sysvinit-2.86.tar.gz%20ftp:/sunsite.unc.edu/pub/Linux/system/daemons/ 
init/sysvinit-2.86.tar.gz
   => `sysvinit-2.86.tar.gz'
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:14:20 ERROR 404: Not Found.

In links.txt each of the paths for any given file are concatenated
(correct usage?) with a space character, and wget is trying to fetch
the entire string.  Does anyone know how to make wget use this file
properly?
$ sed 's/%20/ /'
http://distfiles.gentoo.org/distfiles/sysvinit-2.86.tar.gz%20http:/ 
distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/sysvinit 
-2.86.tar.gz%20ftp:/ftp.cistron.nl/pub/people/miquels/software/ 
sysvinit-2.86.tar.gz%20ftp:/sunsite.unc.edu/pub/Linux/system/daemons/ 
init/sysvinit-2.86.tar.gz
http://distfiles.gentoo.org/distfiles/sysvinit-2.86.tar.gz  
http:/distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/ 
sysvinit-2.86.tar.gz%20ftp:/ftp.cistron.nl/pub/people/miquels/software/ 
sysvinit-2.86.tar.gz%20ftp:/sunsite.unc.edu/pub/Linux/system/daemons/ 
init/sysvinit-2.86.tar.gz

Please trim your postings,
Stroller.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] system with no network needs updates

2005-04-03 Thread Grant
> > When using -f (--fetchonly) and -p (--pretend) together emerge dumps all
> > possible download urls for each package it knows about. I think this is
> > documented somewhere. Have you synced the portage tree though? It would
> > not be wise to freshen up just one subdirectory on /usr/portage tree.
> > You need to get a recent snapshot and update manually. This link has a
> > little more on it:
> > http://gentoo-wiki.com/TIP_Downloading_distfiles_on_another_machine
> >
> > It would be something like:
> > wget http://gentoo.osuosl.org/snapshots/portage-(most recent date).tar.bz2
> > # ... transfer to your target machine using cd or usb stick ...
> > # on target machine put it into /var/tmp
> > # then:
> > cd /var/tmp
> > tar fxj portage-(most recent date).tar.bz2
> > cd portage
> > # ... run this:
> > /usr/lib/portage/bin/portageq portdir
> > # and check that it returns a sane value like /usr/portage and:
> > rsync -av --progress --stats --delete --delete-after
> > --exclude='/distfiles' --exclude='/packages' --exclude='/local' .
> > `/usr/lib/portage/bin/portageq portdir`
> > cd ..
> > rm -rf portage
> > rm -f portage-(most recent date).tar.bz2
> > # ... and now you got a recent portage snapshot to work with ...
> > emerge -vuDfp world <-- to see what you get out of date
> >
> > i havent tested this but the code in the middle i got out of
> > emerge-webrsync so i guess it should work.
> >
> > Eugene.
> 
> Your suggestions worked great except I had to use '/usr/portage'
> instead of '/usr/lib/portage/bin/portageq portdir' with the rsync
> command.
> 
> I ended up with what seemed like a nice links.txt file, but 'wget -i
> links.txt' from the networked machine returns all 403 and 404 errors.
> I thought this might have something to do with the fact that the
> floppy I used to transfer the links.txt file was vfat, so I formatted
> it ext2 with the same results.  It's always something like this:
> 
> Connecting to distfiles.gentoo.org[156.56.247.195]:80... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 15:49:30 ERROR 403: Forbidden.
> 
> - Grant

Looking a little closer at the output of 'wget -i links.txt' :

--17:14:20--  
http://distfiles.gentoo.org/distfiles/sysvinit-2.86.tar.gz%20http:/distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/sysvinit-2.86.tar.gz%20ftp:/ftp.cistron.nl/pub/people/miquels/software/sysvinit-2.86.tar.gz%20ftp:/sunsite.unc.edu/pub/Linux/system/daemons/init/sysvinit-2.86.tar.gz
   => `sysvinit-2.86.tar.gz'
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:14:20 ERROR 404: Not Found.

In links.txt each of the paths for any given file are concatenated
(correct usage?) with a space character, and wget is trying to fetch
the entire string.  Does anyone know how to make wget use this file
properly?

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system with no network needs updates

2005-04-03 Thread Grant
> >>>...I think what I need to do is fetch a few packages on
> >>>another system, burn them to a CD, and copy them from the CD to the
> >>>appropriate places on the network-less system.  For baselayout, would
> >>>I want to get and put /usr/portage/sys-apps/baselayout/* ?
> >>>
> >>>
> >>To copy over only /usr/portage/sys-apps/baselayout/ is inelegant - it
> >>brings in only the ebuilds for baselayout, which might depend on other
> >>packages in the tree.
> >>
> >>The best thing to do is grab a whole Portage snapshot on a network
> >>connected machine - you'll find these at [UK mirror]
> >>.
> >>
> >>When you've copied this across to the networkless machine & unpacked it
> >>the right place you can then find out what packages to download by
> >>typing `emerge -pf world`. This should give you a whole list of URLs
> >>which you can wget from the networked machine.
> >>
> >>
> >
> >This doesn't seem to be working.  I followed the instructions to
> >emerge -fp about 10 different packages, but I get this output:
> >
> >http://distfiles.gentoo.org/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >http://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >http://open-systems.ufl.edu/mirrors/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >ftp://lug.mtu.edu/gentoo/source/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >http://mirrors.tds.net/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >http://cudlug.cudenver.edu/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >ftp://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >http://gentoo.oregonstate.edu/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >http://gentoo.mirrors.pair.com/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >http://ftp.gentoo.or.kr/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
> >
> >http://distfiles.gentoo.org/distfiles/wpa_supplicant-0.2.7.tar.gz
> >http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/wpa_supplicant-0.2.7.tar.gz
> >http://hostap.epitest.fi/releases/wpa_supplicant-0.2.7.tar.gz
> >
> >Looking that over, only two different packages are mentioned and the
> >madwifi-driver package is really out of date.
> >
> >- Grant
> >--
> >gentoo-user@gentoo.org mailing list
> >
> >
> When using -f (--fetchonly) and -p (--pretend) together emerge dumps all
> possible download urls for each package it knows about. I think this is
> documented somewhere. Have you synced the portage tree though? It would
> not be wise to freshen up just one subdirectory on /usr/portage tree.
> You need to get a recent snapshot and update manually. This link has a
> little more on it:
> http://gentoo-wiki.com/TIP_Downloading_distfiles_on_another_machine
> 
> It would be something like:
> wget http://gentoo.osuosl.org/snapshots/portage-(most recent date).tar.bz2
> # ... transfer to your target machine using cd or usb stick ...
> # on target machine put it into /var/tmp
> # then:
> cd /var/tmp
> tar fxj portage-(most recent date).tar.bz2
> cd portage
> # ... run this:
> /usr/lib/portage/bin/portageq portdir
> # and check that it returns a sane value like /usr/portage and:
> rsync -av --progress --stats --delete --delete-after
> --exclude='/distfiles' --exclude='/packages' --exclude='/local' .
> `/usr/lib/portage/bin/portageq portdir`
> cd ..
> rm -rf portage
> rm -f portage-(most recent date).tar.bz2
> # ... and now you got a recent portage snapshot to work with ...
> emerge -vuDfp world <-- to see what you get out of date
> 
> i havent tested this but the code in the middle i got out of
> emerge-webrsync so i guess it should work.
> 
> Eugene.

Your suggestions worked great except I had to use '/usr/portage'
instead of '/usr/lib/portage/bin/portageq portdir' with the rsync
command.

I ended up with what seemed like a nice links.txt file, but 'wget -i
links.txt' from the networked machine returns all 403 and 404 errors. 
I thought this might have something to do with the fact that the
floppy I used to transfer the links.txt file was vfat, so

Re: [gentoo-user] system with no network needs updates

2005-04-03 Thread Eugene Rosenzweig
Grant wrote:
...I think what I need to do is fetch a few packages on
another system, burn them to a CD, and copy them from the CD to the
appropriate places on the network-less system.  For baselayout, would
I want to get and put /usr/portage/sys-apps/baselayout/* ?
 

To copy over only /usr/portage/sys-apps/baselayout/ is inelegant - it
brings in only the ebuilds for baselayout, which might depend on other
packages in the tree.
The best thing to do is grab a whole Portage snapshot on a network
connected machine - you'll find these at [UK mirror]
.
When you've copied this across to the networkless machine & unpacked it
the right place you can then find out what packages to download by
typing `emerge -pf world`. This should give you a whole list of URLs
which you can wget from the networked machine.
   

This doesn't seem to be working.  I followed the instructions to
emerge -fp about 10 different packages, but I get this output:
http://distfiles.gentoo.org/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://open-systems.ufl.edu/mirrors/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://lug.mtu.edu/gentoo/source/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://mirrors.tds.net/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://cudlug.cudenver.edu/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://gentoo.oregonstate.edu/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://gentoo.mirrors.pair.com/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://ftp.gentoo.or.kr/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://distfiles.gentoo.org/distfiles/wpa_supplicant-0.2.7.tar.gz
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/wpa_supplicant-0.2.7.tar.gz
http://hostap.epitest.fi/releases/wpa_supplicant-0.2.7.tar.gz
Looking that over, only two different packages are mentioned and the
madwifi-driver package is really out of date.
- Grant
--
gentoo-user@gentoo.org mailing list
 

When using -f (--fetchonly) and -p (--pretend) together emerge dumps all 
possible download urls for each package it knows about. I think this is 
documented somewhere. Have you synced the portage tree though? It would 
not be wise to freshen up just one subdirectory on /usr/portage tree. 
You need to get a recent snapshot and update manually. This link has a 
little more on it: 
http://gentoo-wiki.com/TIP_Downloading_distfiles_on_another_machine

It would be something like:
wget http://gentoo.osuosl.org/snapshots/portage-(most recent date).tar.bz2
# ... transfer to your target machine using cd or usb stick ...
# on target machine put it into /var/tmp
# then:
cd /var/tmp
tar fxj portage-(most recent date).tar.bz2
cd portage
# ... run this:
/usr/lib/portage/bin/portageq portdir
# and check that it returns a sane value like /usr/portage and:
rsync -av --progress --stats --delete --delete-after 
--exclude='/distfiles' --exclude='/packages' --exclude='/local' . 
`/usr/lib/portage/bin/portageq portdir`
cd ..
rm -rf portage
rm -f portage-(most recent date).tar.bz2
# ... and now you got a recent portage snapshot to work with ...
emerge -vuDfp world <-- to see what you get out of date

i havent tested this but the code in the middle i got out of 
emerge-webrsync so i guess it should work.

Eugene.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] system with no network needs updates

2005-04-03 Thread Grant
> > ...I think what I need to do is fetch a few packages on
> > another system, burn them to a CD, and copy them from the CD to the
> > appropriate places on the network-less system.  For baselayout, would
> > I want to get and put /usr/portage/sys-apps/baselayout/* ?
> 
> To copy over only /usr/portage/sys-apps/baselayout/ is inelegant - it
> brings in only the ebuilds for baselayout, which might depend on other
> packages in the tree.
> 
> The best thing to do is grab a whole Portage snapshot on a network
> connected machine - you'll find these at [UK mirror]
> .
> 
> When you've copied this across to the networkless machine & unpacked it
> the right place you can then find out what packages to download by
> typing `emerge -pf world`. This should give you a whole list of URLs
> which you can wget from the networked machine.

This doesn't seem to be working.  I followed the instructions to
emerge -fp about 10 different packages, but I get this output:

http://distfiles.gentoo.org/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://open-systems.ufl.edu/mirrors/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://lug.mtu.edu/gentoo/source/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://mirrors.tds.net/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://cudlug.cudenver.edu/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://gentoo.oregonstate.edu/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://gentoo.mirrors.pair.com/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://ftp.gentoo.or.kr/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2

http://distfiles.gentoo.org/distfiles/wpa_supplicant-0.2.7.tar.gz
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/wpa_supplicant-0.2.7.tar.gz
http://hostap.epitest.fi/releases/wpa_supplicant-0.2.7.tar.gz

Looking that over, only two different packages are mentioned and the
madwifi-driver package is really out of date.

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system with no network needs updates

2005-04-02 Thread Stroller
On Apr 2, 2005, at 8:22 pm, Grant wrote:
...I think what I need to do is fetch a few packages on
another system, burn them to a CD, and copy them from the CD to the
appropriate places on the network-less system.  For baselayout, would
I want to get and put /usr/portage/sys-apps/baselayout/* ?
To copy over only /usr/portage/sys-apps/baselayout/ is inelegant - it 
brings in only the ebuilds for baselayout, which might depend on other 
packages in the tree.

The best thing to do is grab a whole Portage snapshot on a network 
connected machine - you'll find these at [UK mirror] 
.

When you've copied this across to the networkless machine & unpacked it 
the right place you can then find out what packages to download by 
typing `emerge -pf world`. This should give you a whole list of URLs 
which you can wget from the networked machine.

The Gentoo Wiki has an article about this - 
.
If you see any room for tidying, please update it - I think the 
"Updating the portage tree" section should come a the beginning, not 
the end??

Stroller.
 

--
gentoo-user@gentoo.org mailing list


[gentoo-user] system with no network needs updates

2005-04-02 Thread Grant
I've got a system that needs a few package updates before its wireless
connection will start working and ethernet doesn't seem to be
cooperating.  I think what I need to do is fetch a few packages on
another system, burn them to a CD, and copy them from the CD to the
appropriate places on the network-less system.  For baselayout, would
I want to get and put /usr/portage/sys-apps/baselayout/* ?

- Grant
--
gentoo-user@gentoo.org mailing list