Adept

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
scorp123
Level 8
Level 8
Posts: 2272
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Re: Adept

Post by scorp123 »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
scorp123
Level 8
Level 8
Posts: 2272
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Post by scorp123 »

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.
scorp123
Level 8
Level 8
Posts: 2272
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Post by scorp123 »

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.
Husse

Post by Husse »

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
Locked

Return to “Software & Applications”