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

728x90