You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

dgbraun

Beginner

  • "dgbraun" started this thread

Posts: 3

Location: New Jersey USA

  • Send private message

1

Thursday, April 5th 2007, 1:25pm

Can't run adept; error message: another process using...apt-get

I updated KDE on Kubuntu last night, and this morning, when I try to open Adept Manager, I keep getting a screen saying: "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. Database Locked."
Where do I go to stop this process(es) so that I can use Adept or any update manager, for that matter? I tried system settings/system administration/system services, but that didn't work.
Any suggestions?

Thanks
DG

2

Thursday, April 5th 2007, 3:12pm

You could start ksysguard (kdesu ksysguard) and look for processes that are using the apt database and kill them.
Help mee om KDE 3.5.5 in het Nederlands te vertalen

dgbraun

Beginner

  • "dgbraun" started this thread

Posts: 3

Location: New Jersey USA

  • Send private message

3

Thursday, April 5th 2007, 3:37pm

Thanks

Thank you very much, it worked!
DG

sanhitamj

Beginner

Posts: 1

Occupation: Student

  • Send private message

4

Wednesday, April 11th 2007, 9:47pm

adept error

Hi,

I just installed Kubuntu for the first time. I am trying to get a few packages, but while doing that, I stopped it by closing it.

Now it complains about some other program using it, so I can't get anymore packages.

I tried to kill all the processes e.g. adept, apt-get etc from command line and from ksysguard as well ; but that doesn't help. Can someone please help me with this?

Thanks

Sanhita

dgbraun

Beginner

  • "dgbraun" started this thread

Posts: 3

Location: New Jersey USA

  • Send private message

5

Wednesday, April 11th 2007, 10:50pm

Adept problem in Kubuntu (SOLVED)

I use Kubuntu Feisty. I tried to remove some packages related to kubuntu-desktop dummy package, and of course adept wanted to remove everything. I canceled the operation immediately. But now on when I start Adept Manager it says,

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.
But actually I don't have anything running. Any help appreciated. Do I have to reinstall the system?

EDIT: After running the following command it is ok now.

sudo dpkg --configure -a

Hope this helps

inuyokai

Beginner

Posts: 1

Location: Portland, OR

Occupation: Marketing

  • Send private message

6

Thursday, June 28th 2007, 6:34am

This is somewhat old but I had this same problem and this worked for me as well.

During the processes that it was running I noticed it refer to Java/JRE. I actually had started to install JRE 6 and the program could not install via the package manager in Kubuntu. I had to restart anyways to boot into my other partition so I did not think much of it.

If you install JRE and you get an error, this problem might occur.

Posts: 6

Location: Ohio

Occupation: Retired

  • Send private message

7

Friday, June 29th 2007, 7:32pm

Can't run adept; error message: another process using...apt-get

I had the same problem and received this instruction. It worked for me.

ps -ewf| grep adept|grep -v grep|awk '{print $2}'

This will list all process being used by adept, one per line. Next you
want a sure way to destroy these processes:

sudo kill -9 <process>

Where <process> is each process number separated by a space. for
example if you got two lines like these:
7513
12158

Your command will look like this:

sudo kill -9 7513 12158

Tpe your password when asked for it here.

Hope this helps.

This post has been edited 1 times, last edit by "Shabakthanai" (Jun 30th 2007, 11:15pm)


8

Monday, November 5th 2007, 12:16pm

I also got this problem after trying to install Java, the solution was to run sudo dpkg --configure -a in the terminal as dgbraun sugested, i still don't know why what or how but i think this should some how be fixed in KUbuntu. The program installer always sugested that i could try to solve the problem but that just resulted in a crash. But then again i don't understand why the database cant be shared betwean multiple programs or even multiple instances of the same program, it's just anoying to be browsing for a program and then having the alarms going of because thers an update avalible at the same time.