Announcement

Collapse
No announcement yet.

[Solved] Interrupted Update Problems - dpkg: parse error

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Solved] Interrupted Update Problems - dpkg: parse error

    Running AMD 64 on Efficient PC, with Nvidia Graphics Driver

    My graphics driver seems to have stopped working properly, and I've only got 640X480 resolution and rather than showing the Nvidia card system settings shows a vesa card.

    The problem occurred after uploading updates from repositories with Adept, and as the installation slowed badly I switched off like an idiot. I've run fsck and the filesystem is OK, and have tried re-running Adept and Synaptic to revisit the updates. Synpatic gives me the message

    manually run 'dpkg --configure -a'

    When I do this in a terminal, I get the message

    dpkg: parse error, in file `/var/lib/dpkg/updates/0004' near line 1:
    newline in field name `#padding'

    Any ideas?




    #2
    Re: Screen Resolution Problems

    I've also tried

    sudo dpkg-reconfigure xserver-xorg

    suggested elsewhere on these forums, but got

    dpkg-query: parse error, in file `/var/lib/dpkg/updates/0004' near line 1:
    newline in field name `#padding'
    /usr/sbin/dpkg-reconfigure: xserver-xorg is not installed.

    Comment


      #3
      Re: Screen Resolution Problems

      Well, I googled your error message and came up with this:

      Code:
      sudo rm /var/lib/dpkg/updates/0004
      It appears to make a lot of sense and is supposed to work
      Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

      Comment


        #4
        Re: Screen Resolution Problems

        Thanks for that

        Seems to work until I get message for 0004 and 0005, but for 0006, I get

        dpkg: parse error, in file `/var/lib/dpkg/updates/0006' near line 1:
        newline in field name `bus/pci_express'

        I'll google that and see what happens...

        Comment


          #5
          Re: Screen Resolution Problems

          Oh dear
          Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

          Comment


            #6
            Re: Screen Resolution Problems

            Can't find anything on this on an admittedly quick google search...

            Comment


              #7
              Re: Screen Resolution Problems

              Well, have a look what else you got in that directory:

              Code:
              cd /var/lib/dpkg/updates/
              ls -la
              You may just want to delete the lot, IF all the files have 000x extensions or the like.
              Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

              Comment


                #8
                Re: Screen Resolution Problems

                Now solved, many thanks

                Removed 0004, 0005, and 0006, then ran

                'dpkg --configure -a'

                followed by

                'sudo dpkg-reconfigure xserver-xorg'

                and finally

                'sudo dpkg-reconfigure -phigh xserver-xorg'

                seemed to do the trick.

                The sound isn't working, but that's another post.....

                Comment


                  #9
                  Re: Screen Resolution Problems

                  First off - well done

                  Second - perhaps you could edit the subject line of your first post to include SOLVED and since this was not really a screen resolution problem I would change the subject as well to either the error message itself or to "interrupted update problem" or some such.

                  Now post on re the sound
                  Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                  Comment


                    #10
                    Re: Screen Resolution Problems

                    Originally posted by toad
                    Well, I googled your error message and came up with this:

                    Code:
                    sudo rm /var/lib/dpkg/updates/0004
                    It appears to make a lot of sense and is supposed to work

                    thank u
                    i got solved my problem

                    Comment

                    Working...
                    X