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.
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)
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 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?Looks like you probably need to run
apt-get -f install
to fix all of the broken packagesAlready did. See attached log
Same error occurs.
/usr/sbin/dpkg-reconfigure: libssl1.0.0 is broken or not fully installed
Um, you could try
dpkg --configure -a
. I've also had success fixing broken package installs by doing anapt-get dist-upgrade
It could be your sources list. You could try a standard list of source like:
And run an
apt-get update
and try again.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?
Post the results of
df -h
.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:
Then run
apt-get update
.My source.list is very much standard.
apt-get
went well also. See full log attached in first post.hmmm... dist upgrade is not what i want to do just to fix the issue.
https://lists.debian.org/debian-user/2014/04/msg00897.html
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?
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.
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.