Jumat, 01 Juli 2011

repository

Cara mengubah repository :
 
1. Pindahin repository aslinya dengan perintah
sudo mv /etc/apt/sources.list /etc/apt/sources.list.original

2. Buat file baru:
sudo nano
/etc/apt/sources.list
(isikan repository yang baru) simpan dan keluar dengan menekan ctrl+x tekan y kemudian enter

3. Update repository
sudo apt-get update

4. Upgrade repository
sudo apt-get upgrade

Contoh repository ubuntu 10.04 (lucid) :
deb http://dl2.foss-id.web.id/ubuntu/ lucid-backports main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/ lucid-security main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/ lucid-updates main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/ lucid main restricted universe multiverse
deb http://opensource.telkomspeedy.com:5432/ubuntu lucid main restricted universe multiverse
deb http://opensource.telkomspeedy.com:5432/ubuntu lucid-updates main restricted universe multiverse
deb http://opensource.telkomspeedy.com:5432/ubuntu lucid-security main restricted universe multiverse

Tidak ada komentar:

Posting Komentar