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 21/03/2017, à 09:46

guillthemall

sudo apt-get update open 13: Permission non accordée

Bonjour,
J'ai comme soucis de ne pas pouvoir mettre à jour correctement mon système.
J'ai testé sudo apt-get upgrade && sudo apt-get autoremove --purge && sudo apt-get autoclean, ça marche sans problème.
Idem pour synaptic, il arrive à mettre à jour mon système.

Par contre pour sudo apt-get update, j'ai la réponse suivante :

++++@xxxx-pc:~$ sudo apt-get update
Atteint:3 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease                             
Atteint:4 http://ppa.launchpad.net/bit-team/stable/ubuntu xenial InRelease          
Réception de:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                               
Réception de:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]                                                      
Atteint:6 http://ppa.launchpad.net/cinelerra-ppa/ppa/ubuntu xenial InRelease                                                    
Atteint:7 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease                                   
Atteint:8 http://ppa.launchpad.net/font-manager/staging/ubuntu xenial InRelease               
Atteint:9 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease               
Atteint:10 http://ppa.launchpad.net/nowrep/qupzilla/ubuntu xenial InRelease                   
Atteint:11 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu xenial InRelease                
Réception de:2 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]             
Atteint:12 http://ppa.launchpad.net/rock-hopper/audiotools/ubuntu xenial InRelease             
Atteint:13 http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial InRelease                     
Atteint:14 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease
Atteint:15 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial InRelease
Ign:16 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Ign:17 http://fr.archive.ubuntu.com/ubuntu xenial/main i386 Packages
Atteint:18 http://fr.archive.ubuntu.com/ubuntu xenial/main Translation-fr
Ign:19 http://fr.archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:18 http://fr.archive.ubuntu.com/ubuntu xenial/main Translation-fr                                                   
Ign:20 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata                                            
Ign:21 http://fr.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons            
Atteint:22 http://fr.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:22 http://fr.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages              
Atteint:23 http://fr.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages           
Atteint:24 http://fr.archive.ubuntu.com/ubuntu xenial/restricted Translation-fr
Atteint:25 http://fr.archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Ign:26 http://fr.archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 Metadata
Ign:23 http://fr.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages              
Ign:24 http://fr.archive.ubuntu.com/ubuntu xenial/restricted Translation-fr                                          
Ign:25 http://fr.archive.ubuntu.com/ubuntu xenial/restricted Translation-en                                          
Atteint:27 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages                                        
Atteint:28 http://fr.archive.ubuntu.com/ubuntu xenial/universe i386 Packages       
Ign:27 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Ign:28 http://fr.archive.ubuntu.com/ubuntu xenial/universe i386 Packages                  
Atteint:29 http://fr.archive.ubuntu.com/ubuntu xenial/universe Translation-fr             
Atteint:30 http://fr.archive.ubuntu.com/ubuntu xenial/universe Translation-en
Ign:29 http://fr.archive.ubuntu.com/ubuntu xenial/universe Translation-fr                       
Ign:30 http://fr.archive.ubuntu.com/ubuntu xenial/universe Translation-en                       
Ign:31 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata                
Ign:32 http://fr.archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons
Atteint:33 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Atteint:34 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages
Ign:33 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Ign:34 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages
Atteint:36 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en
Ign:36 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en
Ign:37 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 Metadata
Ign:38 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 Icons
Ign:20 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:21 http://fr.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons
Ign:26 http://fr.archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 Metadata
Réception de:39 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [496 kB]
Réception de:40 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [486 kB]
Réception de:41 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [199 kB]
Ign:42 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata
Ign:43 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons 
Ign:44 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
Ign:45 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
Ign:46 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en
Réception de:47 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]
Réception de:48 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [440 kB]
Réception de:49 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [430 kB]
Réception de:50 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [168 kB]
Réception de:51 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [160 kB]
Réception de:52 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [188 kB]
Réception de:53 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [8 652 B]
Réception de:54 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [7 452 B]
Réception de:55 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [4 028 B]
Réception de:56 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2 516 B]
Réception de:57 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [7 765 B]
Ign:31 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata
Ign:32 http://fr.archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons
Atteint:35 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse Translation-fr
Ign:37 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 Metadata
Ign:38 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 Icons           
Atteint:16 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages                 
Atteint:17 http://fr.archive.ubuntu.com/ubuntu xenial/main i386 Packages
Atteint:19 http://fr.archive.ubuntu.com/ubuntu xenial/main Translation-en
Atteint:18 http://fr.archive.ubuntu.com/ubuntu xenial/main Translation-fr
Err:20 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata
  Impossible d'ouvrir le fichier /var/lib/apt/lists/partial/fr.archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz - open (13: Permission non accordée) [IP : 194.158.119.190 80]
Ign:21 http://fr.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons
Atteint:22 http://fr.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:26 http://fr.archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 Metadata
Atteint:23 http://fr.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages
Atteint:24 http://fr.archive.ubuntu.com/ubuntu xenial/restricted Translation-fr
Atteint:25 http://fr.archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Atteint:27 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Atteint:28 http://fr.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
Atteint:29 http://fr.archive.ubuntu.com/ubuntu xenial/universe Translation-fr
Atteint:30 http://fr.archive.ubuntu.com/ubuntu xenial/universe Translation-en
Ign:42 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata
Ign:43 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons
Ign:44 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
Ign:45 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
Ign:46 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en
Réception de:42 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [449 kB]
Err:43 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons
  Impossible d'ouvrir le fichier /var/lib/apt/lists/partial/fr.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_dep11_icons-64x64.tar.gz - open (13: Permission non accordée) [IP : 194.158.119.190 80]
Réception de:44 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13,2 kB]
Réception de:45 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [13,2 kB]
Réception de:46 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2 627 B]
451 ko réceptionnés en 4s (99,5 ko/s)                                       
Lecture des listes de paquets... Fait
E: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/xenial/main/dep11/Components-amd64.yml  Impossible d'ouvrir le fichier /var/lib/apt/lists/partial/fr.archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz - open (13: Permission non accordée) [IP : 194.158.119.190 80]
E: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/dep11/icons-64x64.tar  Impossible d'ouvrir le fichier /var/lib/apt/lists/partial/fr.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_dep11_icons-64x64.tar.gz - open (13: Permission non accordée) [IP : 194.158.119.190 80]
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.

Vous avez une idée d'où vient le problème ?

Hors ligne

#2 Le 21/03/2017, à 10:21

jplemoine

Re : sudo apt-get update open 13: Permission non accordée

Sauf que le sudo apt-get update est la première chose à faire.
Pour le problème, je tenterai de supprimer le fichier sous sudo.
Si ça ne fonctionne pas, essayer sous session live.


Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne

#3 Le 22/03/2017, à 05:01

guillthemall

Re : sudo apt-get update open 13: Permission non accordée

Oui, évidement que je commence avec l'update. Mon habitude est d'utiliser le script suivant :

sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove --purge && sudo apt-get autoclean

Je le trouve bien pratique, à faire 2 fois par semaine et comme ça je peux être à jour sans soucis.

Bon sinon j'ai trouvé une solution, ça a semble-t-il marché, j'ai pu mettre mon os à jour.

Pour cela j'ai juste fait

sudo rm -r /var/lib/apt/lists/partial

.

J'ai update et upgrade normalement ...

Merci en tout cas !

Hors ligne