Armadilloフォーラム

Armadillo-640のDebian Linux 10 (buster)のaptコマンドエラー

tecs.heta

2025年7月18日 12時49分

==========
製品型番:A6400-D00Z
Debianバージョン:linux10(buster)
カーネルバージョン:4.14-at66
==========

Armadillo-640に、Debian Linux 10 (buster)、install-disk-sd-buster-a600-20250225.imgをインストールしました。
sshサーバをインストールするため、apt-getコマンドを実行したのですが、下記のようにエラーなります。
aptのsources.listの修正が必要と思いますが、ご教授いただきたく、よろしくお願いします。

adillo:~$ sudo apt-get update
Ign:1 http://download.atmark-techno.com/debian buster InRelease
Ign:2 http://security.debian.org buster/updates InRelease
Ign:3 http://download.atmark-techno.com/debian buster-backports InRelease
Err:4 http://security.debian.org buster/updates Release
404 Not Found [IP: 199.232.150.132 80]
Hit:5 http://download.atmark-techno.com/debian buster Release
Hit:6 http://archive.debian.org/debian buster InRelease
Hit:7 http://download.atmark-techno.com/debian buster-backports Release
Reading package lists... Done
E: The repository 'http://security.debian.org buster/updates Release' no longer has 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.

sudo apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libgpm2 libncurses6 libncursesw6 libprocps7 libtinfo6 libwrap0 ncurses-term
openssh-sftp-server procps
Suggested packages:
gpm molly-guard monkeysphere rssh ssh-askpass ufw
The following NEW packages will be installed:
libgpm2 libncurses6 libprocps7 libwrap0 ncurses-term openssh-server
openssh-sftp-server procps
The following packages will be upgraded:
libncursesw6 libtinfo6
2 upgraded, 8 newly installed, 0 to remove and 20 not upgraded.
Need to get 491 kB/1744 kB of archives.
After this operation, 6632 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Err:1 http://security.debian.org buster/updates/main armhf ncurses-term all 6.1+20181013-2+deb10u5
404 Not Found [IP: 151.101.110.132 80]
E: Failed to fetch http://security.debian.org/pool/updates/main/n/ncurses/ncurses-term_6.1… 404 Not Found [IP: 151.101.110.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

以上、よろしくお願いします。

コメント

at_dominique.m…

2025年7月18日 15時26分

マルティネです。

> Err:4 http://security.debian.org buster/updates Release
> 404 Not Found [IP: 199.232.150.132 80]

土曜日から削除されましたね。

/etc/apt/sources.list ファイルを編集して、security.debian.org を archive.debian.org/debian-security に置き換えてから apt update を実行してみてください。

ついでに freexian のリポも追加するといくつかのセキュリティアップデートが入ってますので、最終的に以下の内容になるかと思います:

deb http://archive.debian.org/debian/ buster main non-free contrib
deb-src http://archive.debian.org/debian/ buster main non-free contrib
 
deb http://archive.debian.org/debian-security/ buster/updates main non-free contrib
deb-src http://archive.debian.org/debian-security/ buster/updates main non-free contrib
 
deb http://download.atmark-techno.com/debian/ buster main contrib non-free
deb-src http://download.atmark-techno.com/debian/ buster main contrib non-free
 
deb http://download.atmark-techno.com/debian/ buster-backports main contrib non-free
deb-src http://download.atmark-techno.com/debian/ buster-backports main contrib non-free
 
deb http://deb.freexian.com/extended-lts buster-lts main contrib non-free
deb-src http://deb.freexian.com/extended-lts buster-lts main contrib non-free

よろしくお願いします

へたです。
回答、有り難うございました。
早速、実施してみましたのですが、apt updateで下記のエラーがでました。

Err:7 http://deb.freexian.com/extended-lts buster-lts InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A07310D369055D5A
Reading package lists... Done
W: GPG error: http://deb.freexian.com/extended-lts buster-lts InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A07310D369055D5A
E: The repository 'http://deb.freexian.com/extended-lts buster-lts InRelease' is not signed.
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.

apt updateの後に、
apt install openssh-serverを実行してみましたら、インストールできました。

以上、よろしくお願いします。

> マルティネです。
>
> > Err:4 http://security.debian.org buster/updates Release
> > 404 Not Found [IP: 199.232.150.132 80]
>
> 土曜日から削除されましたね。
>
> /etc/apt/sources.list ファイルを編集して、security.debian.org を archive.debian.org/debian-security に置き換えてから apt update を実行してみてください。
>
> ついでに freexian のリポも追加するといくつかのセキュリティアップデートが入ってますので、最終的に以下の内容になるかと思います:
>

> deb http://archive.debian.org/debian/ buster main non-free contrib
> deb-src http://archive.debian.org/debian/ buster main non-free contrib
> 
> deb http://archive.debian.org/debian-security/ buster/updates main non-free contrib
> deb-src http://archive.debian.org/debian-security/ buster/updates main non-free contrib
> 
> deb http://download.atmark-techno.com/debian/ buster main contrib non-free
> deb-src http://download.atmark-techno.com/debian/ buster main contrib non-free
> 
> deb http://download.atmark-techno.com/debian/ buster-backports main contrib non-free
> deb-src http://download.atmark-techno.com/debian/ buster-backports main contrib non-free
> 
> deb http://deb.freexian.com/extended-lts buster-lts main contrib non-free
> deb-src http://deb.freexian.com/extended-lts buster-lts main contrib non-free
> 

>
> よろしくお願いします

at_dominique.m…

2025年7月18日 17時07分

へたさん

> 早速、実施してみましたのですが、apt updateで下記のエラーがでました。
>
> Err:7 http://deb.freexian.com/extended-lts buster-lts InRelease
> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A07310D369055D5A

案内不足ですみません、sources.list の行の追加だけではなく freexian の証明書もインストールする必要がありますね。
https://www.freexian.com/lts/extended/docs/how-to-use-extended-lts/ からコピーしたコマンドですが、以下のコマンドの後に apt update できるようになると思います

# wget https://deb.freexian.com/extended-lts/archive-key.gpg -O elts-archive-key.gpg
# sha256sum elts-archive-key.gpg
a0b22152fdf1942f49cc1559ec4598bae8d8954da9ed38662d15b97a60909db8  elts-archive-key.gpg
# mv elts-archive-key.gpg /etc/apt/trusted.gpg.d/freexian-archive-extended-lts.gpg

よろしくお願いします