Glug mirror

From GluCki
Jump to: navigation, search

GLUG-NITH now hosts the ubuntu archive mirror. It means you can install packages for ubuntu using apt-get or synaptic from ubuntu mirror at glug-nith server anytime.

Manual Installation

To add glug-nith to your sources.list file edit /etc/apt/sources.list file, comment everything and following two lines in the file after uncommenting all the stuff there.

deb [your ubuntu release code name] main restricted universe multiverse

deb-src [your ubuntu release code name] main restricted universe multiverse

CodeName is an unique name for every release of ubuntu. e.g natty for 11.04, quantal for 12.10 etc.

For example Ubuntu 12.10 installation, the codename is quantal, so you can add following two lines to download archives/updates from glug server.

deb quantal main restricted universe multiverse

deb-src quantal main restricted universe multiverse

After editing the sources.list run sudo apt-get update command in terminal and now you can use sudo apt-get install [some software here, eg: vim] anytime.

Doing so have some advantage of higher speed downloading the softwares during non Internet hours when the proxy server is not busy. Proxy server allows connection to 24 hours round the clock

NOTE : If you are inside the campus (NIT Hamirpur), then you need to replace the '' string above with local ip address of the glug server which is ''.

Automatic Installation

You can download the script here. Run this script and it will automatically adjust your Ubuntu installation to download and update via glug servers. Basically what it does is same as described above in manual installation.

Most common mistake here is that you get a message 'Permission Denied'. This is because the script you downloaded is not executable. To set the executable bit here, enter this command :

chmod +x 
sudo bash

After it execute the script again. You should have now this issue resolved.


Put your system proxy setting to NO PROXY to experience high speed updates.

Use following coomands to update your system

 sudo apt-get update
 sudo apt-get dist-upgrade