서버에 도커를 설치해야할 일이 생겨서 설치하다가 에러가 발생했다.

Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20210119~20.04.1).
ca-certificates set to manually installed.
curl is already the newest version (7.68.0-1ubuntu2.4).
curl set to manually installed.
The following additional packages will be installed:
  dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv python3-software-properties
Suggested packages:
  pinentry-gnome3 tor parcimonie xloadimage scdaemon
The following NEW packages will be installed:
  apt-transport-https gnupg-agent
The following packages will be upgraded:
  dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv python3-software-properties
  software-properties-common
13 upgraded, 2 newly installed, 0 to remove and 106 not upgraded.
Need to get 1,704 B/2,606 kB of archives.
After this operation, 207 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://kr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 apt-transport-https all 2.0.4
  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://kr.archive.ubuntu.com/ubuntu/pool/universe/a/apt/apt-transport-https_2.0.4_all.deb  404  Not Found [IP: 91.189.91.38 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis                                                                                                                                                             sing?

 

대충 검색해보니 어떤 사람은 '유지보수가 끝났다.' , '어떤사람은 우분투 한국서버가 불안정하다' 등등 많은 글들이 있었다. 근데 해결방법이 대부분 같았다. source list 미러사이트 링크를 변경해주는거 였다.

사실 맞는 방법 같긴했다. 근데 구글에 검색해보면 미러사이트 아래 처럼 나오는데 서버 우분투 미러 사이트랑 같았다.

다른 사람들 링크를 보니 물론 다르게 생겼다.  (http://old-releases.ubuntu.com , http://01.archive.ubuntu.com/ubuntu/)

 

물론 맞는지 틀린지는 안해봤으니 모른다.

 

결과적으론 나는 upgrade 하면 될 것 같은데...? 하니깐 정말 해결됐다...

 

 

+ Recent posts