#author("2024-07-17T08:43:13+09:00","default:nobuoki","nobuoki")
#author("2024-07-17T08:44:14+09:00","default:nobuoki","nobuoki")
* その1 [#yb15e584]

英語の例

 N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease' doesn't support architecture 'i386'

日本語の例

 N: リポジトリ 'https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease' がアーキテクチャ 'i386' をサポートしないため設定ファイル 'main/binary-i386/Packages' の取得をスキップ

消し方

/etc/apt/sources.list.d/hoge.sources に

 Architectures: amd64

を書く

* その2 [#ydf898fe]

例

 N: Missing Signed-By in the sources.list(5) entry for 'https://packages.microsoft.com/ubuntu/24.04/prod'

消し方

/etc/apt/sources.list.d/hoge.sources に

 Signed-By: gpg鍵のパス

を書く

* 完成例 [#qbfb2bf2]

#prism(bash){{{
$cat /etc/apt/sources.list.d/microsoft-prod.sources

Types: deb
URIs: https://packages.microsoft.com/ubuntu/24.04/prod
Suites: noble
Components: main
Architectures: amd64
Signed-By: /etc/apt/trusted.gpg.d/microsoft-mdatp.asc
}}}

最後の2行を追加した
最後の2行を追加


* 関連 [#tce50539]

- [[mr/apt-key_DEPRECATION]]
- [[mr/braveブラウザのリポジトリ]]



トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS