2025年5月14日水曜日

Ubuntu で Missing Signed-By in the sources.list の対策

Ubuntu で Missing Signed-By in the sources.list の対策

概要

対応方法を紹介します

環境

  • Ubuntu 24.04

エラー文

N: Missing Signed-By in the sources.list(5) entry for 'https://esm.ubuntu.com/apps/ubuntu'

対応方法

  • vim /etc/apt/sources.list.d/ubuntu-esm-apps.sources
Types: deb
URIs: https://esm.ubuntu.com/apps/ubuntu
Suites: noble-apps-security noble-apps-updates
Components: main
Signed-By: /etc/apt/trusted.gpg.d/ubuntu-pro-esm-apps.gpg

最後の Signed-By: /etc/apt/trusted.gpg.d/ubuntu-pro-esm-apps.gpg の部分を追記しましょう
なぜか Ubuntu 24.04 にしたときに消えていたようです
また ubuntu-esm-apps.list.distUpgrade などのファイルがありますがこちらに signed-by などを記載しても解消しないので注意しましょう

最後に

Ubuntu pro に申し込んでいて do-release-upgrade した場合に出る可能性があるので出たら対応しましょう

参考サイト

0 件のコメント:

コメントを投稿