我正在安装更新sudo apt-get update
但出现以下错误:
Err:8 https://packagecloud.io/shiftkey/desktop/any any InRelease
429 Too Many Requests [IP: 54.215.161.51 443]
Reading package lists... Done
W: Failed to fetch https://packagecloud.io/shiftkey/desktop/any/dists/any/InRelease 429 Too Many Requests [IP: 54.215.161.51 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
我刚刚通过以下步骤解决了这个问题:
打开终端。
使用 启动文件管理器
sudo
,在我的例子中是 nautilus:sudo nautilus
导航
/etc/apt/sources.list.d
。删除文件
packagecloud-shiftky-desktop.list
并packagecloud-shiftky-desktop.list.save
现在运行时它将不会出现sudo apt update
。
答案2
如果你遇到问题,请使用手动选项,即在此处下载版本 https://github.com/shiftkey/desktop/releases. 错误原因是 urlhttps://packagecloud.io/shiftkey/desktop/any/dists/any/InRelease已超出其分配的每月带宽限制,这就是其抛出 429 的原因。
答案3
这个答案只是最佳答案:
sudo mv /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list* $HOME/.local/share/Trash