Contoh isi file /etc/sources.list di Ubuntu

From OnnoCenterWiki
Jump to: navigation, search

Setup Mirror Keyring

Secara sederhana keyring dibutuhkan untuk authentikasi bahwa repository software tersebut memang benar dari distro tertentu & versi tertentu.

Update keyring

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
mkdir -p /var/data/mirrorkeyring
gpg --no-default-keyring --keyring /var/data/mirrorkeyring/trustedkeys.gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg
gpg --no-default-keyring --keyring /var/data/mirrorkeyring/trustedkeys.gpg --import /etc/apt/trusted.gpg

Contoh /etc/apt/sources.list ke http://192.168.0.3

deb http://192.168.0.3/ubuntu-9.10/ karmic main multiverse restricted universe
deb http://192.168.0.3/ubuntu-9.10/ karmic-updates main multiverse restricted universe
deb http://192.168.0.3/ubuntu-9.10/ karmic-security main multiverse restricted universe
deb http://192.168.0.3/ubuntu-9.10/ karmic-backports main multiverse restricted universe
deb http://192.168.0.3/ubuntu-9.10/ karmic-proposed main multiverse restricted universe

deb http://192.168.0.3/ubuntu-10.04/ lucid main multiverse restricted universe
deb http://192.168.0.3/ubuntu-10.04/ lucid-updates main multiverse restricted universe
deb http://192.168.0.3/ubuntu-10.04/ lucid-security main multiverse restricted universe
deb http://192.168.0.3/ubuntu-10.04/ lucid-backports main multiverse restricted universe
deb http://192.168.0.3/ubuntu-10.04/ lucid-proposed main multiverse restricted universe

deb http://192.168.0.3/ubuntu-10.10/ maverick main multiverse restricted universe
deb http://192.168.0.3/ubuntu-10.10/ maverick-updates main multiverse restricted universe
deb http://192.168.0.3/ubuntu-10.10/ maverick-security main multiverse restricted universe
deb http://192.168.0.3/ubuntu-10.10/ maverick-backports main multiverse restricted universe
deb http://192.168.0.3/ubuntu-10.10/ maverick-proposed main multiverse restricted universe

deb http://192.168.0.3/ubuntu-11.04/ natty main multiverse restricted universe
deb http://192.168.0.3/ubuntu-11.04/ natty-backports main multiverse restricted universe
deb http://192.168.0.3/ubuntu-11.04/ natty-proposed main multiverse restricted universe
deb http://192.168.0.3/ubuntu-11.04/ natty-security main multiverse restricted universe
deb http://192.168.0.3/ubuntu-11.04/ natty-updates main multiverse restricted universe

deb http://192.168.0.3/ubuntu-11.10/ oneiric main multiverse restricted universe
deb http://192.168.0.3/ubuntu-11.10/ oneiric-backports main multiverse restricted universe
deb http://192.168.0.3/ubuntu-11.10/ oneiric-proposed main multiverse restricted universe
deb http://192.168.0.3/ubuntu-11.10/ oneiric-security main multiverse restricted universe
deb http://192.168.0.3/ubuntu-11.10/ oneiric-updates main multiverse restricted universe

deb http://192.168.0.3/ubuntu-12.04/ precise main multiverse restricted universe
deb http://192.168.0.3/ubuntu-12.04/ precise-backports main multiverse restricted universe
deb http://192.168.0.3/ubuntu-12.04/ precise-proposed main multiverse restricted universe
deb http://192.168.0.3/ubuntu-12.04/ precise-security main multiverse restricted universe
deb http://192.168.0.3/ubuntu-12.04/ precise-updates main multiverse restricted universe

deb http://192.168.0.3/ubuntu-12.10/ quantal main multiverse restricted universe
deb http://192.168.0.3/ubuntu-12.10/ quantal-backports main multiverse restricted universe
deb http://192.168.0.3/ubuntu-12.10/ quantal-proposed main multiverse restricted universe
deb http://192.168.0.3/ubuntu-12.10/ quantal-security main multiverse restricted universe
deb http://192.168.0.3/ubuntu-12.10/ quantal-updates main multiverse restricted universe

deb http://192.168.0.3/ubuntu-13.04/ raring main restricted universe multiverse 
deb http://192.168.0.3/ubuntu-13.04/ raring-backports main multiverse restricted universe
deb http://192.168.0.3/ubuntu-13.04/ raring-proposed main multiverse restricted universe
deb http://192.168.0.3/ubuntu-13.04/ raring-security main multiverse restricted universe
deb http://192.168.0.3/ubuntu-13.04/ raring-updates main multiverse restricted universe
deb http://192.168.0.3/ubuntu-13.10/ saucy main restricted universe multiverse 
deb http://192.168.0.3/ubuntu-13.10/ saucy-backports main multiverse restricted universe
deb http://192.168.0.3/ubuntu-13.10/ saucy-proposed main multiverse restricted universe
deb http://192.168.0.3/ubuntu-13.10/ saucy-security main multiverse restricted universe
deb http://192.168.0.3/ubuntu-13.10/ saucy-updates main multiverse restricted universe

/etc/apt/sources.list.untuk-web-ke-mesin-01

vi /etc/apt/sources.list.untuk-web-ke-mesin-01
deb http://192.168.0.1/ubuntu/ lucid main multiverse restricted universe
deb http://192.168.0.1/ubuntu/ lucid-updates main multiverse restricted universe
deb http://192.168.0.1/ubuntu/ lucid-security main multiverse restricted universe
deb http://192.168.0.1/ubuntu/ lucid-backports main multiverse restricted universe
deb http://192.168.0.1/ubuntu/ lucid-proposed main multiverse restricted universe

deb http://192.168.0.1/ubuntu/ maverick main multiverse restricted universe
deb http://192.168.0.1/ubuntu/ maverick-updates main multiverse restricted universe
deb http://192.168.0.1/ubuntu/ maverick-security main multiverse restricted universe
deb http://192.168.0.1/ubuntu/ maverick-backports main multiverse restricted universe
deb http://192.168.0.1/ubuntu/ maverick-proposed main multiverse restricted universe

/etc/apt/sources.list.untuk-ftp-ke-mesin-01

vi /etc/apt/sources.list.untuk-ftp-ke-mesin-01
deb ftp://192.168.0.1/pub/repo-10.04/ lucid main multiverse restricted universe
deb ftp://192.168.0.1/pub/repo-10.04/ lucid-updates main multiverse restricted universe
deb ftp://192.168.0.1/pub/repo-10.04/ lucid-security main multiverse restricted universe
deb ftp://192.168.0.1/pub/repo-10.04/ lucid-backports main multiverse restricted universe
deb ftp://192.168.0.1/pub/repo-10.04/ lucid-proposed main multiverse restricted universe

deb ftp://192.168.0.1/pub/repo-10.10/ maverick main multiverse restricted universe
deb ftp://192.168.0.1/pub/repo-10.10/ maverick-updates main multiverse restricted universe
deb ftp://192.168.0.1/pub/repo-10.10/ maverick-security main multiverse restricted universe
deb ftp://192.168.0.1/pub/repo-10.10/ maverick-backports main multiverse restricted universe
deb ftp://192.168.0.1/pub/repo-10.10/ maverick-proposed main multiverse restricted universe

/etc/apt/sources.list.untuk-ke-usb-harddisk

vi /etc/apt/sources.list.untuk-ke-usb-harddisk
deb file:///media/usbharddisk/repository/repo-10.4/ lucid main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-10.4/ lucid-updates main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-10.4/ lucid-security main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-10.4/ lucid-backports main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-10.4/ lucid-proposed main multiverse restricted universe

deb file:///media/usbharddisk/repository/repo-10.10/ maverick main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-10.10/ maverick-updates main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-10.10/ maverick-security main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-10.10/ maverick-backports main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-10.10/ maverick-proposed main multiverse restricted universe

deb file:///media/usbharddisk/repository/repo-11.04/ natty main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-11.04/ natty-backports main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-11.04/ natty-proposed main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-11.04/ natty-security main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-11.04/ natty-updates main multiverse restricted universe

deb file:///media/usbharddisk/repository/repo-11.10/ oneiric main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-11.10/ oneiric-backports main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-11.10/ oneiric-proposed main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-11.10/ oneiric-security main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-11.10/ oneiric-updates main multiverse restricted universe

deb file:///media/usbharddisk/repository/repo-12.04/ precise main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-12.04/ precise-backports main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-12.04/ precise-proposed main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-12.04/ precise-security main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-12.04/ precise-updates main multiverse restricted universe

deb file:///media/usbharddisk/repository/repo-12.10/ quantal main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-12.10/ quantal-backports main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-12.10/ quantal-proposed main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-12.10/ quantal-security main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-12.10/ quantal-updates main multiverse restricted universe

deb file:///media/usbharddisk/repository/repo-13.04/ raring main restricted universe multiverse 
deb file:///media/usbharddisk/repository/repo-13.04/ raring-backports main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-13.04/ raring-proposed main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-13.04/ raring-security main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-13.04/ raring-updates main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-13.10/ saucy main restricted universe multiverse 
deb file:///media/usbharddisk/repository/repo-13.10/ saucy-backports main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-13.10/ saucy-proposed main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-13.10/ saucy-security main multiverse restricted universe
deb file:///media/usbharddisk/repository/repo-13.10/ saucy-updates main multiverse restricted universe

/etc/apt/sources.list.untuk-var-data-repo

vi /etc/apt/sources.list.untuk-var-data-repo
deb file:///var/data/repository/repo-9.10/ karmic main multiverse restricted universe
deb file:///var/data/repository/repo-9.10/ karmic-updates main multiverse restricted universe
deb file:///var/data/repository/repo-9.10/ karmic-security main multiverse restricted universe
deb file:///var/data/repository/repo-9.10/ karmic-backports main multiverse restricted universe
deb file:///var/data/repository/repo-9.10/ karmic-proposed main multiverse restricted universe

deb file:///var/data/repository/repo-10.4/ lucid main multiverse restricted universe
deb file:///var/data/repository/repo-10.4/ lucid-updates main multiverse restricted universe
deb file:///var/data/repository/repo-10.4/ lucid-security main multiverse restricted universe
deb file:///var/data/repository/repo-10.4/ lucid-backports main multiverse restricted universe
deb file:///var/data/repository/repo-10.4/ lucid-proposed main multiverse restricted universe

deb file:///var/data/repository/repo-10.10/ maverick main multiverse restricted universe
deb file:///var/data/repository/repo-10.10/ maverick-updates main multiverse restricted universe
deb file:///var/data/repository/repo-10.10/ maverick-security main multiverse restricted universe
deb file:///var/data/repository/repo-10.10/ maverick-backports main multiverse restricted universe
deb file:///var/data/repository/repo-10.10/ maverick-proposed main multiverse restricted universe

deb file:///var/data/repository/repo-11.04/ natty main multiverse restricted universe
deb file:///var/data/repository/repo-11.04/ natty-backports main multiverse restricted universe
deb file:///var/data/repository/repo-11.04/ natty-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-11.04/ natty-security main multiverse restricted universe
deb file:///var/data/repository/repo-11.04/ natty-updates main multiverse restricted universe

deb file:///var/data/repository/repo-11.10/ oneiric main multiverse restricted universe
deb file:///var/data/repository/repo-11.10/ oneiric-backports main multiverse restricted universe
deb file:///var/data/repository/repo-11.10/ oneiric-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-11.10/ oneiric-security main multiverse restricted universe
deb file:///var/data/repository/repo-11.10/ oneiric-updates main multiverse restricted universe

deb file:///var/data/repository/repo-12.04/ precise main multiverse restricted universe
deb file:///var/data/repository/repo-12.04/ precise-backports main multiverse restricted universe
deb file:///var/data/repository/repo-12.04/ precise-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-12.04/ precise-security main multiverse restricted universe
deb file:///var/data/repository/repo-12.04/ precise-updates main multiverse restricted universe

deb file:///var/data/repository/repo-12.10/ quantal main multiverse restricted universe
deb file:///var/data/repository/repo-12.10/ quantal-backports main multiverse restricted universe
deb file:///var/data/repository/repo-12.10/ quantal-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-12.10/ quantal-security main multiverse restricted universe
deb file:///var/data/repository/repo-12.10/ quantal-updates main multiverse restricted universe

deb file:///var/data/repository/repo-13.04/ raring main restricted universe multiverse 
deb file:///var/data/repository/repo-13.04/ raring-backports main multiverse restricted universe
deb file:///var/data/repository/repo-13.04/ raring-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-13.04/ raring-security main multiverse restricted universe
deb file:///var/data/repository/repo-13.04/ raring-updates main multiverse restricted universe
deb file:///var/data/repository/repo-13.10/ saucy main restricted universe multiverse 
deb file:///var/data/repository/repo-13.10/ saucy-backports main multiverse restricted universe
deb file:///var/data/repository/repo-13.10/ saucy-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-13.10/ saucy-security main multiverse restricted universe
deb file:///var/data/repository/repo-13.10/ saucy-updates main multiverse restricted universe

Update repository

apt-get update

Referensi

Pranala Menarik