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

Ubuntu 22.04 LTS升级至24.04 LTS时遭遇ppa-purge相关报错的解决求助

Ubuntu 22.04 LTS升级至24.04 LTS时遭遇ppa-purge相关报错的解决求助

我想把Ubuntu 22.04 LTS升级到24.04 LTS,但不管是执行sudo do-release-upgrade还是sudo do-release-upgrade --allow-third-party,总会遇到下面的错误:

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

This was likely caused by:

  • Unofficial software packages not provided by Ubuntu
    Please use the tool 'ppa-purge' from the ppa-purge
    package to remove software from a Launchpad PPA and
    try the upgrade again.

我该怎么使用ppa-purge呢?我只是想顺利完成升级,这种不能直接升级的情况真的太烦人了。

执行ll /etc/apt/sources.list.d后得到以下输出:

deadsnakes-ubuntu-ppa-jammy.list
deadsnakes-ubuntu-ppa-jammy.list.distUpgrade
deadsnakes-ubuntu-ppa-jammy.list.save
docker.list
docker.list.distUpgrade
docker.list.save
google-chrome.list
google-chrome.list.distUpgrade
google-chrome.list.save
linux_clients_seafile_com_seadrive_deb_jammy.list
linux_clients_seafile_com_seadrive_deb_jammy.list.distUpgrade

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.04.16 08:33:18