Adresy repozytoriów znajdują się w pliku /etc/apt/sources.list. Możemy go przeglądnąć poleceniem:
cat /etc/apt/sources.listAby zapisać nowe adresy do pliku musimy mieć prawa administratora. Zedytujmy więc ten plik:
sudo gedit /etc/apt/sources.listPoniżej podaję moją konfigurację pliku sources.list (dla Ubuntu 9.04). Jeśli nie działa Ci jakaś porada z blogu, to bardzo możliwe, że winą są repozytoria.
deb http://pl.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse deb-src http://pl.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse deb http://pl.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse deb-src http://pl.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse deb http://pl.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse deb-src http://pl.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse deb http://archive.canonical.com/ubuntu jaunty partner deb-src http://archive.canonical.com/ubuntu jaunty partner deb http://security.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse deb http://packages.medibuntu.org/ jaunty free non-free deb-src http://packages.medibuntu.org/ jaunty free non-free deb http://ppa.launchpad.net/globalmenu-team/ppa/ubuntu jaunty main deb-src http://ppa.launchpad.net/globalmenu-team/ppa/ubuntu jaunty main deb http://download.virtualbox.org/virtualbox/debian jaunty non-free deb http://deb.opera.com/opera/ sid non-freeKażda linijka zaczyna się od deb (lub deb-src), po niej następuje adres repozytorium. Nie należy powtarzać tych samych adresów!