[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian package mirrors



-> >Colin Watson wrote:
-> >-> That's very old, and doesn't seem to know about pools. The one I quoted
-> >-> is billed as a working pool-aware partial mirror script.
-> >
-> >well, pool is just subdirectory in the hierarchy, why should it work badly?
-> 
-> Because the packages that used to go in dists/$(dist)/binary-$(arch) are
-> now all jumbled together in the pool. You can't just exclude by
-> architecture any more, or indeed by distribution; you've got to parse
-> Packages files in order to know what you need to mirror, or else you'll
-> either get far too much or far too little.

i didn't even try to exclude something. Maybe just packages that don't need
to be in the ftp hierarchy now...

root@[master /shared1/homes/ftp/debian/dists] # ls -l {potato,sid,slink,woody}/main/binary-i386/*/fakeroot*
-rwxr-xr-x  1 root  wheel  32266 Jan  2  2000 potato/main/binary-i386/utils/fakeroot_0.4.4-4.1.deb
-rw-r--r--  1 root  wheel  29352 Dec 10  1998 slink/main/binary-i386/devel/fakeroot_0.0-17.deb
-rw-r--r--  1 root  wheel  33094 May  9  2000 woody/main/binary-i386/utils/fakeroot_0.4.4-6.deb
-rw-rw-r--  1 root  wheel  33294 Dec 10 20:52 woody/main/binary-i386/utils/fakeroot_0.4.4-7.deb

root@[virtual /shared1/homes/ftp/debian] # ls -l pool/main/f/fakeroot/fakeroot_0.4.4-*i386.deb
-rw-rw-r--  1 root  wheel  33314 Dec 17 11:26 pool/main/f/fakeroot/fakeroot_0.4.4-8_i386.deb
-rw-rw-r--  1 root  wheel  29968 Apr 14 20:24 pool/main/f/fakeroot/fakeroot_0.4.4-9.1_i386.deb
-rw-rw-r--  1 root  wheel  29744 Jan  6 19:42 pool/main/f/fakeroot/fakeroot_0.4.4-9_i386.deb

root@[master /shared1/homes/ftp/debian/dists] # ls -l {potato,sid,slink,woody}/main/binary-i386/*/filerunner*
-rwxr-xr-x  1 root  wheel  105728 Jan 25  2000 potato/main/binary-i386/net/filerunner_2.5.1-1.deb
-rw-r--r--  1 root  wheel  104464 Mar  3  2000 slink/main/binary-i386/net/filerunner_2.5.1-0.1.deb
-rw-r--r--  1 root  wheel  106002 Mar 27  2000 woody/main/binary-i386/net/filerunner_2.5.1-2.deb

root@[virtual /shared1/homes/ftp/debian] # ls -l pool/main/f/filerunner/filerunner_2.5.1*i386.deb
-rw-rw-r--  1 root  wheel  106116 Apr 26 20:01 pool/main/f/filerunner/filerunner_2.5.1-3_i386.deb

-> >-> >(58GB here - seems too much)
-> >-> 
-> >-> Sounds like you're mirroring the whole archive.
-> >
-> >yes, but it was ~30GB just some weeks (months) ago...
-> 
-> Maybe the release of 2.2r3 changed something. Depends what you're trying
-> to mirror.

debian FTP hierarchy :)
seems it is because there are many concurrent versions of packages in pool/*
hierarchy.

-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar@fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 Spam is for losers who can't get business any other way.



Reply to: