ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • [Ubuntu] apt update [Some index files ...] 오류 해결방법
    ETC/Ubuntu 2019. 11. 3. 23:40
    SMALL

    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

    댓글 0

Designed by Tistory.