-
[Ubuntu] apt update [Some index files ...] 오류 해결방법ETC/Ubuntu 2019. 11. 3. 23:40SMALL
apt install로 패키지를 설치하는데
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
이라며 fix-missing을 시도해보라고 한다.
:~$ apt update --fix-missing
시도해보았지만,
Some index files failed to download. They have been ignored, or old ones used instead.
이런 오류를 뿜으며 업데이트가 되지 않는다.
:~$ sudo vi /etc/apt/sources.list
# deb cdrom:[Ubuntu-Server 14.04.5 LTS _Trusty Tahr_ - Release amd64 (20160803)]/ trusty main restricted # deb cdrom:[Ubuntu-Server 14.04.5 LTS _Trusty Tahr_ - Release amd64 (20160803)]/ trusty main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://kr.archive.ubuntu.com/ubuntu/ bionic main restricted deb-src http://kr.archive.ubuntu.com/ubuntu/ bionic main restricted .....
sources.list 파일을 열고,
:%s/kr.archive.ubuntu.com/ftp.daumkakao.com
으로 기존의 경로를 한국에서 서비스하는 다음카카오로 바꾸어준다.
저장 후, apt update와 apt upgrade를 다시 시도하면 정상적으로 진행이 된다.
BIG'ETC > Ubuntu' 카테고리의 다른 글
[Ubuntu] 우분투 초기세팅 (카카오 미러서버, zsh) (0) 2021.07.21 [VSCode] VSC에서 원격 리눅스 머신에 접속하기 - Remote-SSH (0) 2019.11.04