Page 1 of 1

Error when trying to install or update. [solved]

Posted: Mon Jul 13, 2009 3:09 am
by Hellishcross
I am running Mint 6 XFCE and when I go to install, or update anything I get this error:

dpkg: parse error, in file `/var/lib/dpkg/available' near line 6373 package `openoffice.org-impress':
`Pre-Depends' field, reference to `dpkg': version contains ` '
E: Sub-process /usr/bin/dpkg returned an error code (2)

Also mintInstall won't open.

This is a fresh install of mint 6 and the only thing I've done is added Gnome NetworkManager Applet, a windows wireless driver, all the level 1 and 2 updates and thats about it.

Re: Error when trying to install or update.

Posted: Mon Jul 13, 2009 3:17 am
by DrHu
In terminal
https://answers.launchpad.net/ubuntu/+question/10265
Cesare Tirabassi said on 2007-07-24:
Seems like you cache is corrupted.
Try with a sudo dpkg --clear-avail && sudo apt-get update

Re: Error when trying to install or update.

Posted: Mon Jul 13, 2009 1:48 pm
by Hellishcross
Thanks... worked like a charm.