Questo è su un server Ubuntu 12.04.
Ricevo questo errore durante il tentativo di eseguire qualsiasi apt-get install(tentativo di installare pacchetti arbitrari non correlati):
dpkg: dependency problems prevent configuration of openssh-server:
openssh-server depends on openssh-client (= 1:5.9p1-5ubuntu1.1); however:
Version of openssh-client on system is 1:5.9p1-5ubuntu1.4.
dpkg: error processing openssh-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency probms prevent configuration of ssh:
ssh depends on openssh-server; however:
Package openssh-server is not configured yet.
dpkg: error processing ssh (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encounter while processing:
openssh-server
ssh
E: Sub-process /usr/bin/dpkg returned an error code (1)
L'installazione della versione client in questione porta a:
sudo apt-get install openssh-client=1:5.9p1-5ubuntu1.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1:5.9p1-5ubuntu1.1' for 'openssh-client' was not found
Vari tentativi di risolverlo in mancanza di conoscenze di base non sono riusciti, ad es
dpkg-reconfigure -a
apt-get -f install
Qualcuno può darmi consigli su come affrontare il problema, eventualmente chiedendo più informazioni necessarie dalla mia parte?
In che modo l'aggiornamento di openssh (che immagino fallito) può essere ripristinato o messo fuori fuoco, quindi sono in grado di installare altri pacchetti?
Modificare:
L'output di apt-cache policy openssh-clientè:
openssh-client:
Installed: 1:5.9p1-5ubuntu1.4
Candidate: 1:5.9p1-5ubuntu1.4
Version table:
*** 1:5.9p1-5ubuntu1.4 0
500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
100 /var/lib/dpkg/status
1:5.9p1-5ubuntu1.3 0
500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
1:5.9p1-5ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
Solo per completezza il /etc/apt/sources.list:
deb http://archive.ubuntu.com/ubuntu precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
apt-cache policy openssh-clientovviamente stai cercando di installare un pacchetto che non è stato sviluppato o testato con il tuo attuale client openssh