尝试openssh-server
在64位Ubuntu 14.04 上安装时,出现以下错误:
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
尝试安装任何软件包时,我看到相同的错误。
这是sources.list
文件:
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner
apt-cache policy
。
apt-get update
吗?另外,您是否检查sources.list
了相关条目?