Comme l'a suggéré Jean Christophe, simplement le créer avec la commande (*c'est une commande, pas 7, donc il faut que tout soit écrit avant de faire "enter"*):
Simplement faire un copier/coller dans un terminal... sudo cat << __EOF__ > /etc/apt/sources.list deb http://ca.archive.ubuntu.com/ubuntu/ vivid main restricted universe multiverse deb http://ca.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe multiverse deb http://ca.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu vivid-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu vivid partner __EOF__ 2015-04-28 21:15 GMT-04:00 Louis Brouillette <[email protected]>: > Très très stupide, j'ai du l'effacer car:: > > impossible d'accéder à /etc/apt/sources.list: Aucun fichier ou dossier > de ce type > > > J'imagine qu'il faudrait le recréer. Si je comprend bien, c'est la liste > des dépôts qui est modifiée lors de l'ajout de ppa. Mais là, elle est non > seulement vide mais inexistante.. > > Le 2015-04-28 21:10, Frédéric Côté a écrit : > > Si le fichier sources.list ne peut pas être ouvert, il y a un problème. Le > PPA ne peut pas être ajouté et apt ne peut pas voir ou sont les sources > donc impossible d'installer quoi que se soit. > > Est-ce que vous pouvez vérifier les permissions sur le fichier avec la > commande: > ls /etc/apt/sources.list -Al > > Moi j'obtiens ceci: > -rw-r--r-- 1 root root 3011 Apr 10 18:40 /etc/apt/sources.list > > Vous devriez avoir quelque chose de très similaire. > > 2015-04-28 21:05 GMT-04:00 Louis Brouillette <[email protected]> > : > >> Ok, merci Frederic mais j'obtient quand-même ceci en voulant >> l'installer, donc encore problème et il me semble pas seulement concernant >> pulse audio. >> >> louis@louis-All-Series:~$ sudo add-apt-repository >> ppa:nilarimogard/webupd8 >> [sudo] password for louis: >> WARNING:root:could not open file '/etc/apt/sources.list' >> >> WARNING:root:could not open file '/etc/apt/sources.list' >> >> The main Web Upd8 PPA maintained by: http://www.webupd8.org/ >> >> To add this PPA, simply paste this in a terminal: >> sudo add-apt-repository ppa:nilarimogard/webupd8 >> >> Packages in this PPA: audacious, ap-hotspot, awn-applet-radio, >> awn-applet-wm, calise, cmus, dockbarx, dockbarx-themes-extra, >> dropbox-share, em >> erald, exaile, fbmessenger, gnome-subtitles, gnome-window-applets, >> grsync, grive, gthumb, launchpad-getkeys, mc, mdm (Mint Display Manager), m >> initunes, minitube, musique, notifyosdconfig, nautilus-columns, powertop, >> ppa-purge, rosa-media-player, fixed pulseaudio-equalizer, subtitleed >> itor, syncwall, umplayer, unity-reboot, wimlib, youtube-dl, >> xfce4-dockbarx-plugin, xournal, yad and others. Almost all packages are >> updated to >> their latest version. >> >> For other (specialized) PPAs we maintain, see: >> https://launchpad.net/~webupd8team >> Plus d’info : >> https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8 >> <https://launchpad.net/%7Enilarimogard/+archive/ubuntu/webupd8> >> Appuyez sur [ENTRÉE] pour continuer ou Ctrl-C pour annuler l’ajout >> >> WARNING:root:could not open file '/etc/apt/sources.list' >> >> gpg: le porte-clefs « /tmp/tmprvxuj629/secring.gpg » a été créé >> gpg: le porte-clefs « /tmp/tmprvxuj629/pubring.gpg » a été créé >> gpg: demande de la clef 4C9D234C sur le serveur hkp keyserver.ubuntu.com >> gpg: /tmp/tmprvxuj629/trustdb.gpg : base de confiance créée >> gpg: clef 4C9D234C : clef publique « Launchpad webupd8 » importée >> gpg: Quantité totale traitée : 1 >> gpg: importées : 1 (RSA: 1) >> OK >> louis@louis-All-Series:~$ ^C >> louis@louis-All-Series:~$ sudo apt-get update >> Ign http://linux.dropbox.com vivid InRelease >> Ign http://ppa.launchpad.net vivid InRelease >> Atteint http://linux.dropbox.com vivid Release.gpg >> Ign http://ppa.launchpad.net vivid InRelease >> Atteint http://linux.dropbox.com vivid Release >> Ign http://ppa.launchpad.net vivid InRelease >> Atteint http://linux.dropbox.com vivid/main amd64 Packages >> Atteint http://ppa.launchpad.net vivid Release.gpg >> >> Atteint http://linux.dropbox.com vivid/main i386 Packages >> Réception de : 1 http://ppa.launchpad.net vivid Release.gpg [316 B] >> >> Atteint http://ppa.launchpad.net vivid Release.gpg >> Atteint http://ppa.launchpad.net vivid Release >> Réception de : 2 http://ppa.launchpad.net vivid Release [15,1 kB] >> >> Atteint http://ppa.launchpad.net vivid Release >> >> Atteint http://ppa.launchpad.net vivid/main amd64 Packages >> >> Ign http://linux.dropbox.com vivid/main Translation-fr_CA >> >> Atteint http://ppa.launchpad.net vivid/main i386 Packages >> Ign http://linux.dropbox.com vivid/main Translation-fr >> >> Atteint http://ppa.launchpad.net vivid/main Translation-en >> Ign http://linux.dropbox.com vivid/main Translation-en >> >> Réception de : 3 http://ppa.launchpad.net vivid/main amd64 Packages >> [14,7 kB] >> Réception de : 4 http://ppa.launchpad.net vivid/main i386 Packages [14,6 >> kB] >> Réception de : 5 http://ppa.launchpad.net vivid/main Translation-en >> [11,6 kB] >> Atteint http://ppa.launchpad.net vivid/main amd64 Packages >> Atteint http://ppa.launchpad.net vivid/main i386 Packages >> Atteint http://ppa.launchpad.net vivid/main Translation-en >> 56,3 ko réceptionnés en 2s (21,8 ko/s) >> Lecture des listes de paquets... Fait >> louis@louis-All-Series:~$ sudo apt-get install pulseaudio-equalizer >> Lecture des listes de paquets... Fait >> Construction de l'arbre des dépendances >> Lecture des informations d'état... Fait >> Certains paquets ne peuvent être installés. Ceci peut signifier >> que vous avez demandé l'impossible, ou bien, si vous utilisez >> la distribution unstable, que certains paquets n'ont pas encore >> été créés ou ne sont pas sortis d'Incoming. >> L'information suivante devrait vous aider à résoudre la situation : >> >> Les paquets suivants contiennent des dépendances non satisfaites : >> pulseaudio-equalizer : Dépend: python-support (>= 0.90.0) mais il n'est >> pas installable >> Dépend: swh-plugins mais il n'est pas installable >> Dépend: ladspa-sdk mais il n'est pas installable >> Dépend: python-gnome2 mais il n'est pas >> installable >> E: Impossible de corriger les problèmes, des paquets défectueux sont en >> mode « garder en l'état ». >> >> >> Je remarque plus particulièrement ceci : >> WARNING:root:could not open file '/etc/apt/sources.list' >> >> Aussi, je me demande pourquoi il m'est impossible d'insttaller certaines >> dépendances, >> >> Merci! >> >> >> >> >> -- >> Ubuntu-quebec mailing list >> [email protected] >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-quebec >> >> > > > -- > "In a world without walls, who really needs Windows" > "Nothing is foolproof because fools are so ingenious" > > > > > -- > Ubuntu-quebec mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-quebec > > -- "In a world without walls, who really needs Windows" "Nothing is foolproof because fools are so ingenious"
-- Ubuntu-quebec mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-quebec
