LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-16-2014, 03:46 PM   #1
DKI
Member
 
Registered: Nov 2014
Posts: 46

Rep: Reputation: Disabled
Exclamation 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!
 
Old 11-16-2014, 07:14 PM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
It's possible that a package installation was aborted, or otherwise failed before it was completely installed.

Try running

Code:
dpkg --configure -a
Note any errors, if any.

If there are any packages that remain to be configured, it will do so if possible, and you can try installing again.
 
Old 11-16-2014, 07:37 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
post output of
Quote:
cat /etc/apt/sources.list
 
Old 11-17-2014, 11:50 AM   #4
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Question

Quote:
It's possible that a package installation was aborted, or otherwise failed before it was completely installed.

Try running

Code:

dpkg --configure -a

Note any errors, if any.

If there are any packages that remain to be configured, it will do so if possible, and you can try installing again.
I typed in the command and than again apt-get install phpmyadmin but it is the same error


Quote:
post output of
Quote:
cat /etc/apt/sources.list
I have typed in the command and this was shown:
Quote:
###############################################################################
# Rackster APT-Mirror
#

deb http://apt.rackster-server.ch/debian/packages wheezy main contrib non-free
deb http://apt.rackster-server.ch/debian/security wheezy/updates main contrib non-free



###############################################################################
# Backupmirror
#

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



###############################################################################
# Backports
#

deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
deb http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main

Can you help me please?
Thanks


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)

W: Failed to fetch http://apt.rackster-server.ch/debian...es/Release.gpg Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

E: Some index files failed to download. They have been ignored, or old ones used instead.

Last edited by DKI; 11-17-2014 at 12:43 PM.
 
Old 11-17-2014, 12:55 PM   #5
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
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
PLEASE HELP!
 
Old 11-17-2014, 02:21 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You need to comment out apt-rackster with a # as explained here y the creator of apt-rackster
http://stackoverflow.com/questions/2...e-debian-error
After commenting out rackster do
Quote:
apt-get clean
apt-get update
apt-get upgrade
apt-get dist-upgrade

Last edited by EDDY1; 11-17-2014 at 02:24 PM.
 
Old 11-17-2014, 02:45 PM   #7
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
when i try to use "apt-get update" I get this Error:
Quote:
apt-get update
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
Hit http://security.debian.org wheezy/updates/non-free amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://ftp.de.debian.org wheezy Release.gpg
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]
Hit http://ftp.de.debian.org wheezy Release
Hit http://ftp.debian.org wheezy-backports Release.gpg
Hit http://ppa.launchpad.net precise Release
Ign http://ppa.launchpad.net precise Release
Hit http://ftp.debian.org wheezy-backports Release
Hit http://ftp.de.debian.org wheezy/main amd64 Packages
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex
Hit http://ftp.debian.org wheezy-backports/main amd64 Packages/DiffIndex
Hit http://ftp.de.debian.org wheezy/contrib amd64 Packages
Hit http://ftp.de.debian.org wheezy/non-free amd64 Packages
Ign http://ppa.launchpad.net precise/main amd64 Packages/DiffIndex
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://ftp.de.debian.org wheezy/contrib Translation-en
Hit http://ftp.debian.org wheezy-backports/contrib amd64 Packages/DiffIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ftp.debian.org wheezy-backports/non-free amd64 Packages/DiffIndex
Hit http://ftp.de.debian.org wheezy/main Translation-en
Hit http://ftp.debian.org wheezy-backports/contrib Translation-en/DiffIndex
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ftp.de.debian.org wheezy/non-free Translation-en
Hit http://ftp.debian.org wheezy-backports/main Translation-en/DiffIndex
Hit http://ftp.debian.org wheezy-backports/non-free Translation-en/DiffIndex
Err http://apt.rackster-server.ch wheezy Release.gpg
Could not connect to apt.rackster-server.ch:80 (213.133.99.97). - connect (110: Connection timed out)
Err http://apt.rackster-server.ch wheezy/updates Release.gpg
Unable to connect to apt.rackster-server.ch:http:
Ign http://apt.rackster-server.ch wheezy Release
Ign http://apt.rackster-server.ch wheezy/updates Release
Ign http://apt.rackster-server.ch wheezy/main amd64 Packages/DiffIndex
Ign http://apt.rackster-server.ch wheezy/contrib amd64 Packages/DiffIndex
Ign http://apt.rackster-server.ch wheezy/non-free amd64 Packages/DiffIndex
Ign http://apt.rackster-server.ch wheezy/updates/main amd64 Packages/DiffIndex
Ign http://apt.rackster-server.ch wheezy/updates/contrib amd64 Packages/DiffIndex
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 316 B in 1min 3s (5 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)

W: Failed to fetch http://apt.rackster-server.ch/debian...es/Release.gpg Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

E: Some index files failed to download. They have been ignored, or old ones used instead.
 
Old 11-17-2014, 03:01 PM   #8
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by EDDY1 View Post
You need to comment out apt-rackster with a # as explained here y the creator of apt-rackster
http://stackoverflow.com/questions/2...e-debian-error
After commenting out rackster do
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."
 
Old 11-17-2014, 03:51 PM   #9
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
You need to comment out apt-rackster with a # as explained here y the creator of apt-rackster
http://stackoverflow.com/questions/2...e-debian-error
After commenting out rackster do
What exactly did you mean with
Quote:
ou need to comment out apt-rackster with a # as explained here y the creator of apt-rackster
what is the command that i have to use?
 
Old 11-17-2014, 04:23 PM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
nano /etc/apt.sources.list
# deb http://apt.rackster-server.ch/debian/packages wheezy main contrib non-free
# deb http://apt.rackster-server.ch/debian/security wheezy/updates main contrib non-free

Last edited by EDDY1; 11-17-2014 at 06:17 PM.
 
Old 11-17-2014, 06:22 PM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by DKI View Post
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.
 
Old 11-18-2014, 09:15 AM   #12
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Thank for your help, but it even doesnīt work.
I hope you can help me soon..
When I use
Quote:
nano /etc/apt.sources.list
it show me now:
Quote:
# deb http://apt.rackster-server.ch/debian/packages wheezy main contrib non-free
# deb http://apt.rackster-server.ch/debian/security wheezy/updates main contrib non-free
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)

W: Failed to fetch http://apt.rackster-server.ch/debian...es/Release.gpg Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...Translation-en Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

W: Failed to fetch http://apt.rackster-server.ch/debian...amd64/Packages Unable to connect to apt.rackster-server.ch:http:

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 write back soon! Thanks
 
Old 11-18-2014, 07:55 PM   #13
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
post your new sources.list
 
Old 11-19-2014, 07:18 AM   #14
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
post your new sources.list
This is shown, when I use the command "cat /etc/apt/sources.list"
Quote:
###############################################################################
# Rackster APT-Mirror
#

deb http://apt.rackster-server.ch/debian/packages wheezy main contrib non-free
deb http://apt.rackster-server.ch/debian/security wheezy/updates main contrib non-free



###############################################################################
# Backupmirror
#

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



###############################################################################
# Backports
#

deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
deb http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main

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!
 
Old 11-19-2014, 01:38 PM   #15
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Try this
Quote:
###############################################################################
# Rackster APT-Mirror
#

# deb http://apt.rackster-server.ch/debian/packages wheezy main contrib non-free
# deb http://apt.rackster-server.ch/debian/security wheezy/updates main contrib non-free



###############################################################################
# Backupmirror
#

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



###############################################################################
# Backports
#

deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
deb http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main
Quote:
apt-get clean
apt-get update
apt-get upgrade
apt-get dist-upgrade
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
E: Sub-process /usr/bin/dpkg returned an error code (1) benjaminosis Linux - Newbie 1 03-09-2012 07:21 PM
Sub-Process /usr/bin/dpkg returned an error code thoufiq Linux - Server 1 04-30-2011 10:29 PM
Sub-process /usr/bin/dpkg returned an error code (1) yuri16 Linux - Software 6 09-03-2009 07:41 PM
E: Sub-process /usr/bin/dpkg returned an error code (1) shogun1234 Linux - Software 1 05-17-2008 09:03 AM
Sub-process /usr/bin/dpkg returned an error code kako13 Debian 2 05-15-2008 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration