You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WSL2 Ubuntu 24.04下PPA仓库添加及更新错误的解决方法咨询

WSL2 Ubuntu 24.04下PPA仓库添加及更新错误的解决方法咨询

各位好,我现在用的是WSL2搭配Ubuntu 24.04系统。之前因为C盘空间不够,把Ubuntu导出后重新导入到了D盘。但这之后,添加PPA仓库的时候总是报错,运行sudo apt-get update也会出现错误,完全没法正常更新系统。

我已经尝试过的方法:

  • 修改resolv.conf中的nameserver为8.8.8.8,但问题依然存在

举个具体的例子,当我执行以下命令添加GNU Radio的PPA时:

sudo add-apt-repository ppa:gnuradio/gnuradio-releases

得到的输出是:

Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/gnuradio/gnuradio-releases/ubuntu/
Suites: noble
Components: main
'
Description:
PPA for GNU Radio Tagged Releases
More info: https://launchpad.net/~gnuradio/+archive/ubuntu/gnuradio-releases
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.

之后执行sudo apt-get update,错误信息如下:

Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:2 https://ppa.launchpadcontent.net/gnuradio/gnuradio-releases/ubuntu noble InRelease
Err:3 https://ppa.launchpadcontent.net/gnuradio/gnuradio-releases/ubuntu noble Release
404 Not Found [IP: 185.125.190.52 443]

有没有朋友能帮忙指点一下,怎么才能解决这个问题,顺利添加PPA并完成系统更新呢?

备注:内容来源于stack exchange,提问作者ed190

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 12:30:27