Update manager crashed ,Great problem , Need Help

Asked by SWAGATAK GHOSH

I don't know how , but I think due to low Internet speed my update manager crashed. And it is not opening. The error msg is

Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_maverick_main_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'

An error occurred

The following details are provided:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_maverick_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.

how to solve...

thanks

Question information

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

Try:

sudo rm /var/lib/apt/lists/lock
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 rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get --purge autoremove
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo apt-get -f install
LANG=C;sudo apt-get --fix-missing install
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade

May help

Revision history for this message
SWAGATAK GHOSH (swagatak) said :
#2

thanks actionparsnip , thanks a lot, my problem solved. Please can you explain why it was happened ?

Revision history for this message
SWAGATAK GHOSH (swagatak) said :
#3

thanks actionparsnip , thanks a lot, my PROBLEM SOLVED .

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

The files probably got garbaged, so you removed them all then recreated them. It's on of the HUGE weaknesses in package based systems

Revision history for this message
SWAGATAK GHOSH (swagatak) said :
#5

thank you sir.....