View previous topic :: View next topic |
Author |
Message |
easydisk n00b
Joined: 30 May 2002 Posts: 7
|
Posted: Sun Aug 24, 2003 8:14 am Post subject: Downloading all packages |
|
|
Hello,
normally I have a script to download everything.
( how it works:
-I put all packages I have downloaded on my webserver http://127.0.0.1/gentoo, if gentoo can not find it here it goes to the next server (a gentoo mirror), old packages are not downloaded.
-and I have a script that find all pakcages and exclude games, docs and some other packages.
-and than run 4500 lines (a script ) with commands like:
emerge -f app-editors/kxmleditor || emerge -f kxmleditor
)
So I had around 4500 packages to download, that was finished in about 10 to 12 hours, but since I'm back from vacation 900 packages will take about 9 hours, so all packages will take about a couple of day's.
How can I speed up the process ? (and than, if possible not with use of the option "--nodeps") but for example skip md5sum checking or anything else.
It is no problem if there is a script that finds the necessary files to download in the /usr/portage without emerge. (so I have a list of files to download by hand (I make a script that wget will do it ..) |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Aug 24, 2003 12:15 pm Post subject: |
|
|
easydisk,
You can get a download list in a file by doing emerge -p <something> > listfile.txt
then work through the listfile.
See emerge --help
Regards,
NeddySeagoon _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
easydisk n00b
Joined: 30 May 2002 Posts: 7
|
Posted: Sun Aug 24, 2003 1:37 pm Post subject: |
|
|
That is very fast
(ermerge -f kde takes 3 minutes, emerge -p kde about 10 seconds )
But how do I get from the " [ebuild N ] kde-base/kdetoys-3.1.2 " line to the filename of this package ?
Just the 3th string in usr/portage/kde-base/kdetoys/files/digest-kdetoys-3.1.2 ? or do I have to do more ? Or is there a more easy way to make a download list of file names ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Aug 24, 2003 1:58 pm Post subject: |
|
|
easydisk,
What about
emerge --fetchonly -u world
or
emerge --fetchonly -uD world
depending on your taste.
Regards,
NeddySeagoon _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
dma Guru
Joined: 31 Jan 2003 Posts: 437 Location: Charlotte, NC, USA
|
Posted: Sun Aug 24, 2003 2:33 pm Post subject: |
|
|
Use "-f" and "-p" together:
Code: | root@laureate:/etc# emerge -fp bash
Calculating dependencies ...done!
http://gentoo.oregonstate.edu/distfiles/bash-2.05b.tar.gz http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/bash-2.05b.tar.gz ftp://ftp.gnu.org/gnu/bash/bash-2.05b.tar.gz
http://gentoo.oregonstate.edu/distfiles/bash205b-004 http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/bash205b-004 ftp://ftp.gnu.org/gnu/bash/bash-2.05b-patches/bash205b-004
http://gentoo.oregonstate.edu/distfiles/bash205b-002 http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/bash205b-002 ftp://ftp.gnu.org/gnu/bash/bash-2.05b-patches/bash205b-002
http://gentoo.oregonstate.edu/distfiles/bash205b-003 http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/bash205b-003 ftp://ftp.gnu.org/gnu/bash/bash-2.05b-patches/bash205b-003
http://gentoo.oregonstate.edu/distfiles/bash-2.05b-gentoo.diff.bz2 http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 ftp://sunsite.dk/mirrors/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 ftp://ftp.dale.ro/pub/mirrors/ftp.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 ftp://gentoo.linux.no/pub/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 http://ftp.gentoo.or.kr/distfiles/bash-2.05b-gentoo.diff.bz2 http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles//bash-2.05b-gentoo.diff.bz2 ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 http://gentoo.gnukorea.org/distfiles/bash-2.05b-gentoo.diff.bz2 http://mirrors.sunsite.dk/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/bash-2.05b-gentoo.diff.bz2 http://gentoo.oregonstate.edu/distfiles/bash-2.05b-gentoo.diff.bz2 http://gentoo.linux.no/distfiles/bash-2.05b-gentoo.diff.bz2 >>> md5 src_uri ;-) bash-2.05b.tar.gz
>>> md5 src_uri ;-) bash-2.05b-gentoo.diff.bz2
>>> md5 src_uri ;-) bash205b-002
>>> md5 src_uri ;-) bash205b-003
>>> md5 src_uri ;-) bash205b-004 |
Gives you lots of URLs. |
|
Back to top |
|
|
|