Results 1 to 7 of 7

Thread: Repairing Interrupted Installation

  1. #1
    Join Date
    Jun 2010
    Beans
    4

    Question Repairing Interrupted Installation

    Hi,
    I was installing chromium web brower. During installation, the system got stuck and I had to reset my computer. Now when I try to install any software, the following error appears

    " The installation could have failed because of an error in the corresponding software package or it was cancelled in an unfriendly way. You have to repair this before you can install or remove any further software."

    Please help me how to fix this.
    Thanks

  2. #2
    Join Date
    Mar 2010
    Location
    Dublin, Ireland
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Repairing Interrupted Installation

    Try opening a terminal window and typing:

    Code:
    sudo apt-get install -f
    This will attempt to correct broken dependencies. Hope it helps
    Matt
    blog.mattrudge.net for extra helpings of geeky Ubuntu goodness
    Get the Ubuntu Weekly Newsletter

  3. #3
    Join Date
    Jun 2010
    Beans
    4

    Re: Repairing Interrupted Installation

    Hey thanks for reply.
    When I run the command you told, it gives the following error

    "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem".
    And when I run "sudo dpkg --configure -a", it gives error "dpkg: parse error, in file '/var/lib/dpkg/updates/0001' near line 0: MSDOS EOF (^Z) in field name `"

    I am new user of Ubuntu and don't know how to resolve it !

  4. #4
    Join Date
    Mar 2010
    Location
    Dublin, Ireland
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Repairing Interrupted Installation

    You can remove the offending update files and try again. So:

    Code:
    sudo rm /var/lib/dpkg/updates/*
    sudo dpkg --configure -a
    Matt
    blog.mattrudge.net for extra helpings of geeky Ubuntu goodness
    Get the Ubuntu Weekly Newsletter

  5. #5
    Join Date
    Jun 2010
    Beans
    4

    Re: Repairing Interrupted Installation

    Hey thanks alot. The issue is resolved now !

  6. #6
    Join Date
    Mar 2010
    Location
    Dublin, Ireland
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Repairing Interrupted Installation

    Great - you're welcome

    If you get chance, could you click on Thread Tools at the top of the thread and mark it as [Solved]?

    Thanks
    Matt
    blog.mattrudge.net for extra helpings of geeky Ubuntu goodness
    Get the Ubuntu Weekly Newsletter

  7. #7
    Join Date
    Jun 2010
    Beans
    4

    Re: Repairing Interrupted Installation

    O yes, I was about to do it but had to go away thus forgot it.

    Now I have marked it as Solved.

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
  •