Thank you Robert. My Ubuntu distrib name on which FAI is installed is jaunty.
I have created the directory /files/scratch/debmirror/. After that, I have created my mirror with this command: fai-mirror -v /files/scratch/debmirror. After creating mirror, i have created a symlink to the mirror with this command: ln -s /files/scratch/debmirror /var/www/debmirror My question is: between the following two lines of sources.list, which one is correct: deb http://192.168.1.250/debmirror/ubuntu jaunty main restricted universe multiverse deb http://192.168.1.250/debmirror/ jaunty main restricted universe multiverse 2010/8/17 Robert Markula <[email protected]> > Hi Mamadou, > > mamadou diop wrote: > > Hello, I have create my local debian mirror with fai-mirror. After that, > I > > have added these two lines in /etc/fai/apt/sources.list: > > > > *deb http://192.168.1.250/debmirror/ubuntu jaunty main restricted > universe > > multiverse** > > deb http://192.168.1.250/debmirror/ubuntu jaunty-security main > restricted > > universe multiverse > > > > *Are these lines correct? Because I have a doubt if I must put ubuntu > after > > debmirror or no. > > > Although I've no experience with fai-mirror, your sources.list looks > good to me (except for the asterisks, of course). 'debmirror' is the > 'parent' directory which contains all the different distribution > packages. Imagine, you not only have a local mirror for ubuntu, but also > for debian. In this case, you'd not only have debmirror/ubuntu, but also > debmirror/debian. > > Just one thing: as far as I remember the second line should look like this: > > deb http://192.168.1.250/debmirror/ubuntu-security jaunty-security main > restricted universe multiverse > > Cheers, > Robert >
