Problema de instalação do cliente openssh e servidor openssh e alguns pacotes durante a atualização do sistema [duplicado]

0

Estou tentando instalar o cliente OpenSSH no meu sistema Ubuntu, pois ainda recebo a seguinte mensagem de erro:

Reading package lists ... Done
Building the dependency tree
Reading status information ... Done
Openssh-client package 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: 'openssh-client' package has no installation candidate

Eu verifiquei vários fóruns e achei que era um problema atualizar meu sistema. Então eu tentei atualizar e recebi esta mensagem que alguns pacotes não podem ser instalados. Eu não sei o que fazer. Aqui está a resposta:

Err http://sunsite.rediris.es xenial Release.gpg
  Can not resolve "sunsite.rediris.es"
Err http://sunsite.rediris.es xenial-updates Release.gpg
  Can not resolve "sunsite.rediris.es"
Err http://sunsite.rediris.es xenial-backports Release.gpg
  Can not resolve "sunsite.rediris.es"
Err http://sunsite.rediris.es xenial-security Release.gpg
  Can not resolve "sunsite.rediris.es"
W: Can not retrieve http://sunsite.rediris.es/mirror/ubuntu-archive/dists/xenial/InRelease
W: The download of some index files failed, they were skipped, or the old ones were used instead.
    
por Razlibellule 25.03.2018 / 19:23

1 resposta

2

Você precisa de um espelho diferente. Este espelho não existe mais. Escolha um novo espelho - não entrarei em detalhes sobre isso aqui, que está fora do escopo desta questão. Dê uma olhada em Como posso conseguir usar um espelho próximo a mim ou escolher um espelho mais rápido? .

Selecione seu espelho e abra um Terminal. Executar:

sudo apt-get update

E então você pode instalar openssh-client .

sudo apt-get install openssh-client
    
por ubashu 26.03.2018 / 01:39