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/02/2009, à 19:12

inaquerl

Probléme installation open ssh-server

Susi sous Ubuntu 8.04 et mets en place nomachine or j'ai des problème avec l'installation et/ou dessdintallation de openssh-server:
E: openssh-server: le sous-processus post-installation script a retourné une erreur de sortie d'état 2
ou
E: openssh-server: le sous-processus post-removal script a retourné une erreur de sortie d'état 1

aussi quand j'essaie de les réinstaller après cette erreur, j'ai:

agence@Poste-noir:~$ sudo apt-get install openssh-server
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Paquets suggérés :
  molly-guard rssh ssh-askpass
Les NOUVEAUX paquets suivants seront installés :
  openssh-server
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
E: Impossible de verrouiller /var/cache/apt/archives/lock - open (11 Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire de téléchargement

et

agence@Poste-noir:~$ sudo apt-get install ssh
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
  openssh-server
Paquets suggérés :
  molly-guard rssh ssh-askpass
Les NOUVEAUX paquets suivants seront installés :
  openssh-server ssh
0 mis à jour, 2 nouvellement installés, 0 à enlever et 0 non mis à jour.
E: Impossible de verrouiller /var/cache/apt/archives/lock - open (11 Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire de téléchargement

En fait il arrive pas à écrire des dossiers j'ai l'impression puisque sudo gedit /etc/ssh/sshd_config m'ouvre un fichier vide.

Voilà la liste  de mes dépots:

# deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

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

## 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/ hardy universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy universe
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates 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/ hardy-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main
deb-src http://security.ubuntu.com/ubuntu hardy-security main
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
deb http://download.webmin.com/download/repository sarge contrib
deb http://www.datakeylive.com/ubuntu hardy main
# Ubuntu FreeNX Repository for Hardy
deb http://www.datakeylive.com/ubuntu hardy main
deb-src http://www.datakeylive.com/ubuntu hardy main
deb http://ppa.launchpad.net/marceloshima/ubuntu hardy main
deb-src http://ppa.launchpad.net/marceloshima/ubuntu hardy main
deb http://ppa.launchpad.net/freenx-team/ubuntu hardy main
deb-src http://ppa.launchpad.net/freenx-team/ubuntu hardy main
deb http://www.datakeylive.com/ubuntu hardy main
deb-src http://www.datakeylive.com/ubuntu hardy main
deb http://ppa.launchpad.net/marceloshima/ubuntu hardy main
deb-src http://ppa.launchpad.net/marceloshima/ubuntu hardy main
deb http://ppa.launchpad.net/freenx-team/ubuntu hardy main
deb-src http://ppa.launchpad.net/freenx-team/ubuntu hardy main


C'est quoi ça ?? yikes et comment en venir à bout par quelle procédure?

Dernière modification par inaquerl (Le 24/02/2009, à 19:29)

Hors ligne

#2 Le 24/02/2009, à 20:26

inaquerl

Re : Probléme installation open ssh-server

quelqu'un aurait une petite idée sur ce problème bien embêtant. Je vais quand même pas réinstaller Ubuntu Hardy juste pour ça.....

Dire que j'ai hésité hier à faire une image de ma config....

sad:|......:)

Dernière modification par inaquerl (Le 24/02/2009, à 20:26)

Hors ligne

#3 Le 24/02/2009, à 20:30

vpoulailleau

Re : Probléme installation open ssh-server

En tout cas les

E: Impossible de verrouiller /var/cache/apt/archives/lock - open (11 Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire de téléchargement

signifient qu'un installeur de logiciel est déjà en route et qu'on ne peut pas en ouvrir un autre. Vu ton premier message d'erreur il est possible que ta première tentative ne se soit pas arrêtée correctement d'où les autres erreurs. Mais je ne sais pas t'en dire plus...

A+
Vincent


Guitaristes, pianistes, batteurs, bassistes, venez chercher des partitions sur :
www.tabs.for.free.fr

Hors ligne

#4 Le 24/02/2009, à 20:43

inaquerl

Re : Probléme installation open ssh-server

Comment l'arrêter???
J'ai ça aussi  dans la mise à jour avec des erreurs sur les prog chargés depuis Datakeylive c'est normal d'après le tuto nomachine de Ubuntu-fr.org

agence@Poste-noir:~$ sudo apt-get update
Atteint http://fr.archive.ubuntu.com hardy Release.gpg
Atteint http://fr.archive.ubuntu.com hardy/main Translation-fr                 
Atteint http://fr.archive.ubuntu.com hardy/universe Translation-fr             
Atteint http://fr.archive.ubuntu.com hardy/multiverse Translation-fr           
Atteint http://fr.archive.ubuntu.com hardy-updates Release.gpg                 
Ign http://fr.archive.ubuntu.com hardy-updates/main Translation-fr             
Ign http://fr.archive.ubuntu.com hardy-updates/universe Translation-fr         
Ign http://fr.archive.ubuntu.com hardy-updates/multiverse Translation-fr       
Atteint http://security.ubuntu.com hardy-security Release.gpg                 
Ign http://security.ubuntu.com hardy-security/main Translation-fr             
Atteint http://fr.archive.ubuntu.com hardy Release                             
Ign http://security.ubuntu.com hardy-security/universe Translation-fr         
Ign http://security.ubuntu.com hardy-security/multiverse Translation-fr       
Atteint http://security.ubuntu.com hardy-security Release                     
Atteint http://fr.archive.ubuntu.com hardy-updates Release                     
Réception de : 1 http://ppa.launchpad.net hardy Release.gpg [307B]             
Ign http://ppa.launchpad.net hardy/main Translation-fr                         
Atteint http://security.ubuntu.com hardy-security/main Packages               
Atteint http://fr.archive.ubuntu.com hardy/main Packages                       
Atteint http://fr.archive.ubuntu.com hardy/main Sources                       
Atteint http://fr.archive.ubuntu.com hardy/universe Packages                   
Atteint http://fr.archive.ubuntu.com hardy/universe Sources                   
Atteint http://fr.archive.ubuntu.com hardy/multiverse Packages                 
Atteint http://fr.archive.ubuntu.com hardy/multiverse Sources                 
Réception de : 2 http://ppa.launchpad.net hardy Release.gpg [307B]             
Ign http://ppa.launchpad.net hardy/main Translation-fr                         
Réception de : 3 http://ppa.launchpad.net hardy Release [27,6kB]               
Atteint http://security.ubuntu.com hardy-security/main Sources                 
Atteint http://security.ubuntu.com hardy-security/universe Packages           
Atteint http://security.ubuntu.com hardy-security/universe Sources             
Atteint http://fr.archive.ubuntu.com hardy-updates/main Packages               
Atteint http://fr.archive.ubuntu.com hardy-updates/main Sources               
Atteint http://fr.archive.ubuntu.com hardy-updates/universe Packages           
Ign http://ppa.launchpad.net hardy Release                                     
Atteint http://download.webmin.com sarge Release.gpg                           
Ign http://download.webmin.com sarge/contrib Translation-fr                   
Atteint http://security.ubuntu.com hardy-security/multiverse Packages         
Atteint http://security.ubuntu.com hardy-security/multiverse Sources           
Atteint http://fr.archive.ubuntu.com hardy-updates/universe Sources           
Atteint http://fr.archive.ubuntu.com hardy-updates/multiverse Packages         
Atteint http://fr.archive.ubuntu.com hardy-updates/multiverse Sources         
Réception de : 4 http://ppa.launchpad.net hardy Release [27,6kB]               
Ign http://ppa.launchpad.net hardy Release                                     
Ign http://ppa.launchpad.net hardy/main Packages                               
Ign http://ppa.launchpad.net hardy/main Sources                               
Atteint http://download.webmin.com sarge Release                               
Ign http://ppa.launchpad.net hardy/main Packages                               
Ign http://ppa.launchpad.net hardy/main Sources                               
Atteint http://ppa.launchpad.net hardy/main Packages                           
Ign http://download.webmin.com sarge/contrib Packages                         
Atteint http://ppa.launchpad.net hardy/main Sources                           
Atteint http://ppa.launchpad.net hardy/main Packages                           
Atteint http://ppa.launchpad.net hardy/main Sources                           
Atteint http://download.webmin.com sarge/contrib Packages                     
Réception de : 5 http://www.datakeylive.com hardy Release.gpg [189B]   
Ign http://www.datakeylive.com hardy/main Translation-fr
Réception de : 6 http://www.datakeylive.com hardy Release [1485B]
Ign http://www.datakeylive.com hardy Release
Ign http://www.datakeylive.com hardy/main Packages
Ign http://www.datakeylive.com hardy/main Sources                             
Atteint http://www.datakeylive.com hardy/main Packages                         
Atteint http://www.datakeylive.com hardy/main Sources                         
806o réceptionnés en 6s (119o/s)                                               
W: GPG error: http://ppa.launchpad.net hardy Release: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY ED649F97DE6BFD99
W: GPG error: http://ppa.launchpad.net hardy Release: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 2A8E3034D018A4CE
W: GPG error: http://www.datakeylive.com hardy Release: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 9A846FB7E147B317
E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Hors ligne

#5 Le 24/02/2009, à 20:45

inaquerl

Re : Probléme installation open ssh-server

agence@Poste-noir:~$ sudo apt-get upgrade
[sudo] password for agence:
E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
agence@Poste-noir:~$

Hors ligne

#6 Le 24/02/2009, à 20:45

inaquerl

Re : Probléme installation open ssh-server

agence@Poste-noir:~$ sudo apt-get remove --purge openssh-server
E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Hors ligne

#7 Le 24/02/2009, à 20:47

inaquerl

Re : Probléme installation open ssh-server

agence@Poste-noir:~$ sudo aptitude install openssh-server
E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Lecture de l'information d'état étendu       
Initialisation de l'état des paquets... Fait
Construction de la base de données des étiquettes... Fait
E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Hors ligne

#8 Le 24/02/2009, à 20:48

inaquerl

Re : Probléme installation open ssh-server

Merci Vincent, je vais essayer un simple redémarrage...

Hors ligne

#9 Le 24/02/2009, à 20:57

inaquerl

Re : Probléme installation open ssh-server

Après redémarrage une petite amélioration puisque la commande agence@Poste-noir:~$ sudo apt-get update  ne signale plus l'erreur du Post #4 :

E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Dernière modification par inaquerl (Le 24/02/2009, à 20:58)

Hors ligne