LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Home apt mirror/server

[ILUG] Home apt mirror/server

Conor Daly conor.daly at oceanfree.net
Tue Feb 24 23:40:33 GMT 2004


Running 4 RH-based machines at home.  I want to keep them up to date using
apt but don't want to have each machine contact ayo.ie.freshrpms.net
individually.  I'm on dialup at home but have the bandwidth available at
work for the downloads.  So, I want to run a local mirror but only of the
required files.  My plan is this:

create freshrpms/redhat/9/en/i386/base under my home webserver.
Populate that with 

wget -c http://ayo.ie.freshrpms.net/redhat/9/i386/base/pkglist.freshrpms.bz2

etc.

set sources.list to point to:
rpm http://apt.cod.ie apt/freshrpms/redhat/9/en/i386 os

Now an: 
apt-get update && apt-get --print-uris dist-upgrade 
should give me a list of rpms required which can be downloaded at work,
brung home on CD and installed on the server.  All machines can then
apt-get dist-upgrade from the local mirror.

Am I missing anything?  Oh yeah, how to get the downloaded rpms into the
correct directories.  A combination of grep and cut should get me a set of
lists for different directories (RPMS.os RPMS.updates etc...).

Conor
-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
 11:09pm  up 124 days, 16:17,  0 users,  load average: 0.01, 0.02, 0.02
Hobbiton.cod.ie
 11:02pm  up 124 days, 16:06,  2 users,  load average: 0.16, 0.09, 0.02



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell