LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-03-2006, 05:20 PM   #1
Shiroku
LQ Newbie
 
Registered: Jun 2006
Distribution: Kubuntu Dapper Drake
Posts: 21

Rep: Reputation: 15
adept problem (on Kubuntu)


When I open adept on my Kubuntu Dapper Drake, there is an alert:
Another process is using it (or apt command).
And I can't open adept...
I restarted the OS, but there is the same problem...
How I can resolv it?
 
Old 06-04-2006, 01:23 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You could try the ps command to see if another process of apt or adept is running for some reason..or remove the pid file.

Code:
ps -e |less
and you can scroll through the processes currently going on. If you find apt or adept or such process running (make sure you aren't running apt or adept yourself), kill it with

Code:
kill xxx
where xxx is the process number, or

Code:
killall yyyy
where yyyy is the name of the process. And if no processes seem to run, then just locate and remove the pid file of apt/adept.
 
Old 06-04-2006, 02:10 PM   #3
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Quote:
Another process is using it (or apt command)
That's not the error message. - People, when you're encountering error messages, do listen to them - and when you're asking for help, please do post them, literally.

The original error message is,
Quote:
You will not be able to change your system settings in any way (install, remove or upgrade software), because another process is using the packaging system database (probably some other Adept application or apt-get or aptitude). Please close the other application before using this one.
So, just close that other software-install program.

In your own case, you did reboot already - so no conflicting apps should be open. Hence something else went wrong, which left the system in an inappropriate state.
Anyways, with that literal error message at hand, a quick Google search returns:
Quote:
sudo rm /var/lib/dpkg/lock
Thanks
 
Old 06-05-2006, 12:43 PM   #4
Shiroku
LQ Newbie
 
Registered: Jun 2006
Distribution: Kubuntu Dapper Drake
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
sudo rm /var/lib/dpkg/lock
it doesn't work....
 
Old 06-05-2006, 02:29 PM   #5
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Quote:
it doesn't work....
It never does. As it never gets catched. Even noone knows what it is.

- What's the output of
Quote:
sudo apt-get install testtest123
 
Old 08-03-2006, 05:25 PM   #6
riddler01
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
dpkg --configure -a
 
Old 01-29-2007, 05:50 PM   #7
neowulf556
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Thank you, riddler01. I had the same issue, and that fixed it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Error with Adept: cannot commit changes-problem with synaptic install jude254 Linux - Software 5 10-12-2007 06:10 PM
Problem with adept: update and list of repositories jude254 Linux - Software 1 05-10-2006 09:31 AM
Kubuntu PPC adept mpeg/mp3 - adding repositorys Hairulfr Ubuntu 3 03-02-2006 10:47 AM
Adept messed up Optiker Ubuntu 3 02-28-2006 04:12 PM
Adept install problem (KUbuntu) saf4 Ubuntu 2 11-04-2005 01:01 PM


All times are GMT -5. The time now is 12:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration