Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Debian Jessie - Unable to install ibncurses5 // Any help will be appeciated
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Debian Jessie - Unable to install ibncurses5 // Any help will be appeciated

edited October 2016 in Help
> root@ns3009102:~# apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
>  bash : PreDepends: libncurses5 (>= 5.5-5~) but it is not installed
>         Recommends: bash-completion (>= 20060301-0) but it is not installed
>  bsdmainutils : Depends: libncurses5 (>= 5.5-5~) but it is not installed
>  gdb : Depends: libncurses5 (>= 5.5-5~) but it is not installed
>  guile-2.0-libs : Depends: libncurses5 (>= 5.5-5~) but it is not installed
>  mailutils : Depends: libncurses5 (>= 5.5-5~) but it is not installed
>  mtr-tiny : Depends: libncurses5 (>= 5.5-5~) but it is not installed
>  mysql-community-client : Depends: libncurses5 (>= 5.5-5~) but it is not installed
>  procps : Depends: libncurses5 (>= 5.5-5~) but it is not installed
> E: Unmet dependencies. Try using -f.
> root@ns3009102:~#

Comments

  • root@ns3009102:~# apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... failed.
    The following packages have unmet dependencies:
     bash : PreDepends: libncurses5 (>= 5.5-5~) but it is not installed
            Recommends: bash-completion (>= 20060301-0) but it is not installed
     bsdmainutils : Depends: libncurses5 (>= 5.5-5~) but it is not installed
     gdb : Depends: libncurses5 (>= 5.5-5~) but it is not installed
     guile-2.0-libs : Depends: libncurses5 (>= 5.5-5~) but it is not installed
     mailutils : Depends: libncurses5 (>= 5.5-5~) but it is not installed
     mtr-tiny : Depends: libncurses5 (>= 5.5-5~) but it is not installed
     mysql-community-client : Depends: libncurses5 (>= 5.5-5~) but it is not installed
     procps : Depends: libncurses5 (>= 5.5-5~) but it is not installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    
  • root@ns3009102:~# sudo dpkg --configure -a
    Setting up libc-bin (2.24-3) ...
    /bin/sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
    dpkg: error processing package libc-bin (--configure):
     subprocess installed post-installation script returned error exit status 127
    Errors were encountered while processing:
     libc-bin
    root@ns3009102:~# apt-cache policy libncurses5-dev libncurses5
    libncurses5-dev:
      Installed: (none)
      Candidate: 5.9+20140913-1+b1
      Version table:
         5.9+20140913-1+b1 0
            500 http://debian.mirrors.ovh.net/debian/ jessie/main amd64 Packages
    libncurses5:
      Installed: (none)
      Candidate: 5.9+20140913-1+b1
      Version table:
         5.9+20140913-1+b1 0
            500 http://debian.mirrors.ovh.net/debian/ jessie/main amd64 Packages
    You have new mail in /var/mail/root
    root@ns3009102:~#
    
  • I don't have the full context of what is going on or what the state of your system is, but to quickly get you back to moving on with things, here are a few ideas:

    1. why don't you just manually install libncurses5 (hopefully apt-get install libncurses5 will do it for you or let you know what gives).

    2. If apt is misbehaving (can't think of a reason - I assume you don't have mixed repos like jessie vs testing etc), and if it is only libncurses5, just manually download the deb and install via dpkg-deb and move on to the rest of your apt-get (as in your post). You may have to manually install libtinfo5 which is a dependency and perhaps a few more packages - I don't suspect this to be a very long list so you should able to manually install them without really descending into dependency hell.

    3. Are your mirrors uptodate? (ovh.net)? Why not try some other mirror and see if that helps.

    Hopefully this helps you move on with stuff...

Sign In or Register to comment.