How To Create A Local Debian/Ubuntu Mirror With apt-mirror - Page 3

Submitted by falko (Contact Author) (Forums) on Tue, 2007-01-02 17:48. ::

9 Configure Your Client Computers To Use The Local Mirror

Now that our local mirror is ready to be used, all we have to do is tell our Debian Sarge and Ubuntu Edgy Eft systems in our local network to use it.

 

9.1 Debian Sarge

On Debian Sarge systems, you can replace the main contrib non-free repository in /etc/apt/sources.list like this:

vi /etc/apt/sources.list

[...]
deb http://192.168.0.100/debian sarge main contrib non-free
[...]

Instead of sarge you could also use stable:

[...]
deb http://192.168.0.100/debian stable main contrib non-free
[...]

Afterwards, run

apt-get update

 

9.2 Ubuntu Edgy Eft

On Ubuntu Edgy Eft systems, you can replace the main restricted universe repository in /etc/apt/sources.list like this:

vi /etc/apt/sources.list

[...]
deb http://192.168.0.100/ubuntu/ edgy main restricted universe
[...]

Afterwards, run

apt-get update

 

9.3 Fresh Installation

If you install a fresh Debian Sarge or Ubuntu Edgy Eft system, specify your local mirror like this when the installer asks you which repository you'd like to use:

Afterwards the installer will use your local mirror to install the system:

 

10 Links


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Please do not use the comment function to ask for help! If you need help, please use our forum: http://www.howtoforge.com/forums
Comments will be published after administrator approval.
Submitted by BobSongs (Contact Author) (Forums) on Sat, 2008-03-08 23:20.

Wow. This is extensive. I've only got one question (not asking for help, just clarification).

When downloading, say, for Ubuntu's Gutsy repositories (this one was designed for Edgy, but it's all the same) does apt-sources download all the architectures (i386, amd64, powerpc and sparc) as well?

I don't see any text that just calls for a single one such as just i386.