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 01/08/2007, à 15:46

loopping

erreur avec apt-get update (resolu)

bonjour à tous,

cela fait un ptit moment que j' ai des soucis avec ma liste de depots, j' ai suivi le tuto de la documentation, mais le apt-get update bloque toujours a un moment ou un autre.
Alors j' ai decidé d' editer le .list et de remodifier la liste des depots proprement.

cette fois ci, j' ai ce message:

E: Impossible de verrouiller /var/lib/apt/lists/lock - open (11 Ressource temporairement non disponible)


et je ne trouve pas...inutile de preciser que je debute

merci d ' avance

Dernière modification par loopping (Le 01/08/2007, à 19:14)

Hors ligne

#2 Le 01/08/2007, à 15:56

pixi-pix

Re : erreur avec apt-get update (resolu)

question bete a la quelle tu as deja du pensse mais esque synaptic est pas ouvert ?

Hors ligne

#3 Le 01/08/2007, à 16:16

loopping

Re : erreur avec apt-get update (resolu)

bah non !!!

Hors ligne

#4 Le 01/08/2007, à 16:17

pixi-pix

Re : erreur avec apt-get update (resolu)

j'ai preciser question bete ^^

Si non tu as pas un autre truc qui peut utiliser cette ressource ?
Et esqu'il y a les bon droits sur le fichiers en question ?

Hors ligne

#5 Le 01/08/2007, à 16:18

loopping

Re : erreur avec apt-get update (resolu)

les bons droits, c'est a dire?, sinon rien d 'autre n' est ouvert.

Hors ligne

#6 Le 01/08/2007, à 16:19

loopping

Re : erreur avec apt-get update (resolu)

Quand il y' a des maj de disponibles, il y' a souvent un ptit message d erreur, mais elle se font quand même, enfin, j' imagine, celles qu' il peux installer

Hors ligne

#7 Le 01/08/2007, à 16:21

loopping

Re : erreur avec apt-get update (resolu)

je l' ouvre avec cette commande le fichier

gksudo gedit /etc/apt/sources.list

le voici :

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty-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/ feisty universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty 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/ feisty multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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/ feisty-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

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

## SERVEURS FRANÇAIS
deb http://fr.archive.ubuntu.com/ubuntu/ feisty main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty-security main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## SERVEURS FRANÇAIS
deb http://fr.archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse

# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse

## Commercial
deb http://archive.canonical.com/ feisty-commercial main

## SERVEURS FRANÇAIS
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

## MEDIBUNTU
deb http://fr.packages.medibuntu.org/ feisty free non-free

# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas enlever les #)
# deb-src http://fr.packages.medibuntu.org/ feisty free non-free



## DÉPÔTS OFFICIELS
deb http://fr.archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
#deb http://fr.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
#deb http://fr.archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse

## Commercial
deb http://archive.canonical.com/ feisty-commercial main

## MEDIBUNTU
deb http://fr.packages.medibuntu.org/ feisty free non-free

Hors ligne

#8 Le 01/08/2007, à 16:26

pixi-pix

Re : erreur avec apt-get update (resolu)

je vois pas d'ou ca peux venir attend une geure je suis chez moi et je regarde ca sur ma disto wink

Hors ligne

#9 Le 01/08/2007, à 16:30

loopping

Re : erreur avec apt-get update (resolu)

merci c'est cool !!

Hors ligne

#10 Le 01/08/2007, à 16:43

loopping

Re : erreur avec apt-get update (resolu)

j' ai tapé cette commande et j' ai ce resultat que je ne sais pas interpreter:

looping@looping-laptop:~$ sudo lsof /var/lib/apt/lists/lock
COMMAND  PID USER   FD   TYPE DEVICE SIZE    NODE NAME
apt-get 5745 root    5uW  REG    8,1    0 4473099 /var/lib/apt/lists/lock
looping@looping-laptop:~$

voilà, voilà

Hors ligne

#11 Le 01/08/2007, à 16:45

tortuegenialez

Re : erreur avec apt-get update (resolu)

Bonjour,
pourrais tu poster ce qu'il te donne a partir de ton

sudo apt-get update

Dernière modification par tortuegenialez (Le 01/08/2007, à 16:45)

Hors ligne

#12 Le 01/08/2007, à 16:47

tortuegenialez

Re : erreur avec apt-get update (resolu)

loopping a écrit :

COMMAND  PID USER   FD   TYPE DEVICE SIZE    NODE NAME
apt-get 5745 root    5uW  REG    8,1    0 4473099 /var/lib/apt/lists/lock

Il semble qu'un apt-get tourne avec le PID 5745
un petit

sudo killall apt-get

peut-être??

Hors ligne

#13 Le 01/08/2007, à 16:47

loopping

Re : erreur avec apt-get update (resolu)

llooping@looping-laptop:~$ sudo apt-get update
E: Impossible de verrouiller /var/lib/apt/lists/lock - open (11 Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire de liste
looping@looping-laptop:~$

Hors ligne

#14 Le 01/08/2007, à 16:49

loopping

Re : erreur avec apt-get update (resolu)

je crois que c'est bon, j' ai lancé: sudo killall apt-get et l' update semble passer, merci !!

Hors ligne

#15 Le 01/08/2007, à 16:51

loopping

Re : erreur avec apt-get update (resolu)

ca bloque la dessus, comme avant :

82% [19 Packages bzip2 0] 

mais c'est deja mieux !!

Hors ligne

#16 Le 01/08/2007, à 16:58

loopping

Re : erreur avec apt-get update (resolu)

et si j' ouvre synaptic j' ai ça maintenant :


W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/main Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_main_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/main Translation-fr (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_main_i18n_Translation-fr)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/restricted Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/restricted Translation-fr (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_restricted_i18n_Translation-fr)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/main Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_main_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/main Translation-fr (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_main_i18n_Translation-fr)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/restricted Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/restricted Translation-fr (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_restricted_i18n_Translation-fr)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/universe Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/universe Translation-fr (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_universe_i18n_Translation-fr)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/multiverse Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/multiverse Translation-fr (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_multiverse_i18n_Translation-fr)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/main Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_main_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/main Translation-fr (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_main_i18n_Translation-fr)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/restricted Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/restricted Translation-fr (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_restricted_i18n_Translation-fr)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/universe Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/universe Translation-fr (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_universe_i18n_Translation-fr)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/multiverse Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/multiverse Translation-fr (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty_multiverse_i18n_Translation-fr)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-updates/main Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-updates_main_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-updates/restricted Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-updates_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-updates/main Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-updates_main_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-updates/restricted Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-updates_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-updates/main Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-updates_main_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-updates/restricted Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-updates_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-updates/universe Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-updates_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-updates/multiverse Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-updates_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-security/main Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-security/restricted Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-security/main Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-security/restricted Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty-security/multiverse Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_feisty-security_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com feisty-commercial/main Packages (/var/lib/apt/lists/archive.canonical.com_dists_feisty-commercial_main_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.packages.medibuntu.org feisty/free Packages (/var/lib/apt/lists/fr.packages.medibuntu.org_dists_feisty_free_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.packages.medibuntu.org feisty/non-free Packages (/var/lib/apt/lists/fr.packages.medibuntu.org_dists_feisty_non-free_binary-i386_Packages)

bon....;)

Dernière modification par loopping (Le 01/08/2007, à 16:58)

Hors ligne

#17 Le 01/08/2007, à 16:58

tortuegenialez

Re : erreur avec apt-get update (resolu)

tu voudrais pas mettre un peu plus de détail?
pas toute la sortie mais une partie plus explicite en tout cas!

Hors ligne

#18 Le 01/08/2007, à 17:01

loopping

Re : erreur avec apt-get update (resolu)

je sais, c'est un peu la loose, desolé mais bon je vais y arriver.

en gros quand je fait l' update maintenant ca reste la dessus :82% [19 Packages bzip2 0]  , ca ne fini jamais.

je ferme le terminal et j' ouvre synaptic et là j' ai le message d ' erreur au dessus

Hors ligne

#19 Le 01/08/2007, à 17:21

tortuegenialez

Re : erreur avec apt-get update (resolu)

loopping a écrit :

W: Duplicate sources.list entry http://fr.archive.ubuntu.com feisty/main Packages

Un ménage s'impose!!
Il faut nettoyer ton sources.list; si un dépot est mentionné sur différentes lignes il semble qu'apt-get n'apprécie pas trop!

Hors ligne

#20 Le 01/08/2007, à 17:38

dada55

Re : erreur avec apt-get update (resolu)

On dirait que... bah en fait, t'as des sources en trop pour être simple !

Tu as retouché ton ton fichier sources.list récemment ? "Duplicate" dit tout simplement que t'as les sources en double.

J'pense que tu peux dégager tout ce qui a un rapport avec les serveurs français.

Mon sources listes qui marche tout bien :

## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://fr.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty 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/ feisty multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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/ feisty-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

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

Hors ligne

#21 Le 01/08/2007, à 19:05

loopping

Re : erreur avec apt-get update (resolu)

merci bcps !!

Hors ligne

#22 Le 01/08/2007, à 19:13

loopping

Re : erreur avec apt-get update (resolu)

ca marche nickel, j' avais juste suivi le tuto, je n' avais pas viré le debut du fichier, là je n' ai mis que ce que tu m' a donné dada55 et plus d' erreur , cool !!

Hors ligne

#23 Le 01/08/2007, à 19:14

tortuegenialez

Re : erreur avec apt-get update (resolu)

wink
avec plaisir!



un petit [resolu] dans le titre!?

edit: bah non, g rien dit...

Dernière modification par tortuegenialez (Le 01/08/2007, à 19:15)

Hors ligne