ubuntu 20.04 升级22.04问题
一、 20.04升级程序报错
Failed to fetch https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/python2.7_2.7.18-13ubuntu1.1+esm2_amd64.deb 401 Unauthorized [IP: 185.125.190.23 443] Failed to fetch https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/libpython2.7-stdlib_2.7.18-13ubuntu1.1+esm2_amd64.deb 401 Unauthorized [IP: 185.125.190.23 443] Failed to fetch https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/python2.7-minimal_2.7.18-13ubuntu1.1+esm2_amd64.deb 401 Unauthorized [IP: 185.125.190.23 443] Failed to fetch https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/libpython2.7-minimal_2.7.18-13ubuntu1.1+esm2_amd64.deb 401 Unauthorized [IP: 185.125.190.23 443] Failed to fetch https://esm.ubuntu.com/apps/ubuntu/pool/main/o/openexr/libopenexr26_2.5.7-1ubuntu0.1~esm1_amd64.deb 401 Unauthorized [IP: 185.125.190.23 443]
解决办法:
卸载python openexr
sudo apt-get remove python2 sudo dpkg -l |grep openexr sudo apt-get remove libopenexr24 sudo apt autoremove
按win键重新打开软件更新器继续更新
升级后,python2 无法安装,还是个问题
浙公网安备 33010602011771号