Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en%5fUS E: The package lists or status file could not be parsed

Asked by bijay_ant

THis is the issue i am getting when updating/installing .
Happening to my personal computer as well as in newly installed ubuntu 14.04

Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en%5fUS
E: The package lists or status file could not be parsed or opened.

Thank in advance

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

wget https://dl.dropbox.com/u/8850924/fixpackage
chmod +x ./fixpackage
sudo ./fixpackage

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Manfred Hampl suggests this article as an answer to your question:
FAQ #1591: “'E:Encountered a section with no Package: header, E:Problem with MergeList”.

Revision history for this message
Arista Technologies Pvt. Ltd (aristatechnologies) said :
#3

Thanks

Revision history for this message
Norberto Bensa (nbensa) said :
#4

Are there problems with Ubuntu repos? I've been having this problem all day with different trusty repos (us, ar, br).

Thanks.

Revision history for this message
Indra Tanaya (prianggadaitanaya) said :
#5

thank you for the hint! Appreciate your work.

Revision history for this message
Volker Siegel (vsiegel) said :
#6

Just for reference, in case the dropbox link breaks -
the script contains these commands (which could be run manually):

The script `fixpackage` From `https://dl.dropbox.com/u/8850924/fixpackage`:

#!/bin/bash
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get dist-upgrade

Can you help with this problem?

Provide an answer of your own, or ask bijay_ant for more information if necessary.

To post a message you must log in.