debian 8 CDROM インストール後のパッケージソースの変更

debian 8 CDROM インストール後のパッケージソースの変更

最初のホームファイルサーバーを設定します。 Debian 8 を新規インストールします。

nmapをインストールしようとすると、[同期エントリをテストするためにncatが欲しい] aptが私にCDを挿入するように頼みます。今後は箱から離れることもあり、ヘッドレス状態を維持し、このようなものを要求しないようにしたいと思います。再び。

After this operation, 21.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Media change: please insert the disc labeled
 'Debian GNU/Linux 8.4.0 _Jessie_ - Official i386 CD Binary-1 20160402-13:26'
in the drive '/media/cdrom/' and press enter

この設定をどこで変更する必要がありますか?

ベストアンサー1

ソースリストの編集

sudo nano /etc/apt/sources.list

次に始まる行をコメントアウトします。

deb cdrom

おすすめ記事