LinuxQuestions.org
Help answer threads with 0 replies.
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-19-2014, 04:03 PM   #31
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by EDDY1 View Post
Then you'll have to remove the lock
You need to see what process is running run

If the process isn't supposed to be running kill it.

Also you should comment out theses 2 entries
deb http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main
Then run all of the commands that got you to this point
when I type in
Quote:
top
it shows me:
Quote:
1 root 20 0 10608 696 664 S 0 0.0 0:02.41 init [2]
2 root 20 0 0 0 0 S 0 0.0 0:00.00 [kthreadd/38182]
3 root 20 0 0 0 0 S 0 0.0 0:00.00 [khelper/38182]
1321 root 20 0 122m 2740 840 S 0 0.0 0:08.00 /usr/sbin/rsyslog
1394 root 20 0 18832 768 656 S 0 0.0 0:00.26 /usr/sbin/cron
8332 root 20 0 9304 528 524 S 0 0.0 0:00.01 /bin/sh /usr/bin/
8660 mysql 20 0 374m 3488 1792 S 0 0.0 1:46.34 /usr/sbin/mysqld
8661 root 20 0 4040 476 472 S 0 0.0 0:00.00 logger -t mysqld
20550 root 20 0 184m 12m 6488 S 0 0.1 0:03.40 /usr/sbin/apache2
20725 root 20 0 71232 3760 2912 S 0 0.0 0:00.04 sshd: root@notty
20727 root 20 0 12504 928 752 S 0 0.0 0:00.00 /usr/lib/openssh/
21839 root 20 0 49892 744 624 S 0 0.0 0:03.94 /usr/sbin/sshd
22109 www-data 20 0 185m 7648 1240 S 0 0.1 0:00.00 /usr/sbin/apache2
22110 www-data 20 0 184m 6980 768 S 0 0.0 0:00.00 /usr/sbin/apache2
22112 www-data 20 0 185m 7640 1232 S 0 0.1 0:00.00 /usr/sbin/apache2
22113 www-data 20 0 184m 6980 768 S 0 0.0 0:00.00 /usr/sbin/apache2
22114 www-data 20 0 185m 7628 1228 S 0 0.1 0:00.00 /usr/sbin/apache2
22118 www-data 20 0 185m 7628 1228 S 0 0.1 0:00.00 /usr/sbin/apache2
And i donīt know what you mean with
Quote:
Also you should comment out theses 2 entries
deb http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main
Then run all of the commands that got you to this point
 
Old 11-19-2014, 04:09 PM   #32
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
# deb http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main
# deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main
 
Old 11-19-2014, 04:15 PM   #33
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
I changed the sources.list and when I try "apt-get update" it shows me:
Quote:
Hit http://ftp.debian.org wheezy-backports Release.gpg
Hit http://ftp.de.debian.org wheezy Release.gpg
Hit http://ftp.debian.org wheezy-backports Release
Hit http://ftp.de.debian.org wheezy Release
Hit http://ftp.debian.org wheezy-backports/main amd64 Packages/DiffIndex
Hit http://ftp.de.debian.org wheezy/main amd64 Packages
Hit http://ftp.debian.org wheezy-backports/contrib amd64 Packages/DiffIndex
Hit http://ftp.de.debian.org wheezy/contrib amd64 Packages
Hit http://ftp.debian.org wheezy-backports/non-free amd64 Packages/DiffIndex
Hit http://ftp.de.debian.org wheezy/non-free amd64 Packages
Hit http://ftp.debian.org wheezy-backports/contrib Translation-en/DiffIndex
Hit http://ftp.debian.org wheezy-backports/main Translation-en/DiffIndex
Hit http://ftp.de.debian.org wheezy/contrib Translation-en
Hit http://ftp.de.debian.org wheezy/main Translation-en
Hit http://ftp.debian.org wheezy-backports/non-free Translation-en/DiffIndex
Hit http://ftp.de.debian.org wheezy/non-free Translation-en
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://security.debian.org wheezy/updates/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
 
Old 11-19-2014, 04:41 PM   #34
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Did you think, when I reset my complete vServer and than run the comman "apt-get install phpmyadmin" that it works without Problems? (I can reset the complete vServer only with on click by my Serverhosting)
 
Old 11-19-2014, 07:58 PM   #35
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
http://askubuntu.com/questions/45263...y-var-lib-dpkg
Have you rebooted the machine?
Reboot try it again, if that doesn't work you manually remove the lock
http://ubuntuforums.org/showthread.php?t=1858466
 
Old 11-20-2014, 12:43 PM   #36
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
http://askubuntu.com/questions/45263...y-var-lib-dpkg
Have you rebooted the machine?
Reboot try it again, if that doesn't work you manually remove the lock
http://ubuntuforums.org/showthread.php?t=1858466
How can I reboot my vServer?
Did you think, when I reset my complete vServer and than run the comman "apt-get install phpmyadmin" that it works without Problems? (I can reset the complete vServer only with on click by my Serverhosting)
 
Old 11-20-2014, 01:23 PM   #37
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Ok, thanks i found a restart button on my Serverhoster Website.
Now I have installed phpmyadmin sucessful (without Errors) and can use apt-get update and apt-get upgrade without Errors.
But I even cannot connect to phpmyadmin on firefox.

So I have installed phpmyadmin:

1. "apt-get install phpmyadmin"
2. I have clicked on "OK" because I havenīt got a Database
3. The windows were closed and that message shown: "flushing administrative password"
4. I have typed "apt-get install phpmyadmin" again but it is already installed.

So the Problem is now, that (I think) I have not completly installed phpmyadmin and can not connect to phpmyadmin on firefox
 
Old 11-20-2014, 01:36 PM   #38
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Ok you're getting somewhere now. Are you using root password or users password?
 
Old 11-20-2014, 01:39 PM   #39
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
Ok you're getting somewhere now. Are you using root password or users password?
I am looged in to my vServer with root if you mean that
 
Old 11-20-2014, 01:45 PM   #40
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Were you prompted for username & password during install?
Try
Quote:
sudo dpkg-reconfigure -plow phpmyadmin
 
Old 11-20-2014, 01:58 PM   #41
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
Were you prompted for username & password during install?
Try
when I use this command it shows me:
Quote:
lqqqqqqqqqqqqqqqqqqqqqqqqu Configuring phpmyadmin tqqqqqqqqqqqqqqqqqqqqqqqqqk
x x
x Since you are reconfiguring phpmyadmin, you may also want to reinstall x
x the database which it uses. x
x x
x If you wish to reinstall the database for phpmyadmin, you should select x
x this option. If you do not wish to do so (if you are reconfiguring the x
x package for unrelated reasons), you should not select this option. x
x x
x Reinstall database for phpmyadmin? x
x x
x <Yes> <No> x
x x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
 
Old 11-20-2014, 02:21 PM   #42
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Since you have solved the main issue, you mark this thread as solved & start a new thread so that people that know about phpmyadmin can get you going a little quicker. In the mean time I'll be searching for answers to your current probem.
Here is some useful documentation
https://help.ubuntu.com/community/phpMyAdmin
 
Old 11-20-2014, 02:34 PM   #43
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
Since you have solved the main issue, you mark this thread as solved & start a new thread so that people that know about phpmyadmin can get you going a little quicker. In the mean time I'll be searching for answers to your current probem.
Here is some useful documentation
https://help.ubuntu.com/community/phpMyAdmin
Okey thanks, i have marked this thread as solved and have now a new Thread:
http://www.linuxquestions.org/questi...73#post5272573

The Link which you send me, is for the "standart" Installation but I have some Problems...
see more in the new Thread and thanks a lot for your help!
 
Old 11-20-2014, 02:41 PM   #44
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're welcome see you at the other thread
 
  


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 01:09 PM.

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