LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   adept problem (on Kubuntu) (https://www.linuxquestions.org/questions/linux-software-2/adept-problem-on-kubuntu-451312/)

Shiroku 06-03-2006 05:20 PM

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?

b0uncer 06-04-2006 01:23 PM

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.

robbbert 06-04-2006 02:10 PM

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

Shiroku 06-05-2006 12:43 PM

Quote:

sudo rm /var/lib/dpkg/lock
it doesn't work....

robbbert 06-05-2006 02:29 PM

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

riddler01 08-03-2006 05:25 PM

dpkg --configure -a

neowulf556 01-29-2007 05:50 PM

Thank you, riddler01. I had the same issue, and that fixed it.


All times are GMT -5. The time now is 06:03 PM.