728x90

apt-get 3

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

아래와 같은 에러가 나올 때는, 일단 /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 f..

Linux 2023.04.21

Ubuntu에서 모듈 (git, python3) 버전 업데이트 하기

필자가 Ubuntu 12.04를 사용중인데 필요에 의해 git, python3 버전을 업데이트 해야할 경우가 생겼다. 이 글에서는 apt-get 명령어를 이용하여 Update하는 방법에 대해 설명하고자 한다. git $ sudo add-apt-repository ppa:git-core/ppa $ sudo apt-get update $ sudo apt-get install git python3 $ sudo add-apt-repository ppa:fkrull/deadsnakes # Install Python 3.3.5 via: $ sudo apt-get update; sudo apt-get install python3.3 # Or install python 3.4.0 via: $ sudo apt-get u..

Development 2023.04.20

[Ubuntu] E: Encountered a section with no Package: header 에러 발생

Ubuntu 12.04 64bit를 사용하고 있는데, 언제부터인지 apt-get 명령어를 실행하면 다음과 같은 에러가 발생한다. E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/kr.archive...... E: The package lists or status file could not be parsed or opened. 다음과 같이 특정 디렉토리를 삭제한 후, apt-get update를 sudo로 실행하면 해결된다. $ sudo rm /var/lib/apt/lists/* -vf $ sudo apt-get update Reference: http://ubuntuforums.org/..

Linux 2023.04.19
728x90
반응형