Par exemple, pour installer nuxeo, je lance la commande: apt-get install nuxeo nuxeo-dm nuxeo-cmf
Voici le contenu de mon fichier /etc/apt/sources.list:
[i]# deb cdrom:[Debian GNU/Linux 7.2.0 Wheezy - Official i386 DVD Binary-1 20131012-12:56]/ wheezy contrib main
#deb cdrom:[Debian GNU/Linux 7.2.0 Wheezy - Official i386 DVD Binary-1 20131012-12:56]/ wheezy contrib main
#deb security.debian.org/ wheezy/updates main contrib
#deb-src security.debian.org/ wheezy/updates main contrib
wheezy-updates, previously known as ‘volatile’
A network mirror was not selected during install. The following entries
are provided as examples, but you should amend them as appropriate
for your mirror of choice.
deb ftp.debian.org/debian/ wheezy-updates main contrib
deb-src ftp.debian.org/debian/ wheezy-updates main contrib
deb ftp.fr.debian.org/debian wheezy main contrib
#deb mds.mandriva.org/pub/mds/debian wheezy main
deb apt.nuxeo.org/ wheezy releases
#deb security.debian.org/debian-security wheezy/updates main
#deb ftp.fr.debian.org/debian squeeze main non-free
#deb http.debian.net/debian/ wheezy main contrib non-free
#deb download.opensuse.org/repositori … ebian_7.0/ ./
deb ftp.debian.org/debian squeeze main contrib non-free[/i]
La commande suivante $ ls -la /etc/apt/sources.list.d ne donne rien, le répertoire est vide.
La commande $ ls -la /etc/apt me donne le résultat suivant:
drwxr-xr-x 6 root root 4096 juin 20 13:44 .
drwxr-xr-x 137 root root 12288 juin 25 17:01 …
drwxr-xr-x 2 root root 4096 juin 20 12:49 apt.conf.d
-rw-r–r-- 1 root root 99 juin 20 12:44 listchanges.conf
drwxr-xr-x 2 root root 4096 juin 6 2013 preferences.d
-rw-r–r-- 1 root root 1202 juin 25 15:52 sources.list
-rw-r–r-- 1 root root 0 juin 20 12:15 sources.list~
drwxr-xr-x 2 root root 4096 juin 6 2013 sources.list.d
-rw------- 1 root root 1200 juin 20 12:15 trustdb.gpg
-rw------- 1 root root 1681 juin 20 13:44 trusted.gpg
-rw------- 1 root root 0 juin 20 12:15 trusted.gpg~
drwxr-xr-x 2 root root 4096 juin 20 13:44 trusted.gpg.d