Armadilloフォーラム

# apt update && upgradeでエラー発生

okutaniko

2023年4月30日 15時10分

youtube でArmaddillo-IoT G4:debian(buster/stretch)のコンテナを作成する方法をビデオの手順で設定してますが、コンテナの中に入り下記入力しましたがエラーが出てしまいます。ネットワークは接続しております。原因と対処方法をお教えください。
# apt update && upgrade
Ign:1 http://security.debian.org/debian-security stretch/updates InRelease
Err:2 http://security.debian.org/debian-security stretch/updates Release
404 Not Found [IP: 151.101.2.132 80]
Ign:3 http://deb.debian.org/debian stretch InRelease
Ign:4 http://deb.debian.org/debian stretch-updates InRelease
Err:5 http://deb.debian.org/debian stretch Release
404 Not Found [IP: 151.101.90.132 80]
Err:6 http://deb.debian.org/debian stretch-updates Release
404 Not Found [IP: 151.101.90.132 80]
Reading package lists... Done
E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

コメント

at_dominique.m…

2023年5月1日 9時18分

okutanikoさん

マルティネです。

> Err:2 http://security.debian.org/debian-security stretch/updates Release
> 404 Not Found [IP: 151.101.2.132 80]

404 の HTTP エラーは「ファイルが存在しない」というエラーです。
先週から、debian のリポから stretch のリポが削除されました。(stretch は 2022年6月30日から debian のサポートが切れています)

/etc/apt/sources.list にリポの URL を以下の様に編集すれば再び使えるようになります:
* http://deb.debian.org/debian -> http://archive.debian.org/debian/
* http://security.debian.org/debian-security -> http://archive.debian.org/debian-security/

ただし、新しい製品/手順ではサポートされているバージョンに更新するのも考慮してください。
Armadillo IoT G4 の場合は特に VPU や NPU (ビデオ decoding / encoding, 学習能力などのハードウェアの部分)は https://armadillo.atmark-techno.com/resources/software/armadillo-iot-g4… の debian bullseye コンテナ以外では使えません。Armadillo IoT G4 の機能を古い debian バージョンでは使えませんのでご注意ください。

よろしくお願いします。