Friday, April 02, 2010

Creating Ubuntu Repository

Right now, i'm trying to build a Ubuntu repository for my campus. It's a challenging task, as i have never tried this before. I am able to create Slackware repository since it can be done using a script or plain rsync command, but in Ubuntu, the situation is not that simple. It has so many parameter which should be set, unlike Slackware, which only need one parameter (the version).

At first, i used apt-mirror, but it's not customizeable enough so in the end i abandon them. Next, i asked the maintainer of Kambing, one of the biggest online repository in Indonesia and he told me about debmirror. I tried to use this and yes, it's very customizeable. I can download only the selected architecture, something that is not yet supported in other application i tried before. It saves so many spaces, since the repository itself is very huge.

A full Lucid repository would take approximately 60 GB and by filtering the packages to selected ones, i can reduce it to around 30 GB. That's 50% reduction which is very nice efforts.

Let's hope the mirror can be launched and used before Lucid Lynx is introduced in the end of this month Yahoo

2 comments:

  1. Anonymous5:46 PM

    Saya kebetulan pernah pake apt-mirror mas, bisa kok di-set architecture-nya. Klo misal mo ambil yang amd 64bit, tinggal tambahin aja di bagian syntax-nya.

    Klo yang biasa (i386):
    deb http://shol.vlsm.org/debian lenny main contrib

    Untuk 64 bit-nya:
    deb-amd64 http://shol.vlsm.org/debian lenny main contrib

    ReplyDelete
  2. setelah dicoba, ternyata lebih enak debmirror, jadi sampai sekarang aku pake debmirror aja

    ReplyDelete