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

Thread: Won't update after failed+crashed update.

  1. #1
    Join Date
    Jul 2011
    Location
    Fremont, CA
    Beans
    6
    Distro
    Ubuntu 11.04 Natty Narwhal

    Won't update after failed+crashed update.

    I failed an update and my computer crashed, and my update manager won't let me do a partial upgrade. When I press close:
    Software index is broken

    It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first.

    When I open Synaptic Package Manager:
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
    E: _cache->open() failed, please report.

    When I run sudo apt-get install -f:
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

    When I run sudo dpkg --configure -a:
    dpkg: error: parsing file '/var/lib/dpkg/updates/0178' near line 0: E0F after field name`'

    What do I do?
    Now I'm getting this error:
    Package operation failed

    The installation or removal of a software package failed.


    installArchives() failed:
    Extracting templates from packages: 41%%
    Extracting templates from packages: 82%%
    Extracting templates from packages: 100%%
    Preconfiguring packages ...

    Extracting templates from packages: 41%%
    Extracting templates from packages: 82%%
    Extracting templates from packages: 100%%
    Preconfiguring packages ...

    Extracting templates from packages: 41%%
    Extracting templates from packages: 82%%
    Extracting templates from packages: 100%%
    Preconfiguring packages ...
    (Reading database ...
    (Reading database ... 5%%
    (Reading database ... 10%%
    (Reading database ... 15%%
    (Reading database ... 20%%
    (Reading database ... 25%%
    (Reading database ... 30%%
    (Reading database ... 35%%
    (Reading database ... 40%%
    (Reading database ... 45%%
    (Reading database ... 50%%
    (Reading database ... 55%%
    (Reading database ... 60%%dpkg: unrecoverable fatal error, aborting:
    files list file for package 'libreoffice-impress' is missing final newline

    What do I do?
    Last edited by LotSX; July 27th, 2011 at 10:50 PM.

  2. #2
    Join Date
    Jun 2007
    Location
    K-o-T,
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Won't update after failed+crashed update.

    Quote Originally Posted by LotSX View Post
    I failed an update and my computer crashed, and my update manager won't let me do a partial upgrade. When I press close:
    Software index is broken

    It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first.

    When I open Synaptic Package Manager:
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
    E: _cache->open() failed, please report.

    When I run sudo apt-get install -f:
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

    When I run sudo dpkg --configure -a:
    dpkg: error: parsing file '/var/lib/dpkg/updates/0178' near line 0: E0F after field name`'

    What do I do?

    Open a terminal and run
    Code:
    sudo rm /var/lib/dpkg/updates/*
    After that run
    Code:
    sudo dpkg --configure -a
    and see if that fixes it.

    Good Luck
    Hypertension = Take with a pinch of salt
    | Psychocats | Ubuntu Documentation | Howto [Solved] | BBcode list | Brother Website |

  3. #3
    Join Date
    Jul 2011
    Location
    Fremont, CA
    Beans
    6
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Won't update after failed+crashed update.

    It worked, thanks a bunch!

    EDIT: Except now I'm getting this error:
    Package operation failed

    The installation or removal of a software package failed.


    installArchives() failed:
    Extracting templates from packages: 41%%
    Extracting templates from packages: 82%%
    Extracting templates from packages: 100%%
    Preconfiguring packages ...

    Extracting templates from packages: 41%%
    Extracting templates from packages: 82%%
    Extracting templates from packages: 100%%
    Preconfiguring packages ...

    Extracting templates from packages: 41%%
    Extracting templates from packages: 82%%
    Extracting templates from packages: 100%%
    Preconfiguring packages ...
    (Reading database ...
    (Reading database ... 5%%
    (Reading database ... 10%%
    (Reading database ... 15%%
    (Reading database ... 20%%
    (Reading database ... 25%%
    (Reading database ... 30%%
    (Reading database ... 35%%
    (Reading database ... 40%%
    (Reading database ... 45%%
    (Reading database ... 50%%
    (Reading database ... 55%%
    (Reading database ... 60%%dpkg: unrecoverable fatal error, aborting:
    files list file for package 'libreoffice-impress' is missing final newline
    Last edited by LotSX; July 27th, 2011 at 10:48 PM.

  4. #4
    Join Date
    Jun 2007
    Location
    K-o-T,
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Won't update after failed+crashed update.

    EDIT: Except now I'm getting this error:
    Package operation failed
    What command are you using?

    Run from a terminal
    Code:
    sudo apt-get clean
    sudo apt-get update && sudo apt-get upgrade
    and if you get any errors,post the output of those commands.

    Good Luck
    Hypertension = Take with a pinch of salt
    | Psychocats | Ubuntu Documentation | Howto [Solved] | BBcode list | Brother Website |

  5. #5
    Join Date
    Jul 2011
    Location
    Fremont, CA
    Beans
    6
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Won't update after failed+crashed update.

    I was using update manager when getting that error message.

    After I ran:
    sudo apt-get clean
    sudo apt-get update && sudo apt-get upgrade

    I got this:
    Preconfiguring packages ...
    (Reading database ... 60%dpkg: unrecoverable fatal error, aborting:
    files list file for package 'libreoffice-impress' is missing final newline
    E: Sub-process /usr/bin/dpkg returned an error code (2)

  6. #6
    Join Date
    Jun 2007
    Location
    K-o-T,
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Won't update after failed+crashed update.

    Quote Originally Posted by LotSX View Post
    I was using update manager when getting that error message.

    After I ran:
    sudo apt-get clean
    sudo apt-get update && sudo apt-get upgrade

    I got this:
    Preconfiguring packages ...
    (Reading database ... 60%dpkg: unrecoverable fatal error, aborting:
    files list file for package 'libreoffice-impress' is missing final newline
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    Open Software Sources either through the Synaptic Package Manager or Update Manager and change your Download Server to the Main Server.

    Then run
    Code:
    sudo apt-get clean
    sudo apt-get update && sudo apt-get upgrade
    again.

    If that works,don't forget to change the server back to your local server so you can get the faster downloads.

    Good Luck
    Hypertension = Take with a pinch of salt
    | Psychocats | Ubuntu Documentation | Howto [Solved] | BBcode list | Brother Website |

  7. #7
    Join Date
    Jul 2011
    Location
    Fremont, CA
    Beans
    6
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Won't update after failed+crashed update.

    Same error,

    Preconfiguring packages ...
    (Reading database ... 60%dpkg: unrecoverable fatal error, aborting:
    files list file for package 'libreoffice-impress' is missing final newline
    E: Sub-process /usr/bin/dpkg returned an error code (2)

    Also: Why is it that I can't install the other updates when I disable installing libreoffice-impress? I tried that too with Update Manager and it still gives error on libreoffice-impress and won't let me install the other updates.
    Last edited by LotSX; August 22nd, 2011 at 07:40 PM.

  8. #8
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: Won't update after failed+crashed update.

    sounds like error in the source list
    Dont miss anything even it is small. one small pin is enough to bring down a man.


  9. #9
    Join Date
    Jul 2011
    Location
    Fremont, CA
    Beans
    6
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Won't update after failed+crashed update.

    How do I fix that?

  10. #10
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: Won't update after failed+crashed update.

    ok open synaptic package manager , in the quick-filter give libreoffice-impress . click at mark for re-installation and re-install it
    Dont miss anything even it is small. one small pin is enough to bring down a man.


Page 1 of 2 12 LastLast

Tags for this Thread

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
  •