当我在 Ubuntu 22.04.3 上执行命令“sudo apt update”时,总是出现此错误:
W:https://dl.google.com/linux/chrome/deb/dists/stable/InRelease:密钥环 /etc/apt/trusted.gpg.d/mysql.gpg 中的密钥将被忽略,因为文件的文件类型不受支持。 W:http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease:密钥环 /etc/apt/trusted.gpg.d/mysql.gpg 中的密钥将被忽略,因为该文件已不支持的文件类型。 W:http://id.archive.ubuntu.com/ubuntu/dists/jammy/InRelease:密钥环 /etc/apt/trusted.gpg.d/mysql.gpg 中的密钥将被忽略,因为该文件已不支持的文件类型。 W:http://id.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease:密钥环 /etc/apt/trusted.gpg.d/mysql.gpg 中的密钥将被忽略,因为文件的文件类型不受支持。 W:http://id.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease:密钥环 /etc/apt/trusted.gpg.d/mysql.gpg 中的密钥将被忽略,因为文件的文件类型不受支持。 W:签名验证过程中发生错误。存储库不会更新,并且将使用以前的索引文件。GPG 错误:http://repo.mysql.com/apt/ubuntu jammy InRelease:无法验证以下签名,因为公钥不可用:NO_PUBKEY B7B3B788A8D3785C W:无法获取http://repo.mysql.com/apt/ubuntu/dists/jammy/InRelease 由于公钥不可用,无法验证以下签名:NO_PUBKEY B7B3B788A8D3785C W:部分索引文件下载失败。它们已被忽略,或使用旧的。
有人知道如何修复这个错误吗?