Ubuntu 12.04.5 LSTにVNCがインストールされていません。

Ubuntu 12.04.5 LSTにVNCがインストールされていません。

VNCサーバーをインストールしようとしていますが、インストールputtyされません。

インストールするには、次のコマンドを実行しました。

  1. sudo apt-get install gnome-core
  2. sudo apt-get install vnc4server
  3. 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.comIPv4およびIPv6アドレスで解決されます(技術的にはADNS AAAARR)。

URL自体は正常に見えるため、追加されたコンテンツは接続しようとするホスト名の実際の部分ではなく、失敗した場合の:httpホスト名の表示方法に対するアーティファクトだと思う傾向があります。apt-get

したがって、私はあなたの問題が次のようになると信じたいと思います。VNC以外。具体的には信じています。問題は通常DNS解決に関連しています。

名前解決のトラブルシューティング設定してapt-get作業も開始する必要があります。これにより、システムに必要なセキュリティ更新プログラムだけでなく、VNCをインストールできます。

おすすめ記事