openssh-server : Depends: libwrap0 but it is not installable

apt-get install openssh-server 오류
openssh-server : Depends: libwrap0(>= 7.6-4~) but it is not installable

1 문제 상황[ | ]

root@ubuntu:~# apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be install. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openssh-server : Depends: libwrap0(>= 7.6-4~) but it is not installable
                      Recommends: ssh-import-id but it is not installable
E: Unable to correct problems, you have held broken packages.

2 apt-get update 시도[ | ]

root@ubuntu:~# apt-get update
... (생략)
W: Failed to fetch bzip2: /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_binary-i386_Packages  Hash Sum mismatch
 
E: Some index files failed to download. They have been ignored, or old ones used instead.
→ update 정상 수행 안됨

3 libwrap0 설치 시도[ | ]

root@ubuntu:~# apt-get install libwrap0
... (생략)
Package libwrap0 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 libwrap0 has no installation candidate
→ 저장소에서 libwarp0을 찾지 못함

4 저장소 변경[ | ]

5 apt-get update[ | ]

root@ubuntu:~# apt-get update
Get:79 http://ftp.daum.net precise-backports/restricted Translation-en [14 B]
Get:80 http://ftp.daum.net precise-backports/universe Translation-en [34.2 kB]
Fetched 28.0 MB in 23s (1,207 kB/s)
Reading package lists... Done
→ 저장소를 변경하니 잘 된다.

6 openssh-server 설치[ | ]

root@ubuntu:~# apt-get install openssh-server
... (생략)
The following NEW packages will be installed:
  libwarp0 openssh-server ssh-import-id tcpd
0 upgraded, 4 newly installed, 0 to remove and 37 not upgraded.
Need to get 425 kB of archives.
After this operation, 1,167 kB of additional disk space will be used.
Do you want to continue [Y/n]?
... (생략)
Setting up ssh-import-id (2.10-0ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
→ 정상 설치 완료

7 확인[ | ]

root@ubuntu:~# service ssh status
ssh start/running, process 1975
root@ubuntu:~# netstat -ntlp | grep sshd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1975/sshd       
tcp6       0      0 :::22                   :::*                    LISTEN      1975/sshd
→ sshd 정상 실행중

8 같이 보기[ | ]

9 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}