[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Sat, 13 Aug 2005 08:19:04 -0700
Bill Moseley <moseley@hank.org> wrote:

> Any ideas about how to fix?
> 
>     laptop:/home/moseley# apt-get update
>     Get:1 http://bumby unstable/main Packages [3755kB]
>     [...]
>     Fetched 5384kB in 1m14s (72.0kB/s)                                
                
>     E: dpkg was interrupted, you must manually run 'dpkg --configure
-a' to correct the problem. 
> 
>     laptop:/home/moseley# dpkg --configure -a
>     dpkg: parse error, in file `/var/lib/dpkg/available' near line 1:
>      EOF after field name `'


Try the command line:

dpkg --clear-avail

: You could accomplish the same thing by deleting the available file,
but then you need to create a new one:

touch /var/lib/dpkg/available

Later Seeker



Reply to: