I'm having hard time updating openssh-server in ubuntu 12.04, I stupidly downloaded .deb file for 14.04 and of course it didn't work :/
I've tried sudo apt-get -f install, it just removed my openssh
Here's the output installing openssh 6.6
vagrant@precise64:~$ sudo dpkg -i openssh-server_6.6p1-2ubuntu1_amd64.deb Selecting previously unselected package openssh-server. (Reading database ... 84054 files and directories currently installed.) Unpacking openssh-server (from openssh-server_6.6p1-2ubuntu1_amd64.deb) ... dpkg: dependency problems prevent configuration of openssh-server: openssh-server depends on libc6 (>= 2.17); however: Version of libc6 on system is 2.15-0ubuntu10.5. openssh-server depends on libck-connector0 (>= 0.2.1); however: Package libck-connector0 is not installed. openssh-server depends on init-system-helpers (>= 1.13~); however: Package init-system-helpers is not installed. openssh-server depends on openssh-client (= 1:6.6p1-2ubuntu1); however: Version of openssh-client on system is 1:5.9p1-5ubuntu1.3. openssh-server depends on sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16); however: Version of sysv-rc on system is 2.88dsf-13.10ubuntu11.1. Package file-rc is not installed. openssh-server depends on lsb-base (>= 4.1+Debian3); however: Version of lsb-base on system is 4.0-0ubuntu20.3. openssh-server depends on openssh-sftp-server; however: Package openssh-sftp-server is not installed. dpkg: error processing openssh-server (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ...