我sudo do-release-upgrade
在戴尔 Inspiron 上也这样做过。它运行正常,我没有发现任何错误。重新启动时,它显示 dell-Linux-assistant 中存在错误,卸载后它停止了。但是,当我运行lsb_release -a
或查看机器信息时,显示的版本仍然是 20.04
lsb_release -a
:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS (fossa-cory-tgl X60)
Release: 20.04
Codename: focal
cat /etc/*-release
:
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS (fossa-cory-tgl X60)"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
apt policy base-files
:
base-files:
Installed: 12ubuntu4.4
Candidate: 12ubuntu4.4
Version table:
*** 12ubuntu4.4 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
100 /var/lib/dpkg/status
12ubuntu4 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
有任何想法吗?
答案1
我必须手动重新安装 lsb_release 才能解决问题
apt-get remove lsb_release
apt-get install lsb_release