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 am unable to install openssh-server on an Ubuntu 13.10 virtual machine. Here is the command I used and it's output:

sudo apt-get install openssh-server
[sudo] password for mohamed:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'openssh-server' has no installation candidate
share|improve this question
up vote 1 down vote accepted

In software sources settings enable (if not enabled) main, multiverse and universe sources, then run sudo apt-get update, and try it again.

share|improve this answer
Thank you, before posting my question I have enabled the multiverse sources, but I didn't know I have to apt-get update afterwards. – Mohamed Ahmed Jun 18 '14 at 16:42

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.