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

Re: Download i386 only?



On Mar 31, Leslie Mikesell wrote
> What would be an appropriate command to the 'mirror' perl script
> to get the files needed for i386 installations only (including sources)?


 Take a look at the configuration script bellow, which requires few
self-explanatory changes. Once done, download all i386 binary packages,
(without sources) from the mirror site by excecuting these 3 commands:

% mirror -p all <path>/deb.mir
% mirror -p binary <path>/deb.mir
% mirror -p non-us <path>/deb.mir

Or, to download all three subdirectories in one command:
% mirror <path>/deb.mir


You should have little toils to create one additional "package" inside
deb.mir to fetch the sources. 


*NOTE*
Before actual mirroring, and if you have any sense at all, it is worth 
testing the behaviour of deb.mir configuration file. Add the  -n option 
during testing, % mirror -p all -n <path>/deb.mir



-- 
Ioannis Tambouras 
ioannis@flinet.com, West Palm Beach, Florida
Signed pgp-key on key server. 

======================================================== deb.mir ======
# Please change the site and remote_dir to your local debian mirror
# for all three "packages" bellow.

package=all
        comments= All 
        #do_deletes=false
        #exclude_patt=games|hamradio|picon|python
        #exclude_patt+|doc-linux-[fi]|xbooks|snn

        # My target path
        local_dir=/home/ftp/pub/deb/bo/binary-all

        # My debian mirror site
        site=debian.med.miami.edu
        remote_dir=/pub/debian/bo/binary-all
        #mail_to=ioannis@flinet.com


package=binary
        comments= i386_binary_files 
        #do_deletes=false
        #exclude_patt=games|hamradio|picon|python
        #exclude_patt+|doc-linux-[fi]|xbooks|snn
        site=debian.med.miami.edu
        remote_dir=/pub/debian/bo/binary-i386
        local_dir=/home/ftp/pub/deb/bo/binary-i386
        #mail_to=ioannis@flinet.com
      
package=non-us
        comment= non-us debian packages
        site=ftp.lh.umu.se
        remote_dir=/pub/linux/debian-non-US/binary-i386
        local_dir=/attic/deb/non-us/binary-i386



-- 
Ioannis Tambouras 
ioannis@flinet.com, West Palm Beach, Florida
Signed pgp-key on key server. 


Reply to: