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

From: Seeker5528 (seeker5528_at_comcast.net)
Date: 08/15/05

  • Next message: Greg Vickers: "Re: help"
    Date: Sun, 14 Aug 2005 15:50:07 -0700
    To: debian-user@lists.debian.org
    
    

    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

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Greg Vickers: "Re: help"

    Relevant Pages

    • Re: K&R 1.5.1 exercise
      ... EOF is guaranteed to have the type int and a negative value. ... the EXE file and run it by hand in a standalone console window. ... The C beginner using K&R2 is better served by a command line compiler than ... Dan Pop ...
      (comp.lang.c)
    • Re: Pausing/Waiting in C
      ... of "events" to be popped off, separated by a command to pause reading off ... but there is no sleep() function in the C standard ... return EOF; ...
      (comp.lang.c)
    • bug report - ExpInputProc on ECONNRESET
      ... We've encountered a problem while using a tcl TCP connection which has been converted to a spawn_id (so that the expect command can be used to parse the output). ... puts "got eof, and leaving" ...
      (comp.lang.tcl)
    • Re: [kde-linux] Using Seamonkey Mail as the Default Mail Client
      ... Further I should like to be able to accomplish this by ... clicking on the Buildtins Mail tab in gKrellM. ... although I don't remember the command line ... one on a gKrellM support list, because unless I am mistaken neither is a KDE ...
      (KDE)
    • Re: blocking when reading from failed popen
      ... It seems to me that the ping program should be timing out ... EOF is not a character that can be inserted into the stream. ... That could be cured by adding one more command to the string ...
      (comp.unix.programmer)