Openssh server is not available
Peter Garrett
peter.garrett at optusnet.com.au
Mon Mar 24 07:04:30 UTC 2008
On Mon, 24 Mar 2008 00:41:26 -0500
John Doe <hommeentete at gmail.com> wrote:
> Hello - when I try to sudo apt-get install openssh-server I get -
> "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." What should I do? Thanks.
This could be because of incorrectly configured package sources
( /etc/apt/sources.list). You can try the following:
1) Check that you have updated your sources data base ( reload in Synaptic,
or on the command line " sudo apt-get update " )
2) Look at System - Administration -Software Sources ( or "Properties"
depending on your Ubuntu version). Check which repositories are enabled.
You probably will want to enable most of them. Also make sure that
"updates" and "security" are enabled. You don't want "-proposed"
or " -backports" unless you have a special reason for needing them.
openssh-server is in the "main" repository, and it would be highly
unusual for your system not to have at least that repository in the
list :)
3) Try installing "ssh" - ssh depends on both the server and client for
ssh, so it should pull in the server. (The client is already installed by
default, of course).
4) If you are comfortable doing so, you can edit /etc/apt/sources.list
directly. For example:
gksudo gedit /etc/apt/sources.list ( or )
For KDE/ Kubuntu:
kdesu kate /etc/apt/sources.list
Or of course "sudo your_preferred_editor /etc/apt/sources.list" on the
command line ( nano, vi, emacs etc. etc. )
After editing, run " sudo apt-get update" - the GUI method above in
(2) does this automatically, if I remember correctly, by warning you that
your data needs updating and doing so on click...
Peter
--
"INX Is Not X" Live CD based on Ubuntu 7.04 : http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080324/bd7ab519/attachment.sig>
More information about the ubuntu-users
mailing list