Mirroring i386 locally

Romeyn Prescott prescor at digirom.potsdam.edu
Sat Nov 27 13:28:25 UTC 2004


Well, that sounds wonderfully simple!

My next question, being new to the world of Debian, has to be what 
apt's server mechanism is.  Is it just an http server?  Could I just 
as well store my packages on another server?

Thanks,
...ROMeyn

At 4:04 PM +1100 11/27/04, David Collett scribbled:
>I ended up using debmirror, here is the command I used:
>
>debmirror -p --nosource --host=mirror.pacific.net.au
>--root=linux/ubuntu --method=http --dist=warty --arch=i386
>--section=main,multiverse,restricted,universe /opt/ubuntu_pacific/
>
>This will get all i386 packages from all sections (main, multiverse,
>restricted and universe), but no source packages of the "warty"
>distibution from the mirror "mirror.pacific.net.au" and create a
>mirror in the local directory /opt/ubuntu_pacific.
>
>This ends up being about 8GB of data. Now you can add a line in you
>sources.list like this:
>
>deb file:///opt/ubuntu_pacific warty main multiverse restricted universe
>
>I'm sure there are other ways too, look at debian docs, as ubuntu is
>just debian (as far as repositories/packages go).
>
>Dave
>
>On Fri, 26 Nov 2004 18:56:39 -0500, Romeyn Prescott
><prescor at digirom.potsdam.edu> wrote:
>>  We tasked a student assistant with developing a local RPM repository
>>  in order to update our server infrastructure:
>>
>>  http://torque.sourceforge.net/about.html
>>
>>  It'd be nice to be able to do something similar with apt.  We
>>  currently mirror the RPMS for RH8 up to FC3, as well as some custom
>>  channels of our own.
>>
>>  Someone mentioned bandwidth...what's worse: one location downloading
>>  "everything" to their local repository and having all of their
>>  servers update from THAT, or just pointing all of their servers at a
>>  "central", 'net-based repository at the same time?
>>
>>  ..ROMeyn
>>
>>  At 10:18 AM -0500 11/25/04, s.deleeuw scribbled:
>>
>>
>>  >I have the same problem! I want to download Warty's main/restricted
>>  >packages and burn them to DVD, so I can use them on PC's without
>>  >internet connection. I wrote a small script for this. Take a look at:
>>  >
>>  >http://ubuntuforums.org/showthread.php?t=6060
>>  >
>>  >The next step is to create a repository from the packages. I will start
>>  >reading some APT howto's later this week. Any suggestions?
>>  >
>>  >Sander
>>  >
>>  >
>>  >--
>>  >s.deleeuw
>>  >
>>  >--
>>  >ubuntu-users mailing list
>>  >ubuntu-users at lists.ubuntu.com
>>  >http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>  --
>>  signat-url: http://www2.potsdam.edu/prescor/signat-url.htm
>>
>>
>>
>>  --
>>  ubuntu-users mailing list
>>  ubuntu-users at lists.ubuntu.com
>>  http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
>--
>ubuntu-users mailing list
>ubuntu-users at lists.ubuntu.com
>http://lists.ubuntu.com/mailman/listinfo/ubuntu-users

-- 
signat-url: http://www2.potsdam.edu/prescor/signat-url.htm




More information about the ubuntu-users mailing list