Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 09/10/2016, à 16:32

Nonma

/etc/apt/sources.list: Permission non accordée [Résolu]

Bonjour,
je suis débutante et j'ai un problème pour installer un paquet, lorsque je tape

 /etc/apt/sources.list deb http://download.opensuse.org/repositories/home:/popinet/xUbuntu_16.04 ./

le terminal indique

  /etc/apt/sources.list: Permission non accordée 

La page d'installation du paquet (http://gfs.sourceforge.net/wiki/index.p … stallation section 3.) indique que je dois activer le dépôt "universe" en décommentant les lignes correspondantes dans le fichier source.list. J'ai essayé de le faire en éditant le fichier avec Gedit mais lorsque je modifie quelque chose le terminal affiche

 (gedit:18359): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

** (gedit:18359): WARNING **: Set document metadata failed: La définition de l'attribut metadata::gedit-spell-enabled n'est pas prise en charge

et si je retente d'installer le paquet la permission n'est toujours pas accordée. Pouvez-vous m'aider?
Ci dessous le fichier source.list non modifié :

 #deb cdrom:[Xubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

Dernière modification par Nonma (Le 09/10/2016, à 17:16)

Hors ligne

#2 Le 09/10/2016, à 16:54

cqfd93

Re : /etc/apt/sources.list: Permission non accordée [Résolu]

Bonjour,

Les dépôts universe sont déjà activés dans ton source.list (ce sont toutes les lignes qui contiennent "universe" et commencent par "deb http").

Donc pour installer ton paquet, il suffit d'ajouter la ligne :

deb http://download.opensuse.org/repositories/home:/popinet/xUbuntu_16.04 ./

au fichier /etc/apt/sources.list

ou alors d'utiliser le gestionnaire graphique, Paramètres systèmes / Logiciels & mises à jour, onglet Autres logiciels / Ajouter et coller la ligne complète  "deb…".

Après ça, il faudra faire l'update et l'install spécifiés.


cqfd93

Hors ligne

#3 Le 09/10/2016, à 17:14

Nonma

Re : /etc/apt/sources.list: Permission non accordée [Résolu]

Merci pour la réponse!
Ca a très bien fonctionné!

Hors ligne

#4 Le 09/10/2016, à 17:21

cqfd93

Re : /etc/apt/sources.list: Permission non accordée [Résolu]

Super, contente pour toi !


cqfd93

Hors ligne