/etc/apt/sources.listにapt-get 'deb'があるかどうかわかりません。

/etc/apt/sources.listにapt-get 'deb'があるかどうかわかりません。

apt-get updateを実行しようとすると、次のエラーが発生します。

/etc/apt/sources.listに未知の「deb」

マイソースリスト

deb http://deb.debian.org/debian/ stable main contrib
deb-src http://deb.debian.org/debian/ stable main contrib

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

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

deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main

さまざまなフォーラムを見てきましたが、解決策が見つかりませんでした。これはタイプミスではありません。

出力

hex -C /etc/apt/sources.list

疑わしいことは何も示していません。 aptの一部の設定がありませんか?

私は小さなCore Linux 8.0を使用し、rpmを介してaptをインストールしました。

ベストアンサー1

dCoreを使用しているので、apt直接インストールするのではなく、SCEツールを使用してソフトウェアをインストールする必要があります。 SCEツールは、適切なDebianバージョンでパッケージを検索し、それをdCoreで使用されるパッケージ形式に変換する方法を知っています。

おすすめ記事