I am having this issue while running 'sudo apt-get update', "Problem with MergeList" or "status file could not be parsed or opened."

W: The repository 'http://archive.getdeb.net/ubuntu xenial-getdeb Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_xenial-getdeb_apps_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.

Suggestions that I have tried are:

  1. Remove files from an apt directory:
    sudo rm -vf /var/lib/apt/lists/*
    sudo apt-get update
    
  2. Changing the server from Ubuntu Software, but I keep receiving an error telling me to contact the administrator

This is from Wikipedia

GetDeb was an Ubuntu software portal providing legacy versions of software included in Old LTS Ubuntu versions, and software that is omitted from the official repositories.[1] PlayDeb was a sister project with an explicit focus on games. The names come from the .deb package format used by Ubuntu. GetDeb and PlayDeb services can also be used by Ubuntu derivatives starting with 16.04 as the 14.04 packages were removed once when Ubuntu 14.04 reached EOL. Both websites have been redirected to a spam site, and should no longer be trusted.

Getdeb and Playdeb are no longer functional or trusted, and should be removed from software sources ASAP.


The source file that references the Xenial repository will need to be edited. You can find it via the command line like this:

  1. Open Terminal (if it's not already open)
  2. Go to the apt directory:
    cd /etc/apt
    
  3. Identify the file referencing the bad repository via grep:
    grep -r xenial *
    
  4. Using sudo, edit the file that is mentioned in the output with your preferred text editor, commenting out (or removing) the line. You can comment-out the line by putting a # at the front.
  5. Save the file and exit.
  6. Update apt:
    sudo apt update