Debian buster リポジトリからのパッケージのインストールに関する問題

Debian buster リポジトリからのパッケージのインストールに関する問題

解決しました! 解決方法については下のコメントを参照してください。

Debian buster に i3 をインストールしようとしていますが、パッケージが見つかりません。このパッケージをインストールするために何が足りないのかわかりません。

発生したエラーは次のとおりです:

> apt install i3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package i3
> apt install i3-wm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package i3-wm

/etc/apt/sources.listこれは私のファイルです

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free

パッケージをインストールする前に、apt updateと を実行してみましたが、同じエラーが発生しました。apt-get update

Debian リポジトリは次のとおりです:https://packages.debian.org/sid/i3

そしてトラッカー:https://tracker.debian.org/pkg/i3-wm

役に立つかもしれないので、インストールしてみました熱意しかし、同じエラーが発生します。

これらのパッケージをインストールするための設定などが不足しているのでしょうか?

答え1

以下の行が/etc/apt/sources.list欠落しています:

deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main 

そしてapt-get updateapt-get upgradeそしてapt install i3

答え2

現在、LTS とアップデート リポジトリのみがあります。これらにはアップデートのみが含まれており、すべてのパッケージが含まれているわけではありません。ベース Debian リポジトリがありません。

deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

関連情報