web-dev-qa-db-ja.com

Apt-get update error Linux Mint 17

OSをLinuxMint 17に変更したばかりですが、実行しようとすると問題が発生します

 Sudo apt-get update

[編集]次のエラーが発生しました:

Err http://extra.linuxmint.com qiana InRelease

Err http://extra.linuxmint.com qiana Release.gpg
Unable to resolve 'extra.linuxmint.com' 

Err http://archive.canonical.com trusty InRelease                              
Err http://archive.canonical.com trusty Release.gpg                            
Unable to resolve 'archive.canonical.com'

W: Failed to fetch http://packages.linuxmint.com/dists/qiana/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg Unable to resolve 'archive.canonical.com'

W: Failed to fetch http://packages.linuxmint.com/dists/qiana/Release.gpg Unable to resolve 'packages.linuxmint.com'

W: Failed to download some index files. Been ignored, or old ones used instead.

/etc/apt/source.list.d/の下のファイルにあります:official-package-repositories.list:#このファイルを手動で編集せず、代わりにソフトウェアソースを使用してください。

deb http://packages.linuxmint.com qiana main upstream import  #id:linuxmint_main
deb http://extra.linuxmint.com qiana main #id:linuxmint_extra

deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner

getdeb.list:

#deb  http://archive.getdeb.net/ubunt  trusty-getdebアプリ 
1
user2726706

答えはエラーメッセージにありますが、おそらくあいまいです。リストされているさまざまなURLを解決できません。おそらく、インターネットにまったく接続していないためです。 pingから始めて、これが当てはまるかどうかを確認します。

kernel.orgまたは8.8.8.8などの他のよく知られたホストにpingを実行します

Pingが受信されない場合は、dhclient eth0を試して(eth0に接続していると想定)、新しいIPアドレスを取得します。

Pingを受信した場合は、URLにpingを実行して、何が問題なのかを確認してください。 Wgetも優れたツールですが、pingの方が簡単です。

1
John P. Fisher