Ubuntu16升级到18

sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
sudo apt-get install update-manager-core
sudo gedit /etc/update-manager/release-upgrades 
确保update-manager行设置为lts
update-manager -c

如果提示:
{%r%}
Your python install is corrupted. Please fix the '/usr/bin/python' symlink.

可以运行命令解决
{%g%}
sudo ln -sf /usr/bin/python2.7 /usr/bin/python
{%endg%}
或者重装Python
{%g%}
sudo apt-get install --reinstall python

参考链接:
https://blog.csdn.net/weixin_44003563/article/details/90271622

posted @ 2020-05-12 12:44  多弗朗强哥  阅读(932)  评论(0编辑  收藏  举报