Enabling custom or local repository sources in Ubuntu

This tutorial will guide you on how to setup a custom (third party) package repository in Ubuntu. We have our own Ubuntu archive repository in our network which undergoes rsync updates twice a day. Instead of using the official repository or local region mirror, we might instead use our local network repository to maximize speed and reduce internet bandwidth.

The configuration can be made though apt config file of if you prefer using GUI, the synaptic tool. This howto will cover configuration using Synaptic.

Launch synaptic

Synaptic

From the menu choose “Settings > Repositories”

Turn off all checkboxes, only leave the “Source Code” checked. Don’t forget to turn of the Cdrom source if you didn’t have the plan to use it.

ubuntu-custom-repo1.png

Click on the “Third Party” tab

ubuntu-custom-repo2.png

Click “Add”
Enter your custom repository’s address and component. In our case the address is

deb http://mirror.oscc.org.my/ubuntu/archive edgy main

*modify the above address base on your release. We are using version 6.10 which is edgy. If you are using 6.06 change the edgy part to dapper.

ubuntu-custom-repo4.png

Add other components universe branch also to be able to install community maintained packages

deb http://mirror.oscc.org.my/ubuntu/archive edgy universe

ubuntu-custom-repo5.png

Optionally if you want to use restricted and multiverse packages, add the following addresses.

deb http://mirror.oscc.org.my/ubuntu/archive edgy mulitiverse
deb http://mirror.oscc.org.my/ubuntu/archive edgy restricted

ubuntu-custom-repo6.png

You will be prompted with an repository changes warning.

ubuntu-custom-repo7.png

Click close and click the Reload button on the Synaptic main interface to update your repositories information.

You can now install a new packages using the local repositories.

Note:
You can also add the above 4 repositories address using a single line. Use a single combined address as the example below

deb http://mirror.oscc.org.my/ubuntu/archive edgy main universe multiverse restricted

Installing Ubuntu Edgy Eft 6.10 on HP DC7700 pc

I encounter some problems installing Ubuntu on e newly bought HP DC7700 workstation. After done some reading on the internet, I found out that there are some custom parameters to be used to perform the installation.

Since the problem is related to the ACPI, so ACPI sould be turned off in the boot menu.

We need to put these commands into the boot option

install noapic nolapic pci=noacpi acpi=off

Below is the screenshot for those who are using network (mini.iso) method

Ubuntu noacpi

If you are using the normal cd installation, press F6 during at the menu page to enable custom parameter.

Press F6

You will be presented with some preloaded parameters. Append the pre-existing parameters by adding “noapic nolapic pci=noacpi acpi=off” at the end of the line.

Append parameter