Results 1 to 6 of 6

Thread: Apt is broken!

  1. #1
    Join Date
    Dec 2004
    Beans
    75

    Apt is broken!

    "
    dpkg: parse error, in file `/var/lib/dpkg/status' near line 1668 package `openoffice.org-bin':
    missing version
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    "

    This is the only message I get whenever apt gets aorund to installing things, evne though it downloads finely. What does it mean, how do I fix it?

  2. #2
    Join Date
    Oct 2004
    Location
    USA
    Beans
    3,774

    Re: Apt is broken!

    It appears the status file maybe be corrupted around like 1668.. go look in /var/lib/dpkg and see if you have a status-old file if so copy it over status and try.

    There is also some helpful information here for recovering your status file.
    http://www.linuxmafia.com/faq/Debian...e-rebuild.html
    My Blog | Forum Search | Forum Guidelines
    Please don't PM support questions--post a thread so everyone can benefit!

  3. #3
    Join Date
    Feb 2005
    Location
    Ocala, FL
    Beans
    352
    Distro
    Ubuntu Breezy 5.10

    Re: Apt is broken!

    try to remove and install once again openoffice.org-bin

    if this doesnt work. do
    Code:
    sudo dpkg-reconfigure openoffice.org-bin
    Excuse for excessive game playing, #4:
    "Game? No, I think this is some kind of
    computer virus that has taken over the screen.
    I've been trying to get rid of it all day."

  4. #4
    Join Date
    Dec 2004
    Beans
    75

    Re: Apt is broken!

    Quote Originally Posted by cdhotfire
    try to remove and install once again openoffice.org-bin

    if this doesnt work. do
    Code:
    sudo dpkg-reconfigure openoffice.org-bin
    Should I do apt-get remove --purge or just apt-get remove?

    Ubuntu-geek, I will try that in case of failure, as it looks more involved. Thank you both for responding!

  5. #5
    Join Date
    Dec 2004
    Beans
    75

    Re: Apt is broken!

    Quote Originally Posted by CowPie
    Should I do apt-get remove --purge or just apt-get remove?

    Ubuntu-geek, I will try that in case of failure, as it looks more involved. Thank you both for responding!
    OK, I just tried post #3. THat openoffice.org-bin file isn't instaled, strangely! So I tried post #2 and it did work. Thanks again.

    apt-get -f install is what apt told me to do, and we'll see how it goes..

  6. #6
    Join Date
    Oct 2004
    Location
    Kingston, On
    Beans
    Hidden!

    Re: Apt is broken!

    sudo dpkg --clear-avail

    That may have worked for you, too.

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
  •