2017. 2. 13. 13:46


'sudo apt-get install openssh-server' reports 'E: Package openssh-server has no installation candidate'
오류 발생시 해결 방법




SSH Server 패키지를 설치하기 위해서
$ sudo apt-get install openssh-server


위와 같이 실행을 했더니... 아래와 비슷한 오류가 발생했다.
(한글이 깨지고 있다면 메시지 일부가 안보여서 약간 다를 수 있겠지만 유사할 듯..) 


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




문제의 원인은 미러 사이트에서 패키지를 다운받아 오지 못한다는거~

아래 링크를 참고하여

>>> [우분투] 설치 후에 가장 먼저 해야 할 일 <<<


 

/etc/apt/sources.list 의 미러 사이트를 변경한 후에

$ sudo apt-get update
패키지 업데이트 하고

$ sudo apt-get install openssh-server

ssh-server 설치를 하면 된다.

끝.

Posted by citrine