Es scheint also irgendwie die Möglichkeit zu geben das zu checken oder? Aber wo?ts77 wrote:Wow, auch mit DSL und Volumentarif lohnt sich das:
perl-5.8.4.tar.gz-perl-5.8.5.tar.gz.dtu
Size: 202.5 kB
Orig-Size: 11.4 MB
Efficiency: 98.26%
Saved: 11.2 MB
Hab dem Cache gerade ein paar mehr Einträge beschert.
Wo schreibe ich die Option "REMOVE_OLD=true" rein?Wiebel wrote:Und euer distfiles - Verzeichnis kann es auch gleich sauberhalten.
Ich persönlich schätze die Option REMOVE_OLD=true sehr. Diese Option bewirkt, dass das jeweils alte Archiv nach dem erstellen des neuen auch gleich gelöscht wird, und das Hält euer disfiles Verzeichniss hervorragend sauber, da im Idealfall nur die aktuell benötigten Archive da sind und nicht, wie sonst, alle möglichen Generationen ein und seselben Paketes.
Das dürfte vor allem diejenigen interessieren, die bisher mit allen möglichen und unmöglichen Scripten versucht haben ihr distfiles Verzeichnis halbwegs ordentlich zu halten.
Wollt ich nur noch gesagt haben.


Code: Select all
[...]
>>> Downloading ftp://gentoo.inode.at/source/distfiles/bash30-001
Searching for a previosly downloaded file in /usr/portage/distfiles
We have following candidates to choose from
bash30-002
bash30-003
bash30-004
bash30-005
bash30-006
bash30-007
bash30-008
bash30-009
bash30-010
bash30-011
bash30-012
bash30-013
The best of all is ... bash30-013
Checking if this file is OK.
Trying to download bash30-013-bash30-001.dtu
/usr/portage/distfiles/.getdelta-896418000-tmp /usr/portage/distfiles
/root--15:50:14--
http://linux01.gwdg.de/%7Enlissne/deltup.php?have=bash30-013&want=bash30-001&url=ftp://gentoo.inode.at/source/distfiles/bash30-001&version=0.6
=>
`deltup.php?have=bash30-013&want=bash30-001&url=ftp:%2F%2Fgentoo.inode.
at%2Fsource%2Fdistfiles%2Fbash30-001&version=0.6' Resolving
linux01.gwdg.de... 134.76.13.21 Connecting to
linux01.gwdg.de[134.76.13.21]:80... connected. HTTP request sent,
awaiting response... 302 Found Location:
ftp://134.102.120.44/deltup/bash30-013-bash30-001.dtu
[following]--15:50:15--
ftp://134.102.120.44/deltup/bash30-013-bash30-001.dtu
=> `bash30-013-bash30-001.dtu'
Connecting to 134.102.120.44:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /deltup ... done.
==> PASV ... done. ==> RETR bash30-013-bash30-001.dtu ... done.
[ <=>
]
2,079 7.34K/s
15:50:16 (7.32 KB/s) - `bash30-013-bash30-001.dtu' saved [2079]
GOT bash30-013-bash30-001.dtu
Yes, we got the dtu-file now let's build bash30-001...
Code: Select all
bash30-013 -> bash30-001: sh: /tmp/.6pqHZz/tmp/.6pqHZz/000003: No such
file or directory cat: write error: Broken pipe
mv: cannot stat `/tmp/.6pqHZz/000003': No such file or directory
OK
cleaning up
mv: cannot stat `bash30-001': No such file or directory
/usr/portage/distfiles /root
The dtu could not be fetched, downloading full file from original URL
[...]
Code: Select all
[...]
>>> emerge (3 of 134) sys-kernel/linux26-headers-2.6.8.1-r1 to /
>>> Downloading
>ftp://gentoo.inode.at/source/distfiles/linux-2.6.8.1.tar.bz2
Searching for a previosly downloaded file in /usr/portage/distfiles
We have following candidates to choose from
links-2.1pre11.tar.bz2
links-2.1pre15.tar.bz2
linux-2.4.22.tar.bz2
linux-2.4.25.tar.bz2
linux-2.4.26.tar.bz2
linux-2.4.27.tar.bz2
linux-2.6.5.tar.bz2
linux-2.6.7.tar.bz2
linux-509.tar.gz
The best of all is ... linux-2.6.7.tar.bz2
Checking if this file is OK.
Trying to download linux-2.6.7.tar.bz2-linux-2.6.8.1.tar.bz2.dtu
/usr/portage/distfiles/.getdelta-995332000-tmp /usr/portage/distfiles
/root--15:50:25--
http://linux01.gwdg.de/%7Enlissne/deltup.php?have=linux-2.6.7.tar.bz2&want=linux-2.6.8.1.tar.bz2&url=ftp://gentoo.inode.at/source/distfiles/linux-2.6.8.1.tar.bz2&version=0.6
=>
`deltup.php?have=linux-2.6.7.tar.bz2&want=linux-2.6.8.1.tar.bz2&url=ftp
:%2F%2Fgentoo.inode.at%2Fsource%2Fdistfiles%2Flinux-2.6.8.1.tar.bz2&ver
sion=0.6' Resolving linux01.gwdg.de... 134.76.13.21
Connecting to linux01.gwdg.de[134.76.13.21]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
ftp://134.102.120.44/deltup/linux-2.6.7.tar.bz2-linux-2.6.8.1.tar.bz2.dtu
[following]--15:50:25--
ftp://134.102.120.44/deltup/linux-2.6.7.tar.bz2-linux-2.6.8.1.tar.bz2.dtu
=> `linux-2.6.7.tar.bz2-linux-2.6.8.1.tar.bz2.dtu'
Connecting to 134.102.120.44:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /deltup ... done.
==> PASV ... done. ==> RETR
linux-2.6.7.tar.bz2-linux-2.6.8.1.tar.bz2.dtu ... done.
[
<=> ]
3,190,332 7.37K/s
15:57:28 (7.37 KB/s) - `linux-2.6.7.tar.bz2-linux-2.6.8.1.tar.bz2.dtu'
saved [3190332]
GOT linux-2.6.7.tar.bz2-linux-2.6.8.1.tar.bz2.dtu
Yes, we got the dtu-file now let's build linux-2.6.8.1.tar.bz2...
Code: Select all
linux-2.6.7.tar.bz2 -> linux-2.6.8.1.tar.bz2: previous package is
corrupt cleaning up
mv: cannot stat `linux-2.6.8.1.tar.bz2': No such file or directory
/usr/portage/distfiles /root
The dtu could not be fetched, downloading full file from original URL
--15:59:05--
ftp://gentoo.inode.at/source/distfiles/linux-2.6.8.1.tar.bz2
=> `linux-2.6.8.1.tar.bz2'
Resolving gentoo.inode.at... 81.223.20.162
Connecting to gentoo.inode.at[81.223.20.162]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /source/distfiles ... done.
==> PASV ... done. ==> RETR linux-2.6.8.1.tar.bz2 ... done.
Length: 35,628,066 (unauthoritative)
[...]
Code: Select all
[...]
GOT binutils-2.15.90.0.1.1.tar.bz2-binutils-2.15.92.0.2.tar.bz2.dtu
Yes, we got the dtu-file now let's build binutils-2.15.92.0.2.tar.bz2...
binutils-2.15.90.0.1.1.tar.bz2 -> binutils-2.15.92.0.2.tar.bz2: previous package is corrupt
cleaning up
mv: cannot stat `binutils-2.15.92.0.2.tar.bz2': No such file or directory
/usr/portage/distfiles /root
The dtu could not be fetched, downloading full file from original URL
[...]
Code: Select all
1. emerge gentoolkit-dev
2. echo "id=\"deltup\"" >> /etc/gensync/deltup.syncsource
echo "description=\"deltup and getdelta overlay\"" >> /etc/gensync/deltup.syncsource
echo "rsync=\"rsync://gentoo.hn.org/deltup\"" >> /etc/gensync/deltup.syncsource
echo "overlay=\"/usr/local/portage\"" >> /etc/gensync/deltup.syncsourceCode: Select all
3. gensync deltup
4. echo "app-portage/getdelta ~x86" >> /etc/portage/package.keywords
5. rm /usr/local/bin/getdelta.sh
6. emerge getdeltaCode: Select all
emerge getdelta
Calculating dependencies ...done!
>>> emerge (1 of 1) app-portage/getdelta-0.6.4 to /
>>> Downloading http://linux01.gwdg.de/~nlissne/getdelta-0.6.4.tar.bz2
[getdelta-0.6.4] bash: line 1: /usr/local/bin/getdelta.sh: No such file or directory
!!! Couldn't download getdelta-0.6.4.tar.bz2. Aborting.
Code: Select all
gensync deltup
emerge getdelta

Code: Select all
root@goldstueck bin # emerge -u world
Calculating world dependencies ...done!
>>> emerge (1 of 53) sys-process/lsof-4.73 to /
>>> Downloading ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/distfiles/lsof_4.73.tar.gz
Searching for a previously downloaded file in /usr/portage/distfiles
We have following candidates to choose from
lsof_4.71.tar.gz
The best of all is ... lsof_4.71.tar.gz
Checking if this file is OK.
Trying to download lsof_4.71.tar.gz-lsof_4.73.tar.gz.dtu
--12:23:32--
http://linux01.gwdg.de/%7Enlissne/deltup.php?have=lsof_4.71.tar.gz&want=lsof_4.73.tar.gz&url=\
ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/lsof_4.73.tar.gz&version=0.6[/url]
=> `deltup.php?have=lsof_4.71.tar.gz&want=lsof_4.73.tar.gz&url=ftp:%2F%2Fftp.cerias.purdue.edu%2Fpub\
%2Ftools%2Funix%2Fsysutils%2Flsof%2Flsof_4.73.tar.gz&version=0.6'
Resolving linux01.gwdg.de... 134.76.13.21
Connecting to linux01.gwdg.de[134.76.13.21]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: ftp://134.102.3.5/deltup/lsof_4.71.tar.gz-lsof_4.73.tar.gz.dtu [following]
--12:23:39-- ftp://134.102.3.5/deltup/lsof_4.71.tar.gz-lsof_4.73.tar.gz.dtu
=> `lsof_4.71.tar.gz-lsof_4.73.tar.gz.dtu'
Connecting to 134.102.3.5:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /deltup ... done.
==> PASV ... done. ==> RETR lsof_4.71.tar.gz-lsof_4.73.tar.gz.dtu ... done.
Length: 48,889 (unauthoritative)
100%[====================================================================>] 48,889 7.21K/s ETA 00:00
12:24:08 (7.20 KB/s) - `lsof_4.71.tar.gz-lsof_4.73.tar.gz.dtu' saved [48889]
GOT lsof_4.71.tar.gz-lsof_4.73.tar.gz.dtu
Successfully fetched the dtu-file - let's build lsof_4.73.tar.gz...
lsof_4.71.tar.gz -> lsof_4.73.tar.gz: Error applying patch
cleaning up
stat: cannot stat `lsof_4.73.tar.gz': No such file or directory
/usr/bin/getdelta.sh: line 586: let: percent=-48889*100/: syntax error: operand expected (error token is "/")
This dtu-file saved -48889 bytes (%) download size.
mv: cannot stat `lsof_4.73.tar.gz': No such file or directory
The dtu could not be fetched, downloading full file from original URL
--12:24:08-- ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/distfiles/lsof_4.73.tar.gz
=> `lsof_4.73.tar.gz'
Resolving sunsite.informatik.rwth-aachen.de... 137.226.34.227
Connecting to sunsite.informatik.rwth-aachen.de[137.226.34.227]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... 