요즘 업데이트에 문제가 생겼습니다. 내 버전은우분투 18.04.6 LTS(바이오닉)
sudo apt-get upgrade
다음과 같은 출력을 제공합니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libnghttp2-14 libpython2.7 libpython2.7-dev libpython2.7-minimal
libpython2.7-stdlib libpython3.6 libpython3.6-dev libpython3.6-minimal
libpython3.6-stdlib python2.7 python2.7-dev python2.7-minimal python3.6
python3.6-dev python3.6-minimal
15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 84,3 MB of archives.
After this operation, 77,8 kB disk space will be freed.
Do you want to continue? [Y/n] y
Err:1 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python2.7-dev amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:2 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython2.7-dev amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:3 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython2.7 amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:4 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python2.7 amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:5 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython2.7-stdlib amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:6 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python2.7-minimal amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:7 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython2.7-minimal amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:8 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python3.6-dev amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:9 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython3.6-dev amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:10 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython3.6 amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:11 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python3.6 amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:12 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython3.6-stdlib amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:13 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python3.6-minimal amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:14 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython3.6-minimal amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 91.189.91.47 443]
Err:15 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libnghttp2-14 amd64 1.30.0-1ubuntu1+esm1
401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/python2.7-dev_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/libpython2.7-dev_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/libpython2.7_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/python2.7_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/libpython2.7-stdlib_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/python2.7-minimal_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/libpython2.7-minimal_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/python3.6-dev_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/libpython3.6-dev_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/libpython3.6_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/python3.6_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/libpython3.6-stdlib_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/python3.6-minimal_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/libpython3.6-minimal_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/n/nghttp2/libnghttp2-14_1.30.0-1ubuntu1+esm1_amd64.deb 401 Unauthorized [IP: 91.189.91.47 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
시도했지만 sudo apt-get update --fix-missing
문제가 해결되지 않았습니다. 어떻게 해야 합니까?
감사해요..
답변1
401 오류는 사용자 이름과 비밀번호를 제공해야 함을 의미합니다.ESM 풀브라우저를 사용하면 프롬프트가 표시됩니다).
지금은 18.04입니다표준 지원 그 이상, 업데이트는 다음에만 적용됩니다.확장된 보안 유지 관리신청.
답변2
이 문제가 발생하는 다른 사람을 위해 나에게 도움이 되는 해결 방법은 다음과 같습니다.https://unix.stackexchange.com/a/748710/575373