Adept

Questions about applications and software
Forum rules
Before you post please read this

Adept

Postby kenhzzz on Tue Aug 21, 2007 4:34 pm

I am having a problem with ADEPT. When I opened it and downloaded a few progs it Locked up and now wont let me do anything, it keeps coming up with a warning like this.

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 i cant see any other app using it and doesent want to delete or open any files. I have tried removeing it and reinstalling it but it did it again.

does anyone know whats going on i Need help

Kenh
kenhzzz
Level 1
Level 1
 
Posts: 10
Joined: Fri Jun 29, 2007 10:33 pm

Linux Mint is funded by ads and donations.
 

Re: Adept

Postby scorp123 on Tue Aug 21, 2007 6:57 pm

kenhzzz wrote: 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.
Did you reboot already? And the error still appears? Could you try to run an "sudo apt-get update" on the command line? Chances are there would be a verbose error message.

Regardless of this: I think you got a so called "lock" file somewhere lurking in your /var directory. The presence of that "lock" file tells 'apt': "hey wait, you can't touch the packages again now, you're already running!" ... except that it isn't true in your case. So the solution would probably be to remove that file. Can you please check if this file exists on your system?:
/var/lib/dpkg/lock

It should be zero bytes long and belong to 'root'. If it's there despite no instance of aptitude, adept, synaptic, apt or dpkg running then I'd say it's safe to remove it:
Code: Select all
sudo rm /var/lib/dpkg/lock
Hope this helps.
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby kenhzzz on Wed Aug 22, 2007 9:54 pm

I did what you told me but it still doesnt work. there was a lock in that folder and I removed it and it just came back. I also did a search on the whole hard drive and found 10 more locks, do I remove them too or leave them be? Here is the list.


file:///home/kenh/.kde/share/apps/kabc/lock
file:///proc/sys/dev/cdrom/lock
file:///tmp/.wine-1000/server-801-22412e/lock
file:///usr/src/linux-headers-2.6.20-16-generic/include/config/lock
file:///usr/src/linux-headers-2.6.20-16/include/config/lock
file:///var/lock
file:///var/cache/apt/archives/lock
file:///var/lib/aptitude/lock
file:///var/lib/apt/lists/lock
file:///var/lib/dpkg/lock

I thank you for replying to my problem

Kenh
kenhzzz
Level 1
Level 1
 
Posts: 10
Joined: Fri Jun 29, 2007 10:33 pm

Postby scorp123 on Thu Aug 23, 2007 3:58 am

kenhzzz wrote: /var/cache/apt/archives/lock
/var/lib/aptitude/lock
/var/lib/apt/lists/lock
/var/lib/dpkg/lock
Hmmm ... remove those listed above and then try again please. Don't touch the others not listed here, they are not relevant for this problem here.
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby kenhzzz on Thu Aug 23, 2007 7:32 pm

Same thing it just keeps coming back with the lock

Kenh
kenhzzz
Level 1
Level 1
 
Posts: 10
Joined: Fri Jun 29, 2007 10:33 pm

Postby scorp123 on Fri Aug 24, 2007 1:30 pm

kenhzzz wrote:Same thing it just keeps coming back with the lock
OK, remove them again please and please also reboot. After you removed those log files and after a reboot, what does it say precisely when you execute these commands in a terminal window? e.g.
Code: Select all
 sudo apt-get update

Code: Select all
 sudo apt-get dist-upgrade
Do you still get any errors? If yes which ones? We need the precise output of what the terminal tells you. Error messages in terminals are usually more detailed than the stuff you'd get from gui programs....

If you don't get any error message then this means that the package management in fact works and that you rather seem to have a problem with 'adept' which we would need to investigate further.
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby wondersa2 on Mon Aug 27, 2007 12:00 pm

so, if Adept crashed until installation new soft or updates, try this after reboot :
Code: Select all
 sudo apt-get update

and next
Code: Select all
 sudo dpkg --configure -a

try to start Adept now !
wondersa2
Level 1
Level 1
 
Posts: 1
Joined: Mon Aug 27, 2007 3:34 am

Postby Husse on Fri Aug 31, 2007 3:36 pm

Scorp123 wrote
Code:
sudo apt-get dist-upgrade

yes to solve the problem but no no no in Mint :)
It would upgrade with Ubuntu files not Minty ones and the result could be a mess
I have had a small "discussion" with Clem about the dist upgrade message in the updater and suggested that apt-get dist-upgrade be disabled in Mint
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby fmj on Mon Sep 03, 2007 2:11 am

This code worked for me

Code: Select all
sudo dpkg --configure --pending
fmj
Level 1
Level 1
 
Posts: 4
Joined: Mon Sep 03, 2007 1:30 am

Postby LostOverThere on Tue Sep 04, 2007 2:25 am

I had this same problem a while back when I mistakenly added a non-deb repository to Adept. A similar problem could be happening here.
User avatar
LostOverThere
Level 2
Level 2
 
Posts: 88
Joined: Thu Aug 16, 2007 6:15 am

Postby kenhzzz on Tue Sep 04, 2007 8:07 pm

The problem has been solved. Being new to linux I did'nt know that there was iteraction on loading the files. What was happening was some files were not finishing and that was locking Adept up and not letting me do any more.

I thank all of you for your help with out all of you we would be in trouble

Thanks again

Kenh
kenhzzz
Level 1
Level 1
 
Posts: 10
Joined: Fri Jun 29, 2007 10:33 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: SJLPHI, tdockery97 and 25 guests