5
2

More than 1 year has passed since last update.

「アーキテクチャ 'i386' をサポートしないため設定ファイル 'main/binary-i386/Packages' の取得をスキップ」の対処法、deb822の場合

Last updated at Posted at 2022-07-18

apt update をしたところ次のようなN(Noticeの略)が表示されました。

N: リポジトリ 'https://apache.jfrog.io/artifactory/arrow/ubuntu jammy InRelease'
がアーキテクチャ 'i386' をサポートしないため設定ファイル 'main/binary-i386/Packages' の取得をスキップ

Apache Arrow に関するメッセージです。[arch=amd64] を設定してやればよさそうです。
そこで apache-arrow.sources を見てみます。

cat /etc/apt/sources.list.d/apache-arrow.sources

とすると、

Types: deb deb-src
URIs: https://apache.jfrog.io/artifactory/arrow/ubuntu/
Suites: jammy
Components: main
Signed-By: /usr/share/keyrings/apache-arrow-apt-source.gpg

何やら見慣れない感じのフォーマットでした。私達がよくみるフォーマットは次のようなものだと思います。

deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main

Google検索すると、新しいフォーマットは「deb822」という名前のフォーマットだそうです。
ここでは、[arch=amd64]を設定したいので 最後の行に Architectures: amd64 を追加して

Types: deb deb-src
URIs: https://apache.jfrog.io/artifactory/arrow/ubuntu/
Suites: jammy
Components: main
Signed-By: /usr/share/keyrings/apache-arrow-apt-source.gpg
Architectures: amd64

とします。これで通知が表示されないようになりました。

この記事は以上です。

5
2
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
5
2