root@abacus-desktop:~# apt-get install openssh-server Reading package lists... Done Building dependency tree Reading state information... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: openssh-server: Depends: openssh-client (= 1:5.3p1-3ubuntu7) but 1:5.3p1-3ubuntu3 is to be installed wireshark: Depends: libsmi2ldbl but it is not going to be installed wireshark-common: Depends: libsmi2ldbl but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I had a very similar problem with 13.04 (but it was instead complaining that the
openssh-client to be installed is NEWER than the one required).
Turns out that the software sources was configured to download from a servers local to the country where I'm residing (Kuwait).
I solved it by opening Ubuntu Software Center application, then going to the "Edit > Software Sources", then in the Ubuntu Software tab I change the Donwload from drop down list to "Main Server".
I then ran
sudo apt-get update followed by
sudo apt-get upgrade and finally
sudo apt-get install openssh-server and this time it installed without a hitch.
It seems your repository dependencies are broken. Try to clean your
/etc/apt/sources.list. Which is a text file that has all your repositories of packages. Probably you have edited it.
Then do an
apt-get update. You should tell us your Ubuntu version, and why seems you have another dependencies broken like Wireshark.