Howdy, Stranger!

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


apt-get install curl fails (Openvz Debian 7 x64)
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.

apt-get install curl fails (Openvz Debian 7 x64)

haphanhaphan Member

I reload vps with a fresh template and it fails on very first command apt-get install curl:

dpkg: error processing libssl1.0.0:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up libsasl2-2:amd64 (2.1.25.dfsg1-6+deb7u1) ...
Setting up libldap-2.4-2:amd64 (2.4.31-1+nmu2) ...
Setting up librtmp0:amd64 (2.4+20111222.git4e06e21-1) ...
Setting up libssh2-1:amd64 (1.4.2-1.1) ...
dpkg: dependency problems prevent configuration of libcurl3:amd64:
 libcurl3:amd64 depends on libssl1.0.0 (>= 1.0.1); however:
  Package libssl1.0.0:amd64 is not configured yet.

dpkg: error processing libcurl3:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openssl:
 openssl depends on libssl1.0.0 (>= 1.0.1e-2+deb7u5); however:
  Package libssl1.0.0:amd64 is not configured yet.

Full log here http://pastebin.com/raw.php?i=W2rAWMYr

Does anyone have any idea. This only happens with one provider.

Comments

  • Hi,
    it seems like something went wrong with the libssl1.0.0 package:

    The following packages will be upgraded:
      libssl1.0.0
    
    dpkg: error processing libssl1.0.0:amd64 (--configure):
     subprocess installed post-installation script returned error exit status 10
    

    The following errors result due to the missing libssl1.0.0 lib.

    You could try to reconfigure the library with: dpkg-reconfigure libssl1.0.0 and see if you can get a more verbose error log.

    The best,

    gehaxelt

  • Did you do apt-get update first?

  • NickMNickM Member

    Looks like you probably need to run apt-get -f install to fix all of the broken packages

  • haphanhaphan Member

    sleddog said: Did you do apt-get update first?

    Already did. See attached log

    NickM said: Looks like you probably need to run apt-get -f install to fix all of the broken packages

    Same error occurs.

    gehaxelt said: You could try to reconfigure the library with: dpkg-reconfigure libssl1.0.0 and see if you can get a more verbose error log.

    /usr/sbin/dpkg-reconfigure: libssl1.0.0 is broken or not fully installed

  • NickMNickM Member

    Um, you could try dpkg --configure -a. I've also had success fixing broken package installs by doing an apt-get dist-upgrade

  • It could be your sources list. You could try a standard list of source like:

    deb http://ftp.debian.org/debian wheezy main contrib non-free
    deb http://security.debian.org wheezy/updates main contrib non-free
    

    And run an apt-get update and try again.

  • edited July 2014

    Have you by any chance ran a dist-upgrade from Debian 6 to Debian 7? I have seen such issues mainly happen when people did a dist-upgrade (and we're with OpenVZ here...).

    Can you give me the content of /var/lib/dpkg/info/ and the output of dir sslp[or]* -1 for the same folder?

  • J1021J1021 Member

    Post the results of df -h.

  • tortautortau Member
    edited July 2014

    Had something close to your error message because I messed up the connection settings and apt crapped out and could not build a full list of the repo.

    Try updating your sources to:

    deb http://ftp.us.debian.org/debian/ wheezy main
    deb-src http://ftp.us.debian.org/debian/ wheezy main
    
    deb http://security.debian.org/ wheezy/updates main
    deb-src http://security.debian.org/ wheezy/updates main
    
    # wheezy-updates, previously known as 'volatile'
    deb http://ftp.us.debian.org/debian/ wheezy-updates main
    deb-src http://ftp.us.debian.org/debian/ wheezy-updates main
    

    Then run apt-get update.

  • haphanhaphan Member

    joelgm said: It could be your sources list. You could try a standard list of source like:

    tortau said: Try updating your sources to:

    My source.list is very much standard. apt-get went well also. See full log attached in first post.

    deb http://ftp.us.debian.org/debian stable main
    deb http://ftp.debian.org/debian/ wheezy-updates main
    deb http://security.debian.org/ wheezy/updates main
    

    kcaj said: Post the results of df -h.

    Filesystem      Size  Used Avail Use% Mounted on
    /dev/simfs       25G  225M   25G   1% /
    tmpfs            52M   24K   52M   1% /run
    tmpfs           5.0M     0  5.0M   0% /run/lock
    tmpfs           103M     0  103M   0% /run/shm
    

    NickM said: apt-get dist-upgrade

    hmmm... dist upgrade is not what i want to do just to fix the issue.

  • haphanhaphan Member

    sleddog said: See the first follow-up.

    Adding "Name: libraries/restart-without-asking" line in /var/cache/debconf/config.dat make the issue disappear.

    However, I have an instance with DigitalOcean without having to add above line and just works fine.

  • According to the line added, it maybe due to configuration dialog cannot be brought up.

    Install dialog and/or whiptail might help?

  • haphanhaphan Member

    nullnull said: Install dialog and/or whiptail might help?

    I think you are right. debconf fails to bring up dialog hence the error occurs.

    My provider is aware and simply update the ovz template. Everything is working smoothly now.

    Thank you all for leading to the right direction.

    p/s: Please close this thread if you're moderator.

  • RaymiiRaymii Member
    edited July 2014

    In this case, what you can do as a user, aptitude -f install broken-package, dont accept the first solution but the second.

    Your provider had mixed packages from testing in their stable image.

Sign In or Register to comment.