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

如果提示:

  Your python install is corrupted. Please fix the '/usr/bin/python' symlink.

可以运行命令解决

  sudo ln -sf /usr/bin/python2.7 /usr/bin/python

或者重装Python

  sudo apt-get install --reinstall python

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


文章作者: 陈德强
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 陈德强 !
¥
  目录