error in apt-get

Asked by Alon

after running apt-get I get the following error:

dpkg: parse error, in file `/var/lib/dpkg/available' near line 19573 package `evms-ncurses':
 `Depends' field, reference to `libc6': version contains ` '
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@alon-laptop:/home/alon#

I am running Ubuntu 6.06

what do I do ?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam Cater (wraund-deactivatedaccount) said :
#1

have you searched through the bugs. and googled.

google.com
bugs.launchpad.net

Revision history for this message
Alon (alon-benari) said :
#2

 Thanks you Sam

There were no results in google searching for:
package `evms-ncurses':
 `Depends' field, reference to `libc6': version contains ` '
E: Sub-process /usr/bin/dpkg returned an error code (2)

or for

dpkg: parse error, in file `/var/lib/dpkg/available' near line 19573

especially for 19573.
 there are entries for other errors in other lines. but not for this one.

Looks like a new problem?

Thanks

Revision history for this message
Alon (alon-benari) said :
#3

... and none in the bugs too

Alon

Revision history for this message
Michael Bienia (geser) said :
#4

Try "sudo dpkg --clear-avail". /var/lib/dpkg/available got somehow broken.

/var/lib/dpkg/available contains dpkg's idea of the available packages. You might want to make a backup of this file (just in case) but clearing it shouldn't affect dpkg/apt/synaptic (apt uses other files to know which packages are available).

Revision history for this message
Cesare Tirabassi (norsetto) said :
#5

Could be a corrupt cache; have you interrupted a running install/update/upgrade?
Try recovering with:

sudo apt-get update

abd then check with:

sudo apt-get check

Revision history for this message
Cesare Tirabassi (norsetto) said :
#6

Could be a corrupt cache; have you interrupted a running install/update/upgrade?
Try recovering with:

sudo apt-get update

and then check with:

sudo apt-get check

Can you help with this problem?

Provide an answer of your own, or ask Alon for more information if necessary.

To post a message you must log in.