GNU/Linux >> Linux の 問題 >  >> Debian

cdromブロックデバイスをDebianaptソースリストに追加します

公式のDebianCDディスクを/etc/apt/sources.listに追加するための簡単なヒントを次に示します。 パッケージのダウンロード要件を減らすためのファイル。 CDがCD-ROMドライブに挿入されていることを確認し、コマンドを入力します。

# apt-cdrom add



たとえば、Wheezy画像を追加する場合は、次の出力が生成されます。

Using CD-ROM mount point /media/cdrom/
Identifying.. [6736485c3d92e1c9e5a024828c9283a2-2]
Scanning disc for index files..
Found 1 package indexes, 0 source indexes, 1 translation indexes and 0 signatures
This disc is called: 
'Debian GNU/Linux 7.5.0 _Wheezy_ - Official amd64 CD Binary-1 20140426-13:37'
Reading Package Indexes... Done
Reading Translation Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[Debian GNU/Linux 7.5.0 _Wheezy_ - Official amd64 CD Binary-1 20140426-13:37]/ wheezy main

これにより、次が追加されます:

deb cdrom:[Debian GNU/Linux 7.5.0 _Wheezy_ - Official amd64 CD Binary-1 20140426-13:37]/ wheezy main

/etc/apt/sources.listに入力します ファイル。


Debian
  1. Debian apt-get wheezysources.list

  2. Debian – Aptプリファレンスで非フリーをブロックする方法は?

  3. Debian – Sources.listのDebとDeb-srcの違いは?

  1. Debianapt-getstretchsources.list

  2. Sources.list(/etc/apt/sources.list)にDebian11公式リポジトリを設定する

  3. Sources.list(/etc/apt/sources.list)でDebian10公式リポジトリを設定します

  1. Debian apt-get squeezesources.list

  2. Debian apt-get jessiesources.list

  3. UbuntuとDebianでAptリポジトリを追加する方法