Results 1 to 5 of 5

Thread: liberror-perl install hangs at Unpacking replacement liberror-perl

  1. #1
    Join Date
    Jun 2006
    Beans
    61

    liberror-perl install hangs at Unpacking replacement liberror-perl

    On Ubuntu 10.10 meerkat server amd46, I'm having a problem with the git dependency liberror-perl_0.17-1 hanging at with the following step:

    Preparing to replace liberror-perl 0.17-1 (using .../liberror-perl_0.17-1_all.deb) ...
    Unpacking replacement liberror-perl ...

    This never returns, so I kill the aptitude process, remove /var/lib/dpkg/lock, and run sudo dpkg --configure -a.

    Unfortunately, this package liberror-perl is now partially installed, and aptitude will try to finish installing it, to no effect. Any attempt to sudo aptitude purge liberror-perl hangs at the same point.

    UPDATE: I did apparently remove the liberror-perl package with the following:

    /var/lib/dpkg$ sudo dpkg --force-all -r liberror-perl
    dpkg: warning: overriding problem because --force enabled:
    Package is in a very bad inconsistent state - you should
    reinstall it before attempting a removal.
    (Reading database ...
    dpkg: warning: files list file for package `liberror-perl' missing, assuming package has no files currently installed.
    (Reading database ... 57080 files and directories currently installed.)
    Removing liberror-perl ...

    I still would like to get git installed though. This package is a dependency.

    Thank you for any suggestions, this is fairly urgent to complete a machine deployment today.
    Last edited by jeffk; October 17th, 2010 at 04:45 PM. Reason: Update further progress on issue

  2. #2
    Join Date
    Nov 2008
    Beans
    15

    Re: liberror-perl install hangs at Unpacking replacement liberror-perl

    Even I am getting same problem on Ubuntu 10.10. I think it can happen if the .deb file is broken, is that possible?

  3. #3
    Join Date
    Feb 2011
    Beans
    1

    Re: liberror-perl install hangs at Unpacking replacement liberror-perl

    Have you resolved the issue? Please post if you did so.

  4. #4
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

    Re: liberror-perl install hangs at Unpacking replacement liberror-perl

    Quote Originally Posted by Krishna_stan View Post
    Have you resolved the issue? Please post if you did so.
    In most cases, cleaning apt-get cache helps.

    Code:
    sudo apt-get clean
    sudo apt-get autoclean
    If you have got the same issue, please post the complete output from your Terminal.

    Code:
    sudo dpkg --configure -a

  5. #5
    Join Date
    Jul 2007
    Beans
    2

    Re: liberror-perl install hangs at Unpacking replacement liberror-perl

    Hi

    I was also hit by this exact problem, also for me it was when trying to install git, and the error was in unpacking liberror-perl.

    I did sudo kill on the apt-get process, did apt-get [auto]clean, removed the lock file and retried, but it wouldn't work. In fact, now also other installs hanged.

    I eventually did "ps aux|grep dpkg" and realized that when killing the apt-get process, in fact the failed dpkg process had been left hanging.

    I then restarted the computer, again did apt-get [auto]clean, and after this both apt-get upgrade and apt-get install git worked fine.

    Possibly liberror-perl is corrupted on some mirror, and on the second try I got a good one and it worked. But the key is to also restart between. (Or know exactly what processes you have to kill.)

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
  •