VNC 서버를 설치하려고 하는데 putty
설치가 되지 않습니다.
설치하려면 다음 명령을 실행했습니다.
sudo apt-get install gnome-core
sudo apt-get install vnc4server
vncserver
다음과 같은 오류가 발생합니다. 원인은 무엇입니까?
msfl@chanakyauat:~$ sudo apt-get install vnc4server
[sudo] password for msfl:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libfontenc1 libfs6 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libllvm3.0 libutempter0 libx11-xcb1 libxaw7 libxcb-glx0 libxcb-shape0 libxfont1 libxkbfile1 libxmu6 libxtst6
libxv1 libxxf86dga1 libxxf86vm1 x11-apps x11-session-utils x11-utils x11-xfs-utils x11-xkb-utils x11-xserver-utils xbase-clients xbitmaps xfonts-base xfonts-encodings
xfonts-utils xinit xterm
Suggested packages:
libglide3 vnc-java mesa-utils nickle cairo-5c xorg-docs-core xfs xserver xfonts-cyrillic
The following NEW packages will be installed:
libfontenc1 libfs6 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libllvm3.0 libutempter0 libx11-xcb1 libxaw7 libxcb-glx0 libxcb-shape0 libxfont1 libxkbfile1 libxmu6 libxtst6
libxv1 libxxf86dga1 libxxf86vm1 vnc4server x11-apps x11-session-utils x11-utils x11-xfs-utils x11-xkb-utils x11-xserver-utils xbase-clients xbitmaps xfonts-base
xfonts-encodings xfonts-utils xinit xterm
0 upgraded, 32 newly installed, 0 to remove and 83 not upgraded.
Need to get 22.3 MB of archives.
After this operation, 62.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
libglapi-mesa libx11-xcb1 libxcb-glx0 libxxf86vm1 libgl1-mesa-glx libllvm3.0 libxmu6 libxaw7 libxcb-shape0 libxkbfile1 libxtst6 libxv1 libfontenc1 libfs6 libgl1-mesa-dri
libutempter0 libxfont1 libxxf86dga1 x11-apps x11-session-utils x11-utils x11-xfs-utils x11-xkb-utils x11-xserver-utils xinit xbase-clients vnc4server xbitmaps
xfonts-encodings xfonts-utils xfonts-base xterm
Install these packages without verification [y/N]? Y
Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libglapi-mesa amd64 8.0.4-0ubuntu0.7
Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libx/libxxf86vm/libxxf86vm1_1.1.1-2ubuntu0.1_amd64.deb Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-glx_8.0.4-0ubuntu0.7_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/l/llvm-3.0/libllvm3.0_3.0-4ubuntu1_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libx/libxmu/libxmu6_1.1.0-3_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libx/libxaw/libxaw7_1.0.9-3ubuntu1_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-shape0_1.8.1-1ubuntu0.2_amd64.deb Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libx/libxkbfile/libxkbfile1_1.0.7-1ubuntu0.1_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libx/libxtst/libxtst6_1.2.0-4ubuntu0.1_amd64.deb Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libx/libxv/libxv1_1.0.6-2ubuntu0.1_amd64.deb Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libf/libfontenc/libfontenc1_1.1.0-1_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libf/libfs/libfs6_1.0.3-1ubuntu0.1_amd64.deb Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dri_8.0.4-0ubuntu0.7_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libu/libutempter/libutempter0_1.1.5-4_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libx/libxfont/libxfont1_1.4.4-1ubuntu0.2_amd64.deb Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libx/libxxf86dga/libxxf86dga1_1.1.2-1ubuntu0.1_amd64.deb Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/x11-apps/x11-apps_7.6+5ubuntu1_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/x11-session-utils/x11-session-utils_7.6+2_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/x11-utils/x11-utils_7.6+4ubuntu0.1_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/x11-xfs-utils/x11-xfs-utils_7.6+1_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/x11-xkb-utils/x11-xkb-utils_7.6+4_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/x11-xserver-utils/x11-xserver-utils_7.6+3_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/xinit/xinit_1.3.1-1_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/xorg/xbase-clients_7.6+12ubuntu2_all.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/v/vnc4/vnc4server_4.1.1+xorg4.3.0-37ubuntu4_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/xbitmaps/xbitmaps_1.1.1-1_all.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/xfonts-encodings/xfonts-encodings_1.0.4-1ubuntu1_all.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/xfonts-utils/xfonts-utils_7.6+1_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/xfonts-base/xfonts-base_1.0.3_all.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/xterm/xterm_271-1ubuntu2.1_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
msfl@chanakyauat:~$ vncserver
No command 'vncserver' found, did you mean:
Command 'vnc4server' from package 'vnc4server' (universe)
vncserver: command not found
msfl@chanakyauat:~$
msfl@chanakyauat:~$ vnc4server
The program 'vnc4server' is currently not installed. You can install it by typing:
sudo apt-get install vnc4server
답변1
귀하의 시스템은 다음을 보고합니다:
Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
다음은 Failed to fetch
해당 호스트 이름과 security.ubuntu.com
.
호스트 이름은 us.archive.ubuntu.com
IPv4 및 IPv6 주소로 확인됩니다(기술적으로 A
는 AAAA
DNS RR).
URL 자체는 정상적으로 보이기 때문에 추가된 콘텐츠는 연결을 시도하는 호스트 이름의 실제 부분이 아니라 실패 시 :http
호스트 이름이 표시되는 방식에 대한 인공물 이라고 생각하는 경향이 있습니다.apt-get
그러므로 나는 당신의 문제가 다음과 같다고 믿고 싶습니다.VNC 이외. 구체적으로 나는 믿는다.문제는 일반적으로 DNS 확인과 관련이 있습니다.
이름 확인 문제 해결설정하고 apt-get
작업도 시작해야 합니다. 이를 통해 시스템에 절실히 필요한 보안 업데이트는 물론 VNC를 설치할 수 있습니다.
답변2
그러나 syslog 출력의 마지막 줄에서 보고자는 "vncserver"를 찾을 수 없으며 vnc4server 사용을 제안합니다.
당신은 시도:
msfl@chanakyauat:~$ vnc4server