Wednesday, January 21, 2009

dpkg: parse error, in file '/var/lib/dpkg/available'

Hi..

dpkg parse errors problems...

Example or error:

dpkg: parse error, in file `/var/lib/

dpkg/available' near line 1134 package `login':
`Replaces' field, invalid package name `manpag1:7.04+20070412': character `:' not allowed (only letters, digits and characters `-+._')
E: Sub-process /usr/bin/dpkg returned an error code (2)

Solution:

dpkg --clear-avail & make apt-get update, I belive then will you will not be having problem like this.. :-)

Enjoy..

No comments: