Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed an ubuntu on a virtual machine 6 months ago. I never needed a ssh connection until now. But when I try to install sshd, I get this error:

root@onur-vmdesktop:/home/onur# apt-get install openssh-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  openssh-server: Depends: openssh-client (= 1:5.3p1-3ubuntu3) but 1:5.3p1-3ubuntu5 is to be installed
E: Broken packages

What can I do?

share|improve this question

migrated from Jan 15 '12 at 18:42

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

I would suggest

 aptitude update
 aptitude upgrade
 aptitude install openssh-server

and you can replace aptitude with apt-get systematically.

But I would believe that is a better place to ask.

share|improve this answer
It worked. Thanks. – Onur Celebi Jan 14 '12 at 14:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.