Armadilloフォーラム

Armadillo上でapt-get updateが失敗する

murakami-o

2018年8月24日 11時19分

Armadilloを扱うのが初めてのソフトウェア技術者の村上です。

Armadillo上でapt-get updateを行うと下記のようにエラーになります。
同じルータにつながっているATDEでは正常に完了しています。

エラー要因を教えてください。

root@armadillo:/home/atmark# apt-get update
Ign:1 http://ftp.jp.debian.org/debian stretch InRelease
Err:2 http://ftp.jp.debian.org/debian stretch Release
Cannot initiate the connection to ftp.jp.debian.org:80 (133.87.45.30). - connect (101: Network is unreachable)
Ign:3 http://download.atmark-techno.com/debian stretch InRelease
Err:4 http://download.atmark-techno.com/debian stretch Release
Cannot initiate the connection to download.atmark-techno.com:80 (121.101.71.135). - connect (101: Network is unreachable)
Ign:5 http://security.debian.org stretch/updates InRelease
Err:6 http://security.debian.org stretch/updates Release
Cannot initiate the connection to security.debian.org:80 (133.242.99.74). - connect (101: Network is unreachable)
Reading package lists... Done
E: The repository 'http://ftp.jp.debian.org/debian stretch Release' does no longer 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://download.atmark-techno.com/debian stretch Release' does no longer 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://security.debian.org stretch/updates Release' does no longer 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_syunya.ohshio

2018年8月24日 14時38分

大塩です。

> Err:2 http://ftp.jp.debian.org/debian stretch Release
> Cannot initiate the connection to ftp.jp.debian.org:80 (133.87.45.30). - connect (101: Network is unreachable)

> Err:4 http://download.atmark-techno.com/debian stretch Release
> Cannot initiate the connection to download.atmark-techno.com:80 (121.101.71.135). - connect (101: Network is unreachable)

> Err:6 http://security.debian.org stretch/updates Release
> Cannot initiate the connection to security.debian.org:80 (133.242.99.74). - connect (101: Network is unreachable)

上記のエラー詳細から、Armadilloが外部ネットワークに接続できていないことが原因のようです。
Armadilloがネットワークに正しく接続されているか、ルータ側の設定等を確認してみてください。

murakami-o

2018年8月24日 19時58分

> 大塩です。
>
>
> 上記のエラー詳細から、Armadilloが外部ネットワークに接続できていないことが原因のようです。
> Armadilloがネットワークに正しく接続されているか、ルータ側の設定等を確認してみてください。

大塩様

同じルータに接続していますATDE上では下記のように正常終了しています。
従いましてルータ側は問題ないかと思われます。

root@atde7:/home/atmark# apt-get update
ヒット:1 http://security.debian.org/debian-security stretch/updates InRelease
無視:2 http://download.atmark-techno.com/debian stretch InRelease
ヒット:3 http://download.atmark-techno.com/debian stretch Release
無視:4 http://ftp.jp.debian.org/debian stretch InRelease
ヒット:5 http://ftp.jp.debian.org/debian stretch-updates InRelease
ヒット:6 http://ftp.jp.debian.org/debian stretch Release
パッケージリストを読み込んでいます... 完了
root@atde7:/home/atmark#

Armadillo、ATDEともDHCP設定にしています。
Armadilloのネットワーク設定等で注意点はありますでしょうか?

murakami-o

2018年8月27日 9時45分

>
> 大塩様
>
> 同じルータに接続していますATDE上では下記のように正常終了しています。
> 従いましてルータ側は問題ないかと思われます。
>
> root@atde7:/home/atmark# apt-get update
> ヒット:1 http://security.debian.org/debian-security stretch/updates InRelease
> 無視:2 http://download.atmark-techno.com/debian stretch InRelease
> ヒット:3 http://download.atmark-techno.com/debian stretch Release
> 無視:4 http://ftp.jp.debian.org/debian stretch InRelease
> ヒット:5 http://ftp.jp.debian.org/debian stretch-updates InRelease
> ヒット:6 http://ftp.jp.debian.org/debian stretch Release
> パッケージリストを読み込んでいます... 完了
> root@atde7:/home/atmark#
>
> Armadillo、ATDEともDHCP設定にしています。
> Armadilloのネットワーク設定等で注意点はありますでしょうか?
>

大塩様

Default GWを設定することで、apt-get update完了できました。

Closeいたします。ありがとうございました。

oshiro

2021年1月31日 18時43分

私も同じ現象に遭遇しましたが、ゲートウェイ追加でなおらず、別の方法で解決しましたので投稿いたします。
有線LANと無線LANを接続し、有線LAN側にインターネット環境がない場合に、失敗しました。
有線LANを物理的にコネクタから抜き、無線LANのみで apt update すると通りました。