LinuxQuestions.org
Visit Jeremy's Blog.
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, 01:53 PM   #16
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled

How can I change the sources.list?
 
Old 11-19-2014, 02:05 PM   #17
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
As root or using sudo
Quote:
nano /etc/apt/sources.list
Quote:
sudo nano /etc/apt/sources.list
use the arrow keys to move curse, edit & save(Ctrl+X) make change (y).
 
Old 11-19-2014, 02:08 PM   #18
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
As root or using sudo
use the arrow keys to move curse, edit & save(Ctrl+X) make change (y).
Ok, I have changed it.
I can now make updates with apt-get update without Errors, but I even cannot connect to my phpmyadmin server with 00.000.00.000/phpmyadim on firefox (0 Stands only for a number from 1-9)
 
Old 11-19-2014, 02:40 PM   #19
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Now I tried to reinstall phpmyadmin, so I used the command
Quote:
apt-get --purge remove phpmyadmin
And then
Quote:
apt-get install phpmyadmin
But now I get this Error:
Quote:
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?
Please answer soon!
Thanks
 
Old 11-19-2014, 02:46 PM   #20
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
It's a volunteer forum, you will get an answer when someone has the time and will to give one.

Looks like apt or dpkg is running in the background, perhaps an automated update?
 
Old 11-19-2014, 02:56 PM   #21
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by szboardstretcher View Post
It's a volunteer forum, you will get an answer when someone has the time and will to give one.

Looks like apt or dpkg is running in the background, perhaps an automated update?
When did I say something against that it is a volunteer forum? I am very happy that EDDY1 helps me, but he only can write back once a day so I asked for a faster awnser, because he is the only who can help me..
Sorry if you unterstand it wrong (my English isnīt the best so I donīt know exactly what I write so I am very happy about the help from EDDY1)

What did you mean with apt or dkpg? How can I check that or cancel that?
(I had run a Minecraft Server in the Background but I know have stopped it only ingame with /stop because i canīt use it when my Problem with phpmyadmin isnīt solved)
 
Old 11-19-2014, 03:09 PM   #22
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
When did I say something against that it is a volunteer forum? I am very happy that EDDY1 helps me, but he only can write back once a day so I asked for a faster awnser, because he is the only who can help me..
Sorry if you unterstand it wrong (my English isnīt the best so I donīt know exactly what I write so I am very happy about the help from EDDY1)

What did you mean with apt or dkpg? How can I check that or cancel that?
(I had run a Minecraft Server in the Background but I know have stopped it only ingame with /stop because i canīt use it when my Problem with phpmyadmin isnīt solved)
I answer as soon as I see any post but sometimes I may not provide an answer if there is a good answer on the board, so as not to push the answer to the top of the page.

But as szboardstretcher stated another process in using dpkg. This will happen if you have automatic updates, synaptic or another installation running.

As far as phpmyadmin I know it exists but not how to configure. We can learn together though.
 
Old 11-19-2014, 03:16 PM   #23
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
ok, I will reply within a few minutes, if you write to the present time (or 4 hours before to yet). But the last days you have answered when it was 3 AM (Local time with me).

Thanks,
and did you know how can I check if there are any updates or what can I do?
 
Old 11-19-2014, 03:28 PM   #24
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
ok, I will reply within a few minutes, if you write to the present time (or 4 hours before to yet). But the last days you have answered when it was 3 AM (Local time with me).

Thanks,
and did you know how can I check if there are any updates or what can I do?
I'm here quite often but I've been really busy trying to get a business off the ground. The majority of the time I'm here most of the day. What timezone are you in? That may be part of the explanation also.
 
Old 11-19-2014, 03:30 PM   #25
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
I am in Germany I think (UTC+01:00)
So know it ist 22:30 (or 10:30 PM)

Did you know, how I can solve the problem? :/
And good luck with your business

Last edited by DKI; 11-19-2014 at 03:32 PM.
 
Old 11-19-2014, 03:45 PM   #26
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 purged your package run apt-get update then try to reinstall.
 
Old 11-19-2014, 03:48 PM   #27
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
Since you purged your package run apt-get update then try to reinstall.
Quote:
apt-get update
Error:
Quote:
Get:1 http://ftp.debian.org wheezy-backports Release.gpg [836 B]
Hit http://ftp.de.debian.org wheezy Release.gpg
Get:2 http://ppa.launchpad.net precise Release.gpg [316 B]
Get:3 http://ftp.debian.org wheezy-backports Release [147 kB]
Hit http://ftp.de.debian.org wheezy Release
Hit http://ppa.launchpad.net precise Release
Ign http://ppa.launchpad.net precise Release
Hit http://ftp.de.debian.org wheezy/main amd64 Packages
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex
Hit http://ftp.de.debian.org wheezy/contrib 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/non-free amd64 Packages
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://ftp.debian.org wheezy-backports/main amd64 Packages/DiffIndex
Hit http://ftp.de.debian.org wheezy/contrib Translation-en
Hit http://ftp.de.debian.org wheezy/main Translation-en
Hit http://ppa.launchpad.net precise/main Sources
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/contrib amd64 Packages/DiffIndex
Hit http://ftp.debian.org wheezy-backports/non-free amd64 Packages/DiffIndex
Hit http://ftp.debian.org wheezy-backports/contrib Translation-en/DiffIndex
Hit http://security.debian.org wheezy/updates Release
Hit http://ftp.debian.org wheezy-backports/main Translation-en/DiffIndex
Hit http://ftp.debian.org wheezy-backports/non-free Translation-en/DiffIndex
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
Fetched 148 kB in 1s (142 kB/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
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?
and when I type in
Quote:
apt-get install phpmyadmin
Error:
Quote:
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, 03:49 PM   #28
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
After you get it installed here's some useful documentation along with tutorials.
http://www.phpmyadmin.net/home_page/docs.php

BTW it's almost 2pm here in California/US
 
Old 11-19-2014, 03:52 PM   #29
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
After you get it installed here's some useful documentation along with tutorials.
http://www.phpmyadmin.net/home_page/docs.php

BTW it's almost 2pm here in California/US
But i didnīt get it installed, when phpmyadmin is on my server, I know what to do. But there are the Problems...

BTW its 8 minutes befor 11 PM in Germany
 
Old 11-19-2014, 03:57 PM   #30
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Then you'll have to remove the lock
You need to see what process is running run
Quote:
top
If the process isn't supposed to be running kill it.
Quote:
kill <pid>
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
 
  


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 10:57 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