Ubuntu local mirror

Michael R. Head burner at suppressingfire.org
Fri Sep 8 04:53:04 BST 2006


On Thu, 2006-09-07 at 11:09 -0400, Jesus Molina wrote:
> Hello everybody
> 
> I need build a local mirror from the ubuntu repositories but i can't
> find a script like rsync script in debian for ubuntu, anybody knows
> where is this script or is necesary build a new script?.... 

http://packages.ubuntu.com/dapper/net/debmirror

I use it like this:
debmirror --method rsync --rsync-options " -a --partial --delete" --host
us.archive.ubuntu.com --dist dapper,dapper-updates,dapper-security
--section main,restricted --arch=amd64 --root=:ubuntu  /ubuntu-mirror/

to mirror just the main and restricted sections of the amd64
architecture of the dapper distribution (along with updates and security
patches). Then /ubuntu-mirror/ becomes a place that I mount in apache so
my other machines have source.list that look like this:

deb http://mirror.example.com/ubuntu/ dapper main restricted
deb-src http://mirror.example.com/ubuntu/ dapper main restricted


> Kind Regards
> Jesus Molina
> LC #396085
-- 
Michael R. Head <burner at suppressingfire.org>
suppressingfire.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20060907/9b498357/attachment.pgp 


More information about the ubuntu-devel mailing list