2016-07-22 4 views
0

Debian 8.5.0のインストール時にネットワークミラーを選択するのを忘れた。 apt-getを使って新しいソフトウェアをインストールしようとしても、インストールされていません。 例:apt-get install vimDebian 8.5.0 - ネットワークミラーを/etc/apt/sources.listファイルに追加する方法

E:パッケージ 'vim'にはインストール候補がありません。

私の/etc/apt/sources.listファイルは以下の通りです:

deb http://httpredir.debian.org/debian jessie main 
deb-src http://httpredir.debian.org/debian jessie main 

deb http://httpredir.debian.org/debian jessie-updates main 
deb-src http://httpredir.debian.org/debian jessie-updates main 

deb http://security.debian.org/ jessie/updates main contrib 
deb-src http://security.debian.org/ jessie/updates main contrib 

deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free 
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free 

私は最初の4行私の自己を追加し、米国からフェッチする最後の二つを修正しました鏡。どこが間違っているのか分かりません。

ありがとう、

答えて

2

「apt-get update」を実行しましたか?

+0

ありがとう、それはトリックをしました:) –

関連する問題