I had a problem in Ubuntu of not being able to install a software. It gave me the following errors:
The reasons for the problem arise from failed update attempt or may be when you try mess around with
To solve this is simple,,just do the following steps:
If the said method does not solve try :
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
or like this one:
E: Malformed Description-md5 line; includes invalid character 'fc1f7600accbcc"07ef9954ba3306c14'
E: The package lists or status file could not be parsed or opened
But it was an easy problem to solve:The reasons for the problem arise from failed update attempt or may be when you try mess around with
/var/lib/dpkg/status
Or may be you have too many sources in your repo,,,,that could also be a problem.To solve this is simple,,just do the following steps:
1> Open the terminal with ctrl+alt+t;
2> Type:
sudo rm /var/lib/apt/lists/* -vf
3> Now type:
sudo apt-get update
This cure your pain...and once again your darling linux will be working fine.If the said method does not solve try :
1>sudo mv /var/lib/apt/lists /var/lib/apt/lists-old
2>sudo mkdir -p /var/lib/apt/lists/partial
3>sudo apt-get update
Even when this does not work, try :
1>sudo apt-get clean
2>sudo apt-get update
.............................................................................
Hope this helps....Leave a comment if it does not solve your problem...lets try on it... Cheers!!