'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 설치를 하면 된다.
끝.
'[IT] 리눅스' 카테고리의 다른 글
[Ubuntu] How to enable or disable services (0) | 2017.02.13 |
---|---|
[Ubuntu] VMware Easy Install 문제 해결방법 (0) | 2017.02.13 |
[Ubuntu] - root 로그인 가능하게 하기. (0) | 2017.02.13 |
[LINUX] 프락시(Proxy) 서버 설정 (0) | 2017.01.07 |
[LINUX] Crontab을 통한 메일 발송 (0) | 2016.10.26 |