Tuesday, July 14, 2009

Debian's Repository


I just re-install Debian Lenny into my second development box, have it through USB installtion using first CD image. After installation i need to install additional packages such as development files, yes the compiler, manpages, development libraries etc. I use local repository server http://kambing.ui.ac.id, the apt-get always told me some errors after fetching the repo. So i manually check the repo's server structure and i see this repo is sucks! that's way the aptitude always fail. Now i use VLSM ftp://ftp.vlsm.org repo, editing /etc/apt/sources.list as follow:

...
deb ftp://ftp.vlsm.org/debian/ lenny main contrib
deb ftp://ftp.vlsm.org/debian-security/ lenny/updates main contrib
...


ftp://ftp.vlsm.org/debian/dists/lenny/
+-- contrib
+-- main
+-- non-free


and a debian-security repo

ftp://ftp.vlsm.org/debian-security/dists/lenny/updates/
+-- contrib
+-- main
+-- non-free


aptitude can now fetch the repo's packages correctly.