Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

migrated from stackoverflow.com Jan 15 '12 at 18:42

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

1 Answer

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 http://askubuntu.com/ is a better place to ask.

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

Your Answer

 
discard

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