PDA

View Full Version : Building partial package mirrors


Kinema
July 17th, 2005, 11:22 PM
Is there a way to build a partial mirror? I only need x68 from Hoary. Main and Universe. I don't want to waste bandwidth sucking down packages that I'm never going to use. Is there a way to rsync just what I need?

In case you are wondering I'm interesed in a local mirror because I have quite a few boxes and a limited amount of bandwidth.

--adam

UbuWu
July 21st, 2005, 09:05 AM
Yes, that is possible. Use debmirror. The command would look something like this:

debmirror -p --nosource --host=mirror.pacific.net.au
--root=linux/ubuntu --method=http --dist=hoary --arch=i386
--section=main,multiverse,restricted,universe /opt/ubuntu_pacific/

And then you can use this location as a repository.

See also:
http://www.ubuntuforums.org/showthread.php?t=4117