Debian のデフォルトリポジトリをソースに再度追加します。

Debian のデフォルトリポジトリをソースに再度追加します。

自宅で焼いたCDでDebianをインストールした友人がいます。ただし、新しいパッケージ(Audacity、Emacsなど)を試してみると、インストーラはapt-getそのパッケージを認識しません(「このソースでは使用できません」)。

彼は自分のソースから主要なDebianリポジトリを失ったようです。その中に/etc/apt/sources.list

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

# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.

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

これにはデフォルトのDebianリポジトリが含まれていますか?それとも、単に「更新」ですか?たとえば、 audactiy-data というパッケージは表示されますが、audacity自体は表示されません。

それでは、デフォルトのリポジトリをどのように再追加しますか?住所は何ですか?

ベストアンサー1

私はこの問題に直面して「書き留めました」

# tested works
# jessie updates
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://mirror.cogentco.com/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
# source list
deb-src http://ftp.us.debian.org/debian jessie main contrib non-free
deb-src http://security.debian.org/jessie/updates main contrib non-free

おすすめ記事