하모니카 묻고답하기

조회 수 2454 추천 수 0 댓글 5
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

터미널에서 업데이트 오류가 생겨서 질문드립니다. 

초보라 어디가 잘 못 되었는지 모르겠네요. 

아래 오류내용입니다. 

 

E: https://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2 파일을 받는데 실패했습니다  File has unexpected size (156214 != 156065). Mirror sync in progress? [IP: 13.75.127.55 443]

   Hashes of expected file:

    - Filesize:156065 [weak]

    - SHA512:12e6dffcd247d1ff067acfa61a3c4eb6078c326c2858feb4f6f141a1d809e22292a78282414a5c103038ea80bb63cd734c7516782c9809c341335083d4e7611b

    - SHA256:c850f35f1979831ac75641978c397e51519fa22313598ec12bde5f52277044c0

    - SHA1:1f65f4a7388c22bcf7b7f30fb7bc337c60d94b2e [weak]

    - MD5Sum:4153a12e4a5629bfb14ed98f4c8ac234 [weak]

   Release file created at: Thu, 12 Dec 2019 19:59:19 +0000

E: Some index files failed to download. They have been ignored, or old ones used instead.

 
  • profile
    Kevin 2019.12.13 22:31

    올려주신 로그를 보면 어떤 이유에서인지 모르지만 링크의 파일이 제대로 다운로드 되지 않아서 생기는 오류 메세지로 보이네요.

    아래 링크에서 파일이 다운로드 받아 지는지 먼저 확인해보시고

    https://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2

     

    만일 정상적으로 다운로드 되는데 동일한 오류가 나타난다면 터미널을 열고 아래와 같이 명령을 해보세요.

     

    sudo apt-get clean

    sudo apt-get update

     

    안되시면 다시 글 남겨주시구요~ 즐거운 하루 보내세요

  • ?
    초헛 2019.12.14 01:42

    파일은 정상적으로 다운 받아집니다. 아래 명령을 해도 똑같이 오류가 생기네요~

  • profile
    Kevin 2019.12.14 10:19

    좀 찾아보니 다른 분들도 동일한 오류가 있는것 같네요.

    https://github.com/microsoft/vscode/issues/86858

    https://github.com/microsoft/vscode/issues/41094

     

     

    문제를 해결하려면 터미널에서 다음과 같이 한번 해보세요

     

    sudo rm -f /etc/apt/sources.list.d/vscode.list

    sudo apt-get clean

    sudo apt-get update

     

     

    만약 삭제한 vscode 저장소를 다시 추가하고 싶은 경우 다음과 같이 추가할 수 있습니다

     

    curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg

    sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/

    sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

     

    sudo apt-get install apt-transport-https

    sudo apt-get update

    sudo apt-get install code

     

    참고 : https://code.visualstudio.com/docs/setup/linux

     

  • ?
    초헛 2019.12.14 13:55

    위 방법대로 하니 해결되었습니다. 감사합니다~! 

  • profile
    Kevin 2019.12.14 14:57

    잘 해결되셨다니 다행이네요

    즐거운 주말 보내세요~


  1. 게시판에 질문하기 전 읽기 - 어떻게 질문을 하는 것이 좋을까?

    Date2019.11.18 ByKevin Views17435 Votes0
    read more
  2. Ubuntu 18.04 소개 영상

    Date2018.04.28 ByKevin Views769 Votes0
    Read More
  3. Ubuntu 18.04.1 LTS (Bionic Beaver) 출시

    Date2018.07.27 By행복한펭귄 Views827 Votes0
    Read More
  4. Ubuntu 18.10은 LZ4 Initramfs 압축 덕분에 더 빨리 부팅 할 수 있습니다.

    Date2018.03.22 By행복한펭귄 Views1367 Votes0
    Read More
  5. ubuntu 22.04 에 하모니카 7 을 업그레이드 하는데 오류가 발생하는군요.

    Date2023.12.27 ByK299792458 Views732 Votes0
    Read More
  6. Ubuntu GNOME 16.04 LTS Officially Released with GNOME 3.18, Snappy Support

    Date2016.04.22 By행복한펭귄 Views6519 Votes0
    Read More
  7. Ubuntu MATE 16.04 (Xenial Xerus) Will Be an LTS Release, Supported for 3 Years

    Date2016.04.19 By행복한펭귄 Views3775 Votes0
    Read More
  8. Ubuntu MATE 16.04 Out as the First Official LTS Release, Now for Raspberry Pi 3

    Date2016.04.22 By행복한펭귄 Views6114 Votes0
    Read More
  9. ubuntu smartphone 소식이네요!

    Date2016.11.27 By식혜고양이 Views6370 Votes0
    Read More
  10. Ubuntu 서버에 하모니카 OS를 다운로드 받을 수 있을까요?

    Date2023.12.01 By인턴학생 Views572 Votes0
    Read More
  11. Ubuntu와 Debian Stretch, Linux 커널 보안 업데이트로 TCP 결함 수정

    Date2018.08.10 By행복한펭귄 Views625 Votes0
    Read More
  12. Ubuntu와 하모니카, 리눅스민트등 우분투 계열에서 ipad 충전하기

    Date2015.03.18 Bybagjunggyu Views9764 Votes0
    Read More
  13. UEFI 설치..

    Date2014.12.02 By파도소리 Views14255 Votes0
    Read More
  14. uim 쓰는데 wine에서 한글 타이핑이 안되네요

    Date2015.08.20 By치킨성애자 Views9067 Votes0
    Read More
  15. ukuu 데비안에서 작동됩니다.

    Date2016.12.08 By바람곰돌 Views6310 Votes0
    Read More
  16. Umbrella 설치 질문

    Date2021.02.10 By131101 Views1192 Votes0
    Read More
  17. unity-editor제거

    Date2016.10.31 ByศรีНью-ЙоркX Views6239 Votes0
    Read More
  18. update 오류 질문드립니다.

    Date2019.12.13 By초헛 Views2454 Votes0
    Read More
  19. upzip가 안되네요,

    Date2023.10.24 By예안고 Views646 Votes0
    Read More
  20. usb mount 불가 문제 (Not authorized to perform operation)

    Date2022.11.23 Byslave Views733 Votes0
    Read More
  21. USB 드라이브 인식 관련

    Date2023.03.08 By에쎄 Views874 Votes0
    Read More
Board Pagination Prev 1 ... 18 19 20 21 22 23 24 25 26 27 ... 124 Next
/ 124
CLOSE