Error when trying to use "Software Up to Date" in 12.04 LTS Chrom

Asked by bitzi

I installed Ubuntu 12.04 LTS last week. Installation was smooth and straight forward alongside my windows 7 OS
It's working perfect except when I try to update the OS, it returns below error message:

--------------------------------------
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/dl.google.com_linux_chrome_deb_dists_stable_main_i18n_Translation-en, E:The package lists or status file could not be parsed or opened.'
----------------------

What should I do?

---------
Hardware:
Memory: 3.8 GiB
CPU: Intel® Core™2 Duo CPU T9600 @ 2.80GHz × 2
Graphic: VESA: M92
OS: 64-bit
Disk: 26.0 GB

Question information

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

sudo fuser -vvv /var/lib/dpkg/lock
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

Revision history for this message
bitzi (alborz-l) said :
#2

Thanks actionparsnip, that solved my question.

Revision history for this message
bitzi (alborz-l) said :
#3

Thanks