Results 1 to 2 of 2

Thread: Broken package manager

  1. #1
    Join Date
    Feb 2020
    Beans
    6

    Broken package manager

    Hello,

    I'm running ubuntu 18.04. When I run sudo apt-get update, I get the error given below.

    Reading package lists... Error!
    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/developer.download.nvidia.com_compute_cuda_repos_u buntu1804_x86%5f64_Packages
    E: The package lists or status file could not be parsed or opened.

    I've scoured all the forums and they invariably say to remove package lists and then update:

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

    I've tried to remove the problematic file myself.
    However the error persists. I can't update or uninstall any packages. Any help is appreciated.

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,779
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Broken package manager

    jamesoreilly - Hello

    Try it like:
    Code:
    sudo rm -fr /var/lib/apt/lists
    sudo mkdir -pv /var/lib/apt/lists/partial
    sudo apt update
    sudo apt upgrade
    MergeLists are a working tool of apt, part of the way it keeps track of which packages are in which repositories. It's the gears of a text-based database that apt relies upon. When corrupted, they can be safely deleted. Apt will recreate them during the next apt update.
    maybe now Yes
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •