jetson ubuntu18升级到 22.04 报错无法计算升级 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. If none of this applies, then please report this bug using the command ‘ubuntu-bug ubuntu-release-upgrader-core’ in a terminal. If you want to investigate this yourself the log files in ‘/var/log/dist-upgrade’ will contain details about the upgrade. Specifically, look at ‘main.log’ and ‘apt.log’.
[解决方法]:
sudo apt remove ros-* 来卸载ROS
最后运行
sudo apt autoremove 将卸载ROS剩下的软件包删除
接下来正常升级
sudo apt-get purge chromium-* 卸载chromium
sudo vim /etc/update-manager/release-upgrades 将Prompt=never改为Prompt=lts
sudo apt-get update
sudo apt-get full-upgrade
sudo apt-get autoremove 卸载无关软件包
sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_bak/
sudo mkdir /var/lib/dpkg/info/
更新软件源
sudo apt-get update
sudo apt-get -f install
sudo apt-get full-upgrade
sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_bak/
sudo rm -rf /var/lib/dpkg/info
sudo mv /var/lib/dpkg/info_bak/ /var/lib/dpkg/info/
sudo reboot
sudo apt-get update
sudo apt-get full-upgrade
sudo apt-get autoremove