Err:9 https://dl.yarnpkg.com/debian stable InRelease

在Ubuntu中使用apt-get update时遇到错误,涉及Yarn包签名验证失败。通过curl下载并添加公钥解决了问题。

今天在  Ubuntu 执行 apt-get update 时得到了下面这个错误:
....

Get:9 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]              
Err:9 https://dl.yarnpkg.com/debian stable InRelease
  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>

....
 

W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


....


国内搜索到的没搜索到适用于我的解决方案。。后来在国外找到适合我的解决方案

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -


原贴:https://github.com/yarnpkg/yarn/issues/6885

另外题外话吐槽 CSDN 发帖居然只有:原创、转载、翻译,其中除了原创之外居然都需要勾选:“原文允许翻译或者本次翻译已经获得原文作者授权”,当然没得到授权啦,,这是整理罢了。。所以就不能来个符合的分类???

udo add-apt-repository ppa:jonathonf/ffmpeg-4 Repository: &#39;deb https://ppa.launchpadcontent.net/jonathonf/ffmpeg-4/ubuntu/ jammy main&#39; Description: Backport of FFmpeg 4 and associated libraries. Now includes AOM/AV1 support! FDK AAC is not compatible with GPL and FFmpeg can&#39;t be redistributed with it included. Please don&#39;t ask for it to be added to this public PPA. --- PPA supporters: BigBlueButton (https://bigbluebutton.org) --- Donate to FFMPEG: https://ffmpeg.org/donations.html Donate to Debian: https://www.debian.org/donations Donate to this PPA: https://ko-fi.com/jonathonf More info: https://launchpad.net/~jonathonf/+archive/ubuntu/ffmpeg-4 Adding repository. Press [ENTER] to continue or Ctrl-c to cancel.Adding deb entry to /etc/apt/sources.list.d/jonathonf-ubuntu-ffmpeg-4-jammy.list Adding disabled deb-src entry to /etc/apt/sources.list.d/jonathonf-ubuntu-ffmpeg-4-jammy.list Adding key to /etc/apt/trusted.gpg.d/jonathonf-ubuntu-ffmpeg-4.gpg with fingerprint 4AB0F789CBA31744CC7DA76A8CF63AD3F06FC659 Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease Hit:3 https://mirrors.zytintra.com/ubuntu jammy InRelease Hit:4 https://mirrors.zytintra.com/ubuntu jammy-security InRelease Hit:5 https://mirrors.zytintra.com/ubuntu jammy-updates InRelease Hit:6 https://mirrors.zytintra.com/ubuntu jammy-backports InRelease Hit:1 https://packages.microsoft.com/repos/code stable InRelease Ign:7 https://ppa.launchpadcontent.net/jonathonf/ffmpeg-4/ubuntu jammy InRelease Err:8 https://ppa.launchpadcontent.net/jonathonf/ffmpeg-4/ubuntu jammy Release 404 Not Found [IP: 185.125.190.80 443] Reading package lists... Done E: The repository &#39;https://ppa.launchpadcontent.net/jonathonf/ffmpeg-4/ubuntu jammy Release&#39; does not have a Release file. N: Updating from such a repository can&#39;t be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
最新发布
09-27
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值