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 24/01/2016, à 23:28

humoka

[Résolu] problème avec sudo

Bonjour, ma logithèque ne fonctionne plus, quand je l'ouvre elle se referme quelques secondes après, j'ai donc voulu faire une mise à jour avec sudo apt-get update, mais le terminal m'affiche ceci :
E: Le type « sudo » est inconnu sur la ligne 1 dans la liste des sources /etc/apt/sources.list.d/steam.list
E: La liste des sources ne peut être lue.
Si quelqu'un voulait bien m'aider, ce serait très aimable.. merci !
humoka.

Dernière modification par humoka (Le 25/01/2016, à 02:04)

Hors ligne

#2 Le 24/01/2016, à 23:34

nany

Re : [Résolu] problème avec sudo

Bonjour,

voyons ce que tu as pu faire comme bêtise en mettant une ligne qui contient sudo dans un fichier de sources.
Ouvre un terminal et donne le retour de cette commande :

cat /etc/apt/sources.list.d/steam.list

Explications pour donner un retour de commande sur le forum.

Hors ligne

#3 Le 25/01/2016, à 00:14

humoka

Re : [Résolu] problème avec sudo

Bonsoir Nany,
je reçois donc les commandes que j'ai effectué plus tôt, les aze etc sont pour voir si mon ordinateur réagit

sudo apt-get update
azea
a
z

Dernière modification par humoka (Le 25/01/2016, à 00:17)

Hors ligne

#4 Le 25/01/2016, à 00:27

nany

Re : [Résolu] problème avec sudo

OK. J’ignore comment tu as créé ce fichier, mais il apparaît que tu étais encore dans le fichier en mode édition lorsque tu as tenté cette commande (ainsi que les lignes suivantes).
Passe la commande suivante pour réécrire ce qu’il faut dans le fichier.

sudo sh -c 'echo "deb http://repo.steampowered.com/steam/ precise steam" > /etc/apt/sources.list.d/steam.list' 

Ensuite, pour être sûr que tu aies la clé nécessaire à ce dépôt, passe cette commande :

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B05498B7

Puis donne le retour de :

sudo apt-get update

Hors ligne

#5 Le 25/01/2016, à 00:32

humoka

Re : [Résolu] problème avec sudo

lorsque je fais

sudo apt-get update 

il met tout à jour et me mets ceci à la fin

W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.

je lance alors apt-get update, et il me dit

E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13: Permission non accordée)
E: Impossible de verrouiller le répertoire /var/lib/apt/lists/
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13: Permission non accordée)
E: Impossible de verrouiller le répertoire d'administration (/var/lib/dpkg/). Avez-vous les privilèges du superutilisateur ?

Hors ligne

#6 Le 25/01/2016, à 00:35

nany

Re : [Résolu] problème avec sudo

humoka a écrit :

il met tout à jour et me mets ceci à la fin

Pour y voir clair (car ma boule de cristal est cassée wink), j’ai besoin du retour complet de la commande, pas seulement du message d’erreur final.

Hors ligne

#7 Le 25/01/2016, à 00:37

humoka

Re : [Résolu] problème avec sudo

et bah, la liste est longue tu dois être doué(e je suppose)

Ign http://liveusb.info all InRelease
Réception de : 1 http://repo.steampowered.com precise InRelease [2 840 B]
Réception de : 2 http://fr.archive.ubuntu.com vivid InRelease [218 kB]         
Réception de : 3 http://security.ubuntu.com vivid-security InRelease [64,4 kB] 
Réception de : 4 http://liveusb.info all Release.gpg [473 B]                   
Ign http://ppa.launchpad.net vivid InRelease                                   
Réception de : 5 http://liveusb.info all Release [4 637 B]                     
Atteint http://ppa.launchpad.net vivid Release.gpg                             
Atteint http://ppa.launchpad.net vivid Release                                 
Réception de : 6 http://repo.steampowered.com precise/steam i386 Packages [800 B]
Réception de : 7 http://liveusb.info all/main i386 Packages [1 266 B]          
Réception de : 8 http://security.ubuntu.com vivid-security/main Sources [59,6 kB]
Atteint http://ppa.launchpad.net vivid/main i386 Packages                      
Atteint http://ppa.launchpad.net vivid/main Translation-en                     
Réception de : 9 http://fr.archive.ubuntu.com vivid-updates InRelease [64,4 kB]
Réception de : 10 http://security.ubuntu.com vivid-security/restricted Sources [3 418 B]
Réception de : 11 http://security.ubuntu.com vivid-security/universe Sources [23,2 kB]
Réception de : 12 http://security.ubuntu.com vivid-security/multiverse Sources [1 930 B]
Ign http://liveusb.info all/main Translation-fr_FR                             
Réception de : 13 http://security.ubuntu.com vivid-security/main i386 Packages [188 kB]
Ign http://liveusb.info all/main Translation-fr                                
Ign http://liveusb.info all/main Translation-en                                
Réception de : 14 http://fr.archive.ubuntu.com vivid-backports InRelease [64,5 kB]
Réception de : 15 http://fr.archive.ubuntu.com vivid/main Sources [1 077 kB]   
Réception de : 16 http://security.ubuntu.com vivid-security/restricted i386 Packages [10,9 kB]
Réception de : 17 http://security.ubuntu.com vivid-security/universe i386 Packages [74,7 kB]
Réception de : 18 http://security.ubuntu.com vivid-security/multiverse i386 Packages [6 236 B]
Réception de : 19 http://security.ubuntu.com vivid-security/main Translation-en [92,0 kB]
Réception de : 20 http://security.ubuntu.com vivid-security/multiverse Translation-en [2 743 B]
Réception de : 21 http://security.ubuntu.com vivid-security/restricted Translation-en [2 774 B]
Réception de : 22 http://security.ubuntu.com vivid-security/universe Translation-en [46,7 kB]
Ign http://repo.steampowered.com precise/steam Translation-fr_FR               
Ign http://repo.steampowered.com precise/steam Translation-fr         
Ign http://repo.steampowered.com precise/steam Translation-en
Réception de : 23 http://fr.archive.ubuntu.com vivid/restricted Sources [7 162 B]
Réception de : 24 http://fr.archive.ubuntu.com vivid/universe Sources [7 017 kB]
Réception de : 25 http://fr.archive.ubuntu.com vivid/multiverse Sources [174 kB]
Réception de : 26 http://fr.archive.ubuntu.com vivid/main i386 Packages [1 361 kB]
Réception de : 27 http://fr.archive.ubuntu.com vivid/restricted i386 Packages [15,5 kB]
Réception de : 28 http://fr.archive.ubuntu.com vivid/universe i386 Packages [6 486 kB]
Réception de : 29 http://fr.archive.ubuntu.com vivid/multiverse i386 Packages [134 kB]
Réception de : 30 http://fr.archive.ubuntu.com vivid/main Translation-fr [829 kB]
Réception de : 31 http://fr.archive.ubuntu.com vivid/main Translation-en [793 kB]
Réception de : 32 http://fr.archive.ubuntu.com vivid/multiverse Translation-fr [111 kB]
Réception de : 33 http://fr.archive.ubuntu.com vivid/multiverse Translation-en [103 kB]
Réception de : 34 http://fr.archive.ubuntu.com vivid/restricted Translation-fr [3 627 B]
Réception de : 35 http://fr.archive.ubuntu.com vivid/restricted Translation-en [4 228 B]
Réception de : 36 http://fr.archive.ubuntu.com vivid/universe Translation-fr [3 024 kB]
Réception de : 37 http://fr.archive.ubuntu.com vivid/universe Translation-en [4 456 kB]
Réception de : 38 http://fr.archive.ubuntu.com vivid-updates/main Sources [111 kB]
Réception de : 39 http://fr.archive.ubuntu.com vivid-updates/restricted Sources [4 351 B]
Réception de : 40 http://fr.archive.ubuntu.com vivid-updates/universe Sources [50,5 kB]
Réception de : 41 http://fr.archive.ubuntu.com vivid-updates/multiverse Sources [1 930 B]
Réception de : 42 http://fr.archive.ubuntu.com vivid-updates/main i386 Packages [274 kB]
Réception de : 43 http://fr.archive.ubuntu.com vivid-updates/restricted i386 Packages [13,3 kB]
Réception de : 44 http://fr.archive.ubuntu.com vivid-updates/universe i386 Packages [136 kB]
Réception de : 45 http://fr.archive.ubuntu.com vivid-updates/multiverse i386 Packages [6 236 B]
Réception de : 46 http://fr.archive.ubuntu.com vivid-updates/main Translation-en [134 kB]
Réception de : 47 http://fr.archive.ubuntu.com vivid-updates/multiverse Translation-en [2 743 B]
Réception de : 48 http://fr.archive.ubuntu.com vivid-updates/restricted Translation-en [3 112 B]
Réception de : 49 http://fr.archive.ubuntu.com vivid-updates/universe Translation-en [80,1 kB]
Réception de : 50 http://fr.archive.ubuntu.com vivid-backports/main Sources [751 B]
Réception de : 51 http://fr.archive.ubuntu.com vivid-backports/restricted Sources [28 B]
Réception de : 52 http://fr.archive.ubuntu.com vivid-backports/multiverse Sources [28 B]
Réception de : 53 http://fr.archive.ubuntu.com vivid-backports/universe Sources [6 489 B]
Réception de : 54 http://fr.archive.ubuntu.com vivid-backports/main i386 Packages [612 B]
Réception de : 55 http://fr.archive.ubuntu.com vivid-backports/restricted i386 Packages [28 B]
Réception de : 56 http://fr.archive.ubuntu.com vivid-backports/multiverse i386 Packages [28 B]
Réception de : 57 http://fr.archive.ubuntu.com vivid-backports/universe i386 Packages [5 121 B]
Réception de : 58 http://fr.archive.ubuntu.com vivid-backports/main Translation-en [486 B]
Réception de : 59 http://fr.archive.ubuntu.com vivid-backports/multiverse Translation-en [14 B]
Réception de : 60 http://fr.archive.ubuntu.com vivid-backports/restricted Translation-en [14 B]
Réception de : 61 http://fr.archive.ubuntu.com vivid-backports/universe Translation-en [5 249 B]
27,4 Mo réceptionnés en 52s (525 ko/s)                                         
Lecture des listes de paquets... Fait
W: Duplicate sources.list entry http://liveusb.info/multisystem/depot/ all/main i386 Packages (/var/lib/apt/lists/liveusb.info_multisystem_depot_dists_all_main_binary-i386_Packages)
W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.

Hors ligne

#8 Le 25/01/2016, à 00:43

nany

Re : [Résolu] problème avec sudo

Voila l’info qui me manquait ( wink) :

W: Duplicate sources.list entry

Tu as un doublon concernant multisystem dans tes sources.
Donne le retour de la commande suivante pour que je puisse voir où se trouve(nt) le(s) doublon(s).

find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

Hors ligne

#9 Le 25/01/2016, à 00:45

humoka

Re : [Résolu] problème avec sudo

Je pense devoir t'écouter + toi que mon terminal? big_smile

/etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-utopic.list

     1	# deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu vivid main # désactivé pour la mise à niveau vers vivid
     2	# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu utopic main

/etc/apt/sources.list.d/thomas_tsai-ubuntu-ubuntu-tuxboot-vivid.list

     1	deb http://ppa.launchpad.net/thomas.tsai/ubuntu-tuxboot/ubuntu vivid main
     2	# deb-src http://ppa.launchpad.net/thomas.tsai/ubuntu-tuxboot/ubuntu vivid main

/etc/apt/sources.list.d/steam.list.save

     1	sudo apt-get update
     2	azea
     3	a
     4	z

/etc/apt/sources.list.d/multisystem.list

     1	deb http://liveusb.info/multisystem/depot all main
     2	deb http://liveusb.info/multisystem/depot all main

/etc/apt/sources.list.d/steam.list

     1	deb http://repo.steampowered.com/steam/ precise steam

/etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-utopic.list.distUpgrade

     1	# deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu vivid main # désactivé pour la mise à niveau vers vivid
     2	# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu utopic main

/etc/apt/sources.list.d/thomas_tsai-ubuntu-ubuntu-tuxboot-vivid.list.save

     1	deb http://ppa.launchpad.net/thomas.tsai/ubuntu-tuxboot/ubuntu vivid main
     2	# deb-src http://ppa.launchpad.net/thomas.tsai/ubuntu-tuxboot/ubuntu vivid main

/etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-utopic.list.save

     1	# deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu vivid main # désactivé pour la mise à niveau vers vivid
     2	# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu utopic main

/etc/apt/sources.list.d/multisystem.list.save

     1	deb http://liveusb.info/multisystem/depot all main
     2	deb http://liveusb.info/multisystem/depot all main

/etc/apt/sources.list.save

     1	# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ utopic main restricted
     2	
     3	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4	# newer versions of the distribution.
     5	deb http://fr.archive.ubuntu.com/ubuntu/ vivid main restricted
     6	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
    11	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
    12	
    13	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14	## team. Also, please note that software in universe WILL NOT receive any
    15	## review or updates from the Ubuntu security team.
    16	
    17	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    18	## team, and may not be under a free licence. Please satisfy yourself as to 
    19	## your rights to use the software. Also, please note that software in 
    20	## multiverse WILL NOT receive any review or updates from the Ubuntu
    21	## security team.
    22	deb http://fr.archive.ubuntu.com/ubuntu/ vivid multiverse
    23	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid multiverse
    24	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
    25	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
    26	
    27	## N.B. software from this repository may not have been tested as
    28	## extensively as that contained in the main release, although it includes
    29	## newer versions of some applications which may provide useful features.
    30	## Also, please note that software in backports WILL NOT receive any review
    31	## or updates from the Ubuntu security team.
    32	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-backports main restricted multiverse
    33	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-backports main restricted multiverse
    34	
    35	deb http://security.ubuntu.com/ubuntu vivid-security main restricted
    36	deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted
    37	deb http://security.ubuntu.com/ubuntu vivid-security multiverse
    38	deb-src http://security.ubuntu.com/ubuntu vivid-security multiverse
    39	
    40	## Uncomment the following two lines to add software from Canonical's
    41	## 'partner' repository.
    42	## This software is not part of Ubuntu, but is offered by Canonical and the
    43	## respective vendors as a service to Ubuntu users.
    44	# deb http://archive.canonical.com/ubuntu utopic partner
    45	# deb-src http://archive.canonical.com/ubuntu utopic partner
    46	

/etc/apt/sources.list.distUpgrade

     1	# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ utopic main restricted
     2	
     3	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4	# newer versions of the distribution.
     5	deb http://fr.archive.ubuntu.com/ubuntu/ vivid main restricted
     6	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
    11	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
    12	
    13	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14	## team. Also, please note that software in universe WILL NOT receive any
    15	## review or updates from the Ubuntu security team.
    16	deb http://fr.archive.ubuntu.com/ubuntu/ vivid universe
    17	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates universe
    19	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates universe
    20	
    21	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    22	## team, and may not be under a free licence. Please satisfy yourself as to 
    23	## your rights to use the software. Also, please note that software in 
    24	## multiverse WILL NOT receive any review or updates from the Ubuntu
    25	## security team.
    26	deb http://fr.archive.ubuntu.com/ubuntu/ vivid multiverse
    27	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
    29	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
    30	
    31	## N.B. software from this repository may not have been tested as
    32	## extensively as that contained in the main release, although it includes
    33	## newer versions of some applications which may provide useful features.
    34	## Also, please note that software in backports WILL NOT receive any review
    35	## or updates from the Ubuntu security team.
    36	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse
    37	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse
    38	
    39	deb http://security.ubuntu.com/ubuntu vivid-security main restricted
    40	deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted
    41	deb http://security.ubuntu.com/ubuntu vivid-security universe
    42	deb-src http://security.ubuntu.com/ubuntu vivid-security universe
    43	deb http://security.ubuntu.com/ubuntu vivid-security multiverse
    44	deb-src http://security.ubuntu.com/ubuntu vivid-security multiverse
    45	
    46	## Uncomment the following two lines to add software from Canonical's
    47	## 'partner' repository.
    48	## This software is not part of Ubuntu, but is offered by Canonical and the
    49	## respective vendors as a service to Ubuntu users.
    50	# deb http://archive.canonical.com/ubuntu utopic partner
    51	# deb-src http://archive.canonical.com/ubuntu utopic partner
    52	

/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ utopic main restricted
     2	
     3	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4	# newer versions of the distribution.
     5	deb http://fr.archive.ubuntu.com/ubuntu/ vivid main restricted universe
     6	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid main restricted universe
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe
    11	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe
    12	
    13	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14	## team. Also, please note that software in universe WILL NOT receive any
    15	## review or updates from the Ubuntu security team.
    16	
    17	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    18	## team, and may not be under a free licence. Please satisfy yourself as to 
    19	## your rights to use the software. Also, please note that software in 
    20	## multiverse WILL NOT receive any review or updates from the Ubuntu
    21	## security team.
    22	deb http://fr.archive.ubuntu.com/ubuntu/ vivid multiverse
    23	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid multiverse
    24	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
    25	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
    26	
    27	## N.B. software from this repository may not have been tested as
    28	## extensively as that contained in the main release, although it includes
    29	## newer versions of some applications which may provide useful features.
    30	## Also, please note that software in backports WILL NOT receive any review
    31	## or updates from the Ubuntu security team.
    32	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-backports main restricted multiverse universe
    33	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-backports main restricted multiverse universe
    34	
    35	deb http://security.ubuntu.com/ubuntu vivid-security main restricted universe
    36	deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted universe
    37	deb http://security.ubuntu.com/ubuntu vivid-security multiverse
    38	deb-src http://security.ubuntu.com/ubuntu vivid-security multiverse
    39	
    40	## Uncomment the following two lines to add software from Canonical's
    41	## 'partner' repository.
    42	## This software is not part of Ubuntu, but is offered by Canonical and the
    43	## respective vendors as a service to Ubuntu users.
    44	# deb http://archive.canonical.com/ubuntu utopic partner
    45	# deb-src http://archive.canonical.com/ubuntu utopic partner
    46	

Hors ligne

#10 Le 25/01/2016, à 00:59

nany

Re : [Résolu] problème avec sudo

Bien, alors pour tout mettre au propre, passe ces commandes :

sudo sh -c 'echo "deb http://repo.steampowered.com/steam/ precise steam" > /etc/apt/sources.list.d/steam.list.save'
sudo sed -i '$d' /etc/apt/sources.list.d/multisystem.list
sudo sed -i '$d' /etc/apt/sources.list.d/multisystem.list.save
sudo rm -v /etc/apt/sources.list.distUpgrade
sudo sed -i 's/utopic/vivid/g' /etc/apt/sources.list
sudo sed -i 's/utopic/vivid/g' /etc/apt/sources.list.save
sudo sed -i 's/^# deb http/deb http/' /etc/apt/sources.list
sudo sed -i 's/^# deb http/deb http/' /etc/apt/sources.list.save

Puis, pour vérifier que je n’ai pas mis de conneries, redonne le retour de :

find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

Hors ligne

#11 Le 25/01/2016, à 01:03

humoka

Re : [Résolu] problème avec sudo

Voilà ce que ça me donne  :

/etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-utopic.list

     1	# deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu vivid main # désactivé pour la mise à niveau vers vivid
     2	# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu utopic main

/etc/apt/sources.list.d/thomas_tsai-ubuntu-ubuntu-tuxboot-vivid.list

     1	deb http://ppa.launchpad.net/thomas.tsai/ubuntu-tuxboot/ubuntu vivid main
     2	# deb-src http://ppa.launchpad.net/thomas.tsai/ubuntu-tuxboot/ubuntu vivid main

/etc/apt/sources.list.d/steam.list.save

     1	deb http://repo.steampowered.com/steam/ precise steam

/etc/apt/sources.list.d/multisystem.list

     1	deb http://liveusb.info/multisystem/depot all main

/etc/apt/sources.list.d/steam.list

     1	deb http://repo.steampowered.com/steam/ precise steam

/etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-utopic.list.distUpgrade

     1	# deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu vivid main # désactivé pour la mise à niveau vers vivid
     2	# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu utopic main

/etc/apt/sources.list.d/thomas_tsai-ubuntu-ubuntu-tuxboot-vivid.list.save

     1	deb http://ppa.launchpad.net/thomas.tsai/ubuntu-tuxboot/ubuntu vivid main
     2	# deb-src http://ppa.launchpad.net/thomas.tsai/ubuntu-tuxboot/ubuntu vivid main

/etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-utopic.list.save

     1	# deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu vivid main # désactivé pour la mise à niveau vers vivid
     2	# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu utopic main

/etc/apt/sources.list.d/multisystem.list.save

     1	deb http://liveusb.info/multisystem/depot all main

/etc/apt/sources.list.save

     1	# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ vivid main restricted
     2	
     3	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4	# newer versions of the distribution.
     5	deb http://fr.archive.ubuntu.com/ubuntu/ vivid main restricted
     6	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
    11	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
    12	
    13	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14	## team. Also, please note that software in universe WILL NOT receive any
    15	## review or updates from the Ubuntu security team.
    16	
    17	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    18	## team, and may not be under a free licence. Please satisfy yourself as to 
    19	## your rights to use the software. Also, please note that software in 
    20	## multiverse WILL NOT receive any review or updates from the Ubuntu
    21	## security team.
    22	deb http://fr.archive.ubuntu.com/ubuntu/ vivid multiverse
    23	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid multiverse
    24	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
    25	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
    26	
    27	## N.B. software from this repository may not have been tested as
    28	## extensively as that contained in the main release, although it includes
    29	## newer versions of some applications which may provide useful features.
    30	## Also, please note that software in backports WILL NOT receive any review
    31	## or updates from the Ubuntu security team.
    32	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-backports main restricted multiverse
    33	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-backports main restricted multiverse
    34	
    35	deb http://security.ubuntu.com/ubuntu vivid-security main restricted
    36	deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted
    37	deb http://security.ubuntu.com/ubuntu vivid-security multiverse
    38	deb-src http://security.ubuntu.com/ubuntu vivid-security multiverse
    39	
    40	## Uncomment the following two lines to add software from Canonical's
    41	## 'partner' repository.
    42	## This software is not part of Ubuntu, but is offered by Canonical and the
    43	## respective vendors as a service to Ubuntu users.
    44	deb http://archive.canonical.com/ubuntu vivid partner
    45	# deb-src http://archive.canonical.com/ubuntu vivid partner
    46	

/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ vivid main restricted
     2	
     3	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4	# newer versions of the distribution.
     5	deb http://fr.archive.ubuntu.com/ubuntu/ vivid main restricted universe
     6	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid main restricted universe
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe
    11	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe
    12	
    13	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14	## team. Also, please note that software in universe WILL NOT receive any
    15	## review or updates from the Ubuntu security team.
    16	
    17	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    18	## team, and may not be under a free licence. Please satisfy yourself as to 
    19	## your rights to use the software. Also, please note that software in 
    20	## multiverse WILL NOT receive any review or updates from the Ubuntu
    21	## security team.
    22	deb http://fr.archive.ubuntu.com/ubuntu/ vivid multiverse
    23	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid multiverse
    24	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
    25	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
    26	
    27	## N.B. software from this repository may not have been tested as
    28	## extensively as that contained in the main release, although it includes
    29	## newer versions of some applications which may provide useful features.
    30	## Also, please note that software in backports WILL NOT receive any review
    31	## or updates from the Ubuntu security team.
    32	deb http://fr.archive.ubuntu.com/ubuntu/ vivid-backports main restricted multiverse universe
    33	deb-src http://fr.archive.ubuntu.com/ubuntu/ vivid-backports main restricted multiverse universe
    34	
    35	deb http://security.ubuntu.com/ubuntu vivid-security main restricted universe
    36	deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted universe
    37	deb http://security.ubuntu.com/ubuntu vivid-security multiverse
    38	deb-src http://security.ubuntu.com/ubuntu vivid-security multiverse
    39	
    40	## Uncomment the following two lines to add software from Canonical's
    41	## 'partner' repository.
    42	## This software is not part of Ubuntu, but is offered by Canonical and the
    43	## respective vendors as a service to Ubuntu users.
    44	deb http://archive.canonical.com/ubuntu vivid partner
    45	# deb-src http://archive.canonical.com/ubuntu vivid partner
    46	

Hors ligne

#12 Le 25/01/2016, à 01:08

nany

Re : [Résolu] problème avec sudo

Eh bien, pour une fois, j’ai mis toutes les bonnes commandes du premier coup sans faire d’erreurs.
Tu peux maintenant faire :

sudo apt update && sudo apt full-upgrade

Ah, encore un petit truc à vérifier, donne le retour de :

cat /etc/update-manager/release-upgrades

Hors ligne

#13 Le 25/01/2016, à 01:13

humoka

Re : [Résolu] problème avec sudo

Lorsque je fais

sudo apt update && sudo apt full-upgrade

cela me donnececi, je n'ai donc pas cherché à aller plus loin

E: Impossible d'obtenir le verrou /var/lib/apt/lists/lock - open (11: Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire /var/lib/apt/lists/
E: Impossible d'obtenir le verrou /var/lib/dpkg/lock - open (11: Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire d'administration (/var/lib/dpkg/). Il est possible qu'un autre processus l'utilise.

Dernière modification par humoka (Le 25/01/2016, à 01:14)

Hors ligne

#14 Le 25/01/2016, à 01:19

nany

Re : [Résolu] problème avec sudo

Cela signifie qu’un autre programme utilisant dpkg est actuellement en cours d’utilisation.
As-tu ouvert la logithèque (afin de vérifier que ton problème est résolu) ou le gestionnaire de mise à jour ?
Si oui, ferme la fenêtre du programme et recommence.
Si non, il est possible que le processus de mises à jour automatiques se soit lancé.

En tout cas, donne le retour de la deuxième commande.

Hors ligne

#15 Le 25/01/2016, à 01:21

humoka

Re : [Résolu] problème avec sudo

C'est le gestionnaire de mise à jour qui attends que je le redémarre, j'attendais notre fin mais je vais le faire après ce message smile

# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
#  never  - Never check for a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the release that immediately succeeds the currently-running
#           release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won't be able to
#           determine if a newer release is available.
Prompt=normal

Hors ligne

#16 Le 25/01/2016, à 01:28

nany

Re : [Résolu] problème avec sudo

Bon, tout est OK. Tu devrais très prochainement avoir une proposition de mise à niveau car ta version n’est maintenue que jusqu’à la fin de ce mois-ci.
Si tu as une proposition de redémarrage, alors tu as probablement eu une mise à jour du noyau.
Accepte le redémarrage puis reviens pour donner les retours de ces commandes :

uname -r
df -h
df -i
dpkg -l | grep -Ei "linux-(g|h|i|lo|si|t)"

Hors ligne

#17 Le 25/01/2016, à 01:33

humoka

Re : [Résolu] problème avec sudo

J'ai fais les mises à jour que je n'ai pas pu faire avant à cause du gestionnaire, et j'ai aussi redémarré. Je te mets les résultats dans l'ordre des commandes que tu m'as donné.

3.19.0-47-generic
Sys. de fichiers            Taille Utilisé Dispo Uti% Monté sur
udev                          869M       0  869M   0% /dev
tmpfs                         176M    5,2M  171M   3% /run
/dev/mapper/ubuntu--vg-root   228G     11G  205G   6% /
tmpfs                         879M    316K  879M   1% /dev/shm
tmpfs                         5,0M    4,0K  5,0M   1% /run/lock
tmpfs                         879M       0  879M   0% /sys/fs/cgroup
/dev/sda1                     236M    161M   64M  72% /boot
tmpfs                         176M     44K  176M   1% /run/user/1000
/dev/sdb1                      29G    2,3G   27G   8% /media/allan/6261-6365
Sys. de fichiers              Inœuds IUtil.   ILibre IUti% Monté sur
udev                          214458    579   213879    1% /dev
tmpfs                         219907    762   219145    1% /run
/dev/mapper/ubuntu--vg-root 15138816 318903 14819913    3% /
tmpfs                         219907      8   219899    1% /dev/shm
tmpfs                         219907      7   219900    1% /run/lock
tmpfs                         219907     15   219892    1% /sys/fs/cgroup
/dev/sda1                      62248    323    61925    1% /boot
tmpfs                         219907     28   219879    1% /run/user/1000
/dev/sdb1                          0      0        0     - /media/allan/6261-6365
ii  linux-generic                                       3.19.0.47.46                               i386         Complete Generic Linux kernel and headers
ii  linux-headers-3.16.0-23                             3.16.0-23.31                               all          Header files related to Linux kernel version 3.16.0
ii  linux-headers-3.16.0-23-generic                     3.16.0-23.31                               i386         Linux kernel headers for version 3.16.0 on 32 bit x86 SMP
ii  linux-headers-3.16.0-24                             3.16.0-24.32                               all          Header files related to Linux kernel version 3.16.0
ii  linux-headers-3.16.0-24-generic                     3.16.0-24.32                               i386         Linux kernel headers for version 3.16.0 on 32 bit x86 SMP
ii  linux-headers-3.16.0-28                             3.16.0-28.38                               all          Header files related to Linux kernel version 3.16.0
ii  linux-headers-3.16.0-28-generic                     3.16.0-28.38                               i386         Linux kernel headers for version 3.16.0 on 32 bit x86 SMP
ii  linux-headers-3.19.0-15                             3.19.0-15.15                               all          Header files related to Linux kernel version 3.19.0
ii  linux-headers-3.19.0-15-generic                     3.19.0-15.15                               i386         Linux kernel headers for version 3.19.0 on 32 bit x86 SMP
ii  linux-headers-3.19.0-47                             3.19.0-47.53                               all          Header files related to Linux kernel version 3.19.0
ii  linux-headers-3.19.0-47-generic                     3.19.0-47.53                               i386         Linux kernel headers for version 3.19.0 on 32 bit x86 SMP
ii  linux-headers-generic                               3.19.0.47.46                               i386         Generic Linux kernel headers
ii  linux-image-3.16.0-23-generic                       3.16.0-23.31                               i386         Linux kernel image for version 3.16.0 on 32 bit x86 SMP
ii  linux-image-3.16.0-24-generic                       3.16.0-24.32                               i386         Linux kernel image for version 3.16.0 on 32 bit x86 SMP
ii  linux-image-3.16.0-28-generic                       3.16.0-28.38                               i386         Linux kernel image for version 3.16.0 on 32 bit x86 SMP
ii  linux-image-3.19.0-15-generic                       3.19.0-15.15                               i386         Linux kernel image for version 3.19.0 on 32 bit x86 SMP
ii  linux-image-3.19.0-47-generic                       3.19.0-47.53                               i386         Linux kernel image for version 3.19.0 on 32 bit x86 SMP
ii  linux-image-extra-3.16.0-23-generic                 3.16.0-23.31                               i386         Linux kernel extra modules for version 3.16.0 on 32 bit x86 SMP
ii  linux-image-extra-3.16.0-24-generic                 3.16.0-24.32                               i386         Linux kernel extra modules for version 3.16.0 on 32 bit x86 SMP
ii  linux-image-extra-3.16.0-28-generic                 3.16.0-28.38                               i386         Linux kernel extra modules for version 3.16.0 on 32 bit x86 SMP
ii  linux-image-extra-3.19.0-15-generic                 3.19.0-15.15                               i386         Linux kernel extra modules for version 3.19.0 on 32 bit x86 SMP
ii  linux-image-extra-3.19.0-47-generic                 3.19.0-47.53                               i386         Linux kernel extra modules for version 3.19.0 on 32 bit x86 SMP
ii  linux-image-generic                                 3.19.0.47.46                               i386         Generic Linux kernel image

Hors ligne

#18 Le 25/01/2016, à 01:46

nany

Re : [Résolu] problème avec sudo

Bien, alors passe ces commandes :

[[ $(apt-mark showmanual | egrep 'linux-.*[0-9]') ]] && sudo apt-mark auto $(apt-mark showmanual | egrep linux-.*[0-9])
sudo /etc/kernel/postinst.d/apt-auto-removal $(dpkg -l | grep -Ei "linux-image-[0-9]" | tail -1 | awk '{print $2}' | cut -d- -f3-)

Et donne le retour de :

sudo apt install

Hors ligne

#19 Le 25/01/2016, à 01:50

humoka

Re : [Résolu] problème avec sudo

cela me donne

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  linux-headers-3.16.0-23 linux-headers-3.16.0-23-generic
  linux-headers-3.16.0-24 linux-headers-3.16.0-24-generic
  linux-headers-3.16.0-28 linux-headers-3.16.0-28-generic
  linux-image-3.16.0-23-generic linux-image-3.16.0-24-generic
  linux-image-3.16.0-28-generic linux-image-extra-3.16.0-23-generic
  linux-image-extra-3.16.0-24-generic linux-image-extra-3.16.0-28-generic
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

Hors ligne

#20 Le 25/01/2016, à 01:58

nany

Re : [Résolu] problème avec sudo

OK. Tu peux passer ces commandes :

sudo apt-get autoremove --purge -y
[[ $(dpkg -l | grep ^rc) ]] && sudo dpkg -P $(dpkg -l | grep ^rc | awk '{print $2}')

Il ne t’es jamais arrivé d’erreur disant que /boot était trop rempli ?
Si oui, alors tu sais sûrement déjà comment y remédier.
Si non, alors je te conseille de lire ce fil.

Et sinon, ton problème est résolu. Tu peux donc éditer le premier message de cette discussion afin de pouvoir mettre [Résolu] au début du titre. wink

Hors ligne

#21 Le 25/01/2016, à 02:04

humoka

Re : [Résolu] problème avec sudo

Je ne vois pas de quoi tu parles à propos de boot, j'ai démonté mon pc cet après midi à cause d'un probleme de connectique sur l'alimentation, et cela fait un moment que je ne l'ai pas utilisé. ma logithèque fonctionne à nouveau c'était mon but, merci beaucoup pour ton aide !

Hors ligne