0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

apt update時のメッセージ N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dev.nodesource.com/node_20.x nodistro InRelease' doesn't support architecture 'i386'への対処

Last updated at Posted at 2024-09-30

エラー

apt update時に表示された以下のエラーメッセージに対応しました。

エラーメッセージ内容

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dev.nodesource.com/node_20.x nodistro InRelease' doesn't support architecture 'i386'

環境

  • Ubuntu 22.04
  • x86_64

手順

1. 確認

$ cat /etc/apt/source.list.d/nodesource.list
deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main

2. archを追加

arch=amd64を追加します。

$ cat /etc/apt/source.list.d/nodesource.list
deb [arch=amd64 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main

3. もう1回apt updateをやってメッセージが出ないことを確認

$ sudo apt update

以上です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?