[ 작업 환경 ]

 

Ubuntu 18.04

Python 3.6.9

NCLOUD (Naver Cloud Platform)

 

 

 

 

 [ 문제 상황 ]

 

pip3 설치 시도시 실패 로그 발생

# apt install python3-pip

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libdumbnet1
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  build-essential dh-python dpkg-dev fakeroot g++ g++-7 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl
  libpython3-dev libpython3.6-dev libstdc++-7-dev make python-pip-whl python3-crypto python3-dev python3-distutils python3-keyring python3-keyrings.alt python3-lib2to3 python3-secretstorage
  python3-setuptools python3-wheel python3-xdg python3.6-dev
Suggested packages:
  debian-keyring g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg bzr libstdc++-7-doc make-doc python-crypto-doc gnome-keyring libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-secretstorage-doc
  python-setuptools-doc
The following NEW packages will be installed:
  build-essential dh-python dpkg-dev fakeroot g++ g++-7 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl
  libpython3-dev libpython3.6-dev libstdc++-7-dev make python-pip-whl python3-crypto python3-dev python3-distutils python3-keyring python3-keyrings.alt python3-lib2to3 python3-pip python3-secretstorage
  python3-setuptools python3-wheel python3-xdg python3.6-dev
0 upgraded, 30 newly installed, 0 to remove and 10 not upgraded.
Need to get 45.3 MB/60.5 MB of archives.
After this operation, 135 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-dev amd64 3.6.9-1~18.04
  404  Not Found [IP: 91.189.88.152 80]
Err:2 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-dev amd64 3.6.9-1~18.04
  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://kr.archive.ubuntu.com/ubuntu/pool/main/p/python3.6/libpython3.6-dev_3.6.9-1~18.04_amd64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://kr.archive.ubuntu.com/ubuntu/pool/main/p/python3.6/python3.6-dev_3.6.9-1~18.04_amd64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

 

 

 

 

 [ 해결 방법 ]

 

apt 업데이트 진행하여 최신화한 후 설치 시도하면 정상진행완료

apt-get update
apt install python3-pip

 

 

 

 

 [ 해결 완료 확인 ]

 

# pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

 

 

 

 

 

 

+ Recent posts