[SOLVED] E: Sub-process /usr/bin/dpkg returned an error code (1)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hey,
i have tried to install PhpMyAdmin on my vServer with
Quote:
apt-get install phpmyadmin
but everytime I got this Error:
Quote:
dpkg: error processing php5-cli (--configure):
dependency problems - leaving unconfigured
Setting up libapr1 (1.4.6-3+deb7u1) ...
dpkg: dependency problems prevent configuration of libaprutil1:
libaprutil1 depends on libssl1.0.0 (>= 1.0.0); however:
Package libssl1.0.0:amd64 is not configured yet.
dpkg: error processing libaprutil1 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libaprutil1-dbd-sqlite3:
libaprutil1-dbd-sqlite3 depends on libaprutil1 (= 1.4.1-3); however:
Package libaprutil1 is not configured yet.
dpkg: error processing libaprutil1-dbd-sqlite3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libaprutil1-ldap:
libaprutil1-ldap depends on libaprutil1 (= 1.4.1-3); however:
Package libaprutil1 is not configured yet.
dpkg: error processing libaprutil1-ldap (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2.2-bin:
apache2.2-bin depends on libaprutil1 (>= 1.4.0); however:
Package libaprutil1 is not configured yet.
apache2.2-bin depends on libaprutil1-dbd-sqlite3 | libaprutil1-dbd-mysql | libaprutil1-dbd-odbc | libaprutil1-dbd-pgsql | libaprutil1-dbd-freetds; however:
Package libaprutil1-dbd-sqlite3 is not configured yet.
Package libaprutil1-dbd-mysql is not installed.
Package libaprutil1-dbd-odbc is not installed.
Package libaprutil1-dbd-pgsql is not installed.
Package libaprutil1-dbd-freetds is not installed.
apache2.2-bin depends on libaprutil1-ldap; however:
Package libaprutil1-ldap is not configured yet.
apache2.2-bin depends on libssl1.0.0 (>= 1.0.1); however:
Package libssl1.0.0:amd64 is not configured yet.
dpkg: error processing apache2.2-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2-utils:
apache2-utils depends on libaprutil1 (>= 1.2.7+dfsg); however:
Package libaprutil1 is not configured yet.
apache2-utils depends on libssl1.0.0 (>= 1.0.0); however:
Package libssl1.0.0:amd64 is not configured yet.
dpkg: error processing apache2-utils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2.2-common:
apache2.2-common depends on apache2.2-bin (= 2.2.22-13+deb7u3); however:
Package apache2.2-bin is not configured yet.
apache2.2-common depends on apache2-utils; however:
Package apache2-utils is not configured yet.
dpkg: error processing apache2.2-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2.2-common (= 2.2.22-13+deb7u3); however:
Package apache2.2-common is not configured yet.
apache2-mpm-prefork depends on apache2.2-bin (= 2.2.22-13+deb7u3); however:
Package apache2.2-bin is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on libssl1.0.0 (>= 1.0.0); however:
Package libssl1.0.0:amd64 is not configured yet.
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-itk is not installed.
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not configured yet.
dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-gd:
php5-gd depends on phpapi-20100525; however:
Package phpapi-20100525 is not installed.
Package libapache2-mod-php5 which provides phpapi-20100525 is not configured yet.
Package php5-cli which provides phpapi-20100525 is not configured yet.
dpkg: error processing php5-gd (--configure):
dependency problems - leaving unconfigured
Setting up libmcrypt4 (2.5.8-3.1) ...
dpkg: dependency problems prevent configuration of php5-mcrypt:
php5-mcrypt depends on phpapi-20100525; however:
Package phpapi-20100525 is not installed.
Package libapache2-mod-php5 which provides phpapi-20100525 is not configured yet.
Package php5-cli which provides phpapi-20100525 is not configured yet.
dpkg: error processing php5-mcrypt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-mysql:
php5-mysql depends on phpapi-20100525; however:
Package phpapi-20100525 is not installed.
Package libapache2-mod-php5 which provides phpapi-20100525 is not configured yet.
Package php5-cli which provides phpapi-20100525 is not configured yet.
dpkg: error processing php5-mysql (--configure):
dependency problems - leaving unconfigured
Setting up sgml-base (1.26+nmu4) ...
Setting up dbconfig-common (1.8.47+nmu1) ...
Creating config file /etc/dbconfig-common/config with new version
dpkg: dependency problems prevent configuration of libsasl2-modules:amd64:
libsasl2-modules:amd64 depends on libssl1.0.0 (>= 1.0.0); however:
Package libssl1.0.0:amd64 is not configured yet.
dpkg: error processing libsasl2-modules: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.
dpkg: error processing openssl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ssl-cert:
ssl-cert depends on openssl (>= 0.9.8g-9); however:
Package openssl is not configured yet.
dpkg: error processing ssl-cert (--configure):
dependency problems - leaving unconfigured
Setting up xml-core (0.13+nmu2) ...
dpkg: dependency problems prevent configuration of phpmyadmin:
phpmyadmin depends on libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5; however:
Package libapache2-mod-php5 is not configured yet.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not installed.
Package php5-fpm is not installed.
Package php5 is not installed.
phpmyadmin depends on php5-mysql | php5-mysqli | php5-mysqlnd; however:
Package php5-mysql is not configured yet.
Package php5-mysqli is not installed.
Package php5-mysqlnd is not installed.
phpmyadmin depends on php5-mcrypt; however:
Package php5-mcrypt is not configured yet.
dpkg: error processing phpmyadmin (--configure):
dependency problems - leaving unconfigured
Processing triggers for sgml-base ...
Errors were encountered while processing:
libssl1.0.0:amd64
php5-cli
libaprutil1
libaprutil1-dbd-sqlite3
libaprutil1-ldap
apache2.2-bin
apache2-utils
apache2.2-common
apache2-mpm-prefork
libapache2-mod-php5
php5-gd
php5-mcrypt
php5-mysql
libsasl2-modules:amd64
openssl
ssl-cert
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am really new in Linux and donīt know what to do.
Thanks for answer!
EDIT:
By using apt-get update know I have this Error:
Quote:
x
Ign http://apt.rackster-server.ch wheezy/updates/non-free amd64 Packages/DiffIndex
Err http://apt.rackster-server.ch wheezy/contrib Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/main Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/non-free Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/contrib Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/main Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/non-free Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/main amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/contrib amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/non-free amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/main amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/contrib amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/non-free amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Fetched 616 kB in 1min 3s (9773 B/s)
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
W: Failed to fetch http://apt.rackster-server.ch/debian...zy/Release.gpg Could not connect to apt.rackster-server.ch:80 (213.133.99.97). - connect (110: Connection timed out)
Know it is possible to install phpmyadmin but not completly.
I can choose a passwort and than get this Error:
Quote:
lqqqqqqqqqqqqqqqqqqqqqqqqu Configuring phpmyadmin tqqqqqqqqqqqqqqqqqqqqqqqqqk
x x
x An error occurred while installing the database: x
x x
x ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using x
x password: YES) x
x x
x If at this point you choose "retry", you will be prompted with all the x
x configuration questions once more and another attempt will be made at x
x performing the operation. "retry (skip questions)" will immediately x
x attempt the operation again, skipping all questions. If you choose x
x "abort", the operation will fail and you will need to downgrade, x
x reinstall, reconfigure this package, or otherwise manually intervene to x
x continue using it. If you choose "ignore", the operation will continue, x
x ignoring further errors from dbconfig-common. x
x x
x <Ok> x
x x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
I try it with the Error and know when i use "apt-get install phpmyadmin" It shows:
Quote:
Reading package lists... Done
Building dependency tree
Reading state information... Done
phpmyadmin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
But when i try to connect in the Internet with "00.000.00.000/phpmyadmin" (0 stands for a number from 0-9)
I got this Error in the Internet: "The requested URL /phpmyadmin was not found on this server."
I try it with the Error and know when i use "apt-get install phpmyadmin" It shows:
But when i try to connect in the Internet with "00.000.00.000/phpmyadmin" (0 stands for a number from 0-9)
I got this Error in the Internet: "The requested URL /phpmyadmin was not found on this server."
If you already have it installed then you have to configure it, but, you won't get updates if you don't correct your /etc/apt/sources.list right.
i donīt know, if I did that right what you mean.
Please say every stop single (step by step) because I am really new but it is important, that it works soon
And when I try
Quote:
apt-get update
it works till this Error:
Quote:
x
Ign http://apt.rackster-server.ch wheezy/updates/non-free amd64 Packages/DiffIndex
Err http://apt.rackster-server.ch wheezy/contrib Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/main Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/non-free Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/contrib Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/main Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/non-free Translation-en
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/main amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/contrib amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/non-free amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/main amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/contrib amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Err http://apt.rackster-server.ch wheezy/updates/non-free amd64 Packages
Unable to connect to apt.rackster-server.ch:http:
Fetched 148 kB in 1min 3s (2347 B/s)
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
W: Failed to fetch http://apt.rackster-server.ch/debian...zy/Release.gpg Could not connect to apt.rackster-server.ch:80 (213.133.99.97). - connect (110: Connection timed out)
E: Some index files failed to download. They have been ignored, or old ones used instead.
I canīt connect to my server with "00.000.00.000/phpmyadmin" but when I try
Quote:
apt-get install phpmyadmin
it shows me:
Quote:
Reading package lists... Done
Building dependency tree
Reading state information... Done
phpmyadmin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Please describe what I have to do step by step!
Because it is very imortant, and you only write back once a day.
But thank you very much for your help!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.