Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: I'm getting this error message

  1. #1
    Join Date
    Feb 2009
    Beans
    25

    I'm getting this error message

    I was trying to uninstall some games, but I get this message.

    Code:
    E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
    E: _cache->open() failed, please report.
    I tried entering 'sudo dpkg --configure -a' into the terminal but I get this

    Code:
    dpkg: parse error, in file `/var/lib/dpkg/updates/0000' near line 1:
     newline in field name `ists.ubuntu.com>'
    help?

  2. #2
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: I'm getting this error message

    See if you can correct the file with a text editor:
    Code:
    gksudo gedit /var/lib/dpkg/updates/0000
    My guess is the word is supposed to be dists

    I'd try that but since it's on line 1 there may be other errors further down. If it doesn't work rename the file to something else and run your command again.
    Last edited by drs305; February 14th, 2009 at 01:24 AM.
    GRUB2

    Retired.

  3. #3
    Join Date
    Feb 2009
    Beans
    25

    Re: I'm getting this error message

    Quote Originally Posted by drs305 View Post
    See if you can correct the file with a text editor:
    Code:
    gksudo /var/lib/dpkg/updates/0000
    My guess is the word is supposed to be dists

    I'd try that but since it's on line 1 there may be other errors further down. If it doesn't work rename the file to something else and run your command again.
    Could you give me steps on how to do this? Sorry I'm still pretty new.

  4. #4
    Join Date
    Sep 2005
    Location
    Mexicali, Mexico
    Beans
    3,114
    Distro
    Ubuntu Development Release

    Re: I'm getting this error message

    Hi. Try running:
    Code:
    sudo aptitude install -f
    And post back if you get any errors.

    EDIT: Too slow; try drs305's suggestion first. From a terminal (Applications->Accessories->Terminal):
    Code:
    gksudo gedit /var/lib/dpkg/updates/0000
    Last edited by RomeReactor; February 14th, 2009 at 01:22 AM. Reason: Added comments.
    NOT a morning person...

  5. #5
    Join Date
    Feb 2009
    Beans
    25

    Re: I'm getting this error message

    Ok well I changed it to dist, but I still get this message after trying to run dpkg again.

    Code:
    dpkg: parse error, in file `/var/lib/dpkg/updates/0000' near line 1:
     newline in field name `dists.ubuntu.com>'

  6. #6
    Join Date
    Jul 2006
    Location
    Pittsburgh, PA
    Beans
    130
    Distro
    Ubuntu Development Release

    Re: I'm getting this error message

    Im getting almost the EXACT same message that you are... I posted a thread at http://ubuntuforums.org/showthread.php?t=1069198 with additional details. If you find a solution, could someone let me know how to fix this? I've been trying to figure this out for almost an 2 hours...

  7. #7
    Join Date
    Sep 2005
    Location
    Mexicali, Mexico
    Beans
    3,114
    Distro
    Ubuntu Development Release

    Re: I'm getting this error message

    A similar problem is discussed here.

    You can try removing the offending file:
    Code:
    sudo rm /var/lib/dpkg/updates/0000
    Then update the repository information:
    Code:
    sudo aptitude update && sudo aptitude upgrade
    NOT a morning person...

  8. #8
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: I'm getting this error message

    Quote Originally Posted by cheese123 View Post
    Ok well I changed it to dist, but I still get this message after trying to run dpkg again.

    Code:
    dpkg: parse error, in file `/var/lib/dpkg/updates/0000' near line 1:
     newline in field name `dists.ubuntu.com>'
    You could post the line, I'd guess it should look something like <something-here...dists.ubuntu.com> but personally I'd just rename it and try running update again.
    GRUB2

    Retired.

  9. #9
    Join Date
    Feb 2009
    Beans
    25

    Re: I'm getting this error message

    Now it's giving me this

    Code:
    dpkg: parse error, in file `/var/lib/dpkg/updates/0001' near line 1:
     field name `.4),' must be followed by colon

  10. #10
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: I'm getting this error message

    So how many files do you have in /var/lib/dpkg/updates/ and were they all created at generally the same time? If you have a lot all created at the approximately the same time I'd just use "gksudo nautilus /var/lib/dpkg/", navigate to the updates folder and (at least temporarily) rename it. Note: I do not even have an updates folder. You can see if that is your only problem and then restore the name if you believe you need the contents of that particular folder.
    Last edited by drs305; February 14th, 2009 at 02:01 AM.
    GRUB2

    Retired.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •