![Debian apt-get のアップデートに「期待どおりのエントリが見つかりません」と表示されます。](https://linux33.com/image/151884/Debian%20apt-get%20%E3%81%AE%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88%E3%81%AB%E3%80%8C%E6%9C%9F%E5%BE%85%E3%81%A9%E3%81%8A%E3%82%8A%E3%81%AE%E3%82%A8%E3%83%B3%E3%83%88%E3%83%AA%E3%81%8C%E8%A6%8B%E3%81%A4%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%80%8D%E3%81%A8%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%80%82.png)
私の32ビットdebian(バージョン:Debian GNU / Linux 8)インストールが実行されますapt-get update
。
W: Failed to fetch http://ftp.nl.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
興味深いのは、追加のソースを追加していないことです。これは私の/etc/apt/sources.listファイルです。これがデフォルトです。
#
# deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official i386 NETINST Binary-1 20170116-10:07]/ jessie main
#deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official i386 NETINST Binary-1 20170116-10:07]/ jessie main
deb http://ftp.nl.debian.org/debian/ jessie main
deb-src http://ftp.nl.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
# jessie-updates, previously known as 'volatile'
deb http://ftp.nl.debian.org/debian/ jessie-updates main
今、私はこの問題をどのように解決するのかわかりません。ファイルがどのように破損している可能性がありますか?戻ってもらえますか?この問題を解決するにはどうすればよいですか?
答え1
jessie-updates
source.list から削除する必要があります。
Debian 8 "Jessie" の場合、2018 年 5 月 17 日以降、スイートはアップデートを受け取らなくなったため、jessie-updates はもう存在しません。
次回実行すると、
apt-get update
システムは(以前の)安定更新セクションのパッケージについて知り、アップグレードするパッケージを見つけるときに考慮します。