what is dpkg parse error and how to solve

Asked by abdul kalam azad on 2011-03-16

it because it doesn't allowing me to install any of software in my PC

I tried to install adobe flash player plug-in to fire fox ,I downloads the software but not installing into my system and showing that dpkg: parse error and also showing that error in line 0 in var/lib/dpkg/available

please respond quickly and i m very new to this operating system so please describe briefly

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Solved by:
mycae
Solved:
Last query:
Last reply:
Best mycae (mycae) said : #1

dpkg is the tool that manages package installations (after they have been resolved and downloaded).

The available file can be rebuilt

Try opening a terminal (Ctrl+Alt+T, or from applications menu) and running these commands

sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.notworking
sudo touch /var/lib/dpkg/available
sudo apt-get update

abdul kalam azad (azadaks) said : #3

thank you sire, you have solved my problem

i very thankful to your help