我正在尝试使用“do-release-update”更新我的 ubuntu 16.04 服务器并收到错误消息:
# do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,251 kB]
Fetched 1,252 kB in 0s (0 B/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
Checking package manager
Can not upgrade
Your python3 install is corrupted. Please fix the '/usr/bin/python3'
symlink.
但在我看来,python3 的链接配置正确。
# python3
Python 3.5.2 (default, Jan 26 2021, 13:30:48)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
# update-alternatives --display python3
update-alternatives: error: no alternatives for python3
# ls -l /usr/bin/python3
lrwxrwxrwx 1 root root 18 Oct 30 20:53 /usr/bin/python3 -> /usr/bin/python3.5
有什么问题?先感谢您