我正在尝试将我的系统从 Ubuntu 20.04 LTS 升级到 Ubuntu 22.04 LTS。我做到了
% sudo apt update
% sudo apt upgrade
% sudo apt autoremove
% sudo do-release-upgrade
Run Code Online (Sandbox Code Playgroud)
它顺利地犁了几分钟,然后发生了这种情况:
Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.
Continue [yN] Details [d]y
Fetching
Err https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 python2.7-dev amd64 2.7.18-13ubuntu1.1+esm2
401 Unauthorized [IP: 2001:67c:1562::21 443]
Err https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 python2.7 amd64 2.7.18-13ubuntu1.1+esm2
401 Unauthorized [IP: 2001:67c:1562::21 443]
Err https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 libpython2.7-dev amd64 2.7.18-13ubuntu1.1+esm2
401 Unauthorized [IP: …Run Code Online (Sandbox Code Playgroud) upgrade ×1