質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

Q&A

解決済

1回答

2427閲覧

sudo apt update ができない

takechikenkyu

総合スコア10

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

0グッド

0クリップ

投稿2022/07/15 06:44

前提

ubuntu18.04の環境で、
”sudo apt update” を実行したところ、以下のようなエラーが発生しました。

解決方法をどなたか教えていただけないでしょうか。
よろしくお願いします。

発生している問題・エラーメッセージ

Hit:1 http://repos.rcn-ee.com/ubuntu bionic InRelease Hit:2 http://ports.ubuntu.com bionic InRelease Hit:4 http://ports.ubuntu.com bionic-updates InRelease Get:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Ign:7 http://archive.ubuntu.com/ubuntu bionic-security/main armhf Packages Ign:7 http://archive.ubuntu.com/ubuntu bionic-security/main armhf Packages Ign:7 http://archive.ubuntu.com/ubuntu bionic-security/main armhf Packages Err:7 http://archive.ubuntu.com/ubuntu bionic-security/main armhf Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] Ign:8 http://archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages Ign:8 http://archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages Ign:8 http://archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages Ign:9 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages Err:8 http://archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] Ign:9 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages Ign:9 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages Err:9 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] Fetched 419 kB in 7s (64.1 kB/s) Reading package lists... Done E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/main/binary-armhf/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-armhf/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/main/binary-armhf/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Some index files failed to download. They have been ignored, or old ones used instead.

補足情報(FW/ツールのバージョンなど)

zyboz7-20上でubuntu18.04が動いており、TeraTermにてwindows10のPCとシリアル通信を行っています。
勉強を始めたばかりで至らない点も多いとは思いますがよろしくお願いします。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

mike2mike4

2022/07/15 08:47

シリアル通信で、というのが気になります。ubuntuサーバーはインターネット繋がってますか?
takechikenkyu

2022/07/19 01:38

sPy2bUDOZ4uRa7t 様 返信が遅くなってしまい申し訳ありません。 教えていただいたサイトを参考にしたのですが解決せず、新しいエラーが発生してしまいました。 Err:1 http://ports.ubuntu.com bionic InRelease Temporary failure resolving 'ports.ubuntu.com' Err:2 http://repos.rcn-ee.com/ubuntu bionic InRelease Temporary failure resolving 'repos.rcn-ee.com' Err:3 http://archive.ubuntu.com/ubuntu bionic InRelease Temporary failure resolving 'archive.ubuntu.com' Err:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease Temporary failure resolving 'archive.ubuntu.com' Err:5 http://ports.ubuntu.com bionic-updates InRelease Temporary failure resolving 'ports.ubuntu.com' Err:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Temporary failure resolving 'archive.ubuntu.com' Reading package lists... Done W: Failed to fetch http://ports.ubuntu.com/dists/bionic/InRelease Temporary failure resolving 'ports.ubuntu.com' W: Failed to fetch http://ports.ubuntu.com/dists/bionic-updates/InRelease Temporary failure resolving 'ports.ubuntu.com' W: Failed to fetch http://repos.rcn-ee.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'repos.rcn-ee.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Some index files failed to download. They have been ignored, or old ones used instead. t@arm:~$ sudo apt update Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease Temporary failure resolving 'archive.ubuntu.com' Err:2 http://ports.ubuntu.com bionic InRelease Temporary failure resolving 'ports.ubuntu.com' Err:3 http://repos.rcn-ee.com/ubuntu bionic InRelease Temporary failure resolving 'repos.rcn-ee.com' Err:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease Temporary failure resolving 'archive.ubuntu.com' Err:5 http://ports.ubuntu.com bionic-updates InRelease Temporary failure resolving 'ports.ubuntu.com' Err:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Temporary failure resolving 'archive.ubuntu.com' Reading package lists... Done Building dependency tree Reading state information... Done 412 packages can be upgraded. Run 'apt list --upgradable' to see them. W: Failed to fetch http://ports.ubuntu.com/dists/bionic/InRelease Temporary failure resolving 'ports.ubuntu.com' W: Failed to fetch http://ports.ubuntu.com/dists/bionic-updates/InRelease Temporary failure resolving 'ports.ubuntu.com' W: Failed to fetch http://repos.rcn-ee.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'repos.rcn-ee.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Some index files failed to download. They have been ignored, or old ones used instead.
takechikenkyu

2022/07/19 01:40

mike2mike4 様 返信が遅くなり申し訳ありません。 Zyboに差し込むSDカードにubuntu18.04がインストールされており、windowsPCとZyboはmicro USB type Bで接続されています。
退会済みユーザー

退会済みユーザー

2022/07/19 02:15

DNSサーバーのIPアドレスを登録できてないんじゃないの?
takechikenkyu

2022/07/19 03:12 編集

sPy2bUDOZ4uRa7t 様 以前の投稿に誤りがありました。 ネットワークに接続し忘れており、接続し直し、再度実行したところ以下のようになりました。 $ sudo apt update Hit:2 http://repos.rcn-ee.com/ubuntu bionic InRelease Hit:3 http://ports.ubuntu.com bionic InRelease Get:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:5 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Ign:7 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages Ign:7 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages Ign:7 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages Err:7 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages 404 Not Found [IP: 2620:2d:4000:1::19 80] Reading package lists... Done E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 3d 18h 33min 23s). Updates for this repository will not be applied. E: Release file for http://ports.ubuntu.com/dists/bionic-updates/InRelease is not valid yet (invalid for another 3d 18h 34min 42s). Updates for this repository will not be applied. E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 3d 18h 34min 41s). Updates for this repository will not be applied.
takechikenkyu

2022/07/19 03:25

上記の問題はtimezoneの設定を行うことで解決しましたが、投稿時のエラーが再度でてしまいます。
takechikenkyu

2022/07/19 09:28

binary-armhf/Packageが、sources.list内で指定されている archive.ubuntu.com/ubuntuではなく、ports.ubuntu.com/ubuntu内に存在しているので、 sources.listを書き直すとエラーは発生しなくなった。
guest

回答1

0

自己解決

binary-armhf/Packageが、sources.list内で指定されている
archive.ubuntu.com/ubuntuではなく、ports.ubuntu.com/ubuntu内に存在しているので、
sources.listを書き直すとエラーは発生しなくなった。

投稿2022/07/20 05:08

takechikenkyu

総合スコア10

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問