W celu dodania nowych repozytoriów do ubuntu 16.04 poniższym poleceniem edytujemy plik source.list.
ubuntu@ubuntu:~# vim /etc/apt/source.list
W oknie vim’a dodajemy poniższe wpisy na końcu pliku.
##Podstawowe repozytoria Ubuntu 16.04## deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse # deb-src http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu precise partner # deb-src http://archive.canonical.com/ubuntu precise partner deb http://extras.ubuntu.com/ubuntu precise main # deb-src http://extras.ubuntu.com/ubuntu precise main
Po dodaniu nowych wpisów do pliku source.list wydajemy poniższe polecenie:
ubuntu@ubuntu:~# sudo apt-get update
Po aktualizacji nowe wpisy powinny działać.