Linux

[Ubuntu][Error] Problem with MergeList” or “status file could not be parsed” error when trying to do an update?

chbae 2023. 4. 21. 03:37
728x90

아래와 같은 에러가 나올 때는, 일단 /var/lib/apt/lists 디렉토리의 내용을 지우고 apt-get update를 해주면 정상동작 된다.

Error

changhyeok.bae@~/work/yocto/openembedded-core/build  $ sudo apt-get install pip
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/kr.archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en%5fUS
E: The package lists or status file could not be parsed or opened.

Resolution

$ sudo rm -rf sudo rm -vf /var/lib/apt/lists/*
$ sudo apt-get update

 

Referencehttps://askubuntu.com/questions/30072/how-do-i-fix-a-problem-with-mergelist-or-status-file-could-not-be-parsed-err

'Linux' 카테고리의 다른 글

Systemd에서 Idle 상태이면 자동으로 종료하기  (0) 2024.06.21
clang toolchain의 위력 (빌드 최적화, build time profiling)  (0) 2024.06.06
The Art of Command Line  (0) 2023.04.20
Linux Performance Tool  (0) 2023.04.20
Parallel SSH  (0) 2023.04.19