First let fix package database lock state I am after Adept quit too fast after an error
dufresnep at fastmail.fm
Sat Jun 30 18:03:25 BST 2007
> > A big problem, is that when you click Ok, it seems to directly quit the
> > application without even removing
> > the lock.
> Maybe you can give more details? What was the error? What was the error
> message? We can't read minds, nor can we guess what happened. It would be
> extremely helpful if we knew even those two things.
Part of the problem is that adept don't report the bug given by dpkg,
it just say something like: Hey an error happened when installing.
I really don't care about the specific package that made dpkg return an
The only thing I care about, is Adept quiting so fast, that it kill
running instance of dpkg (probably not the same that cause the error),
leaving a lock on package database lock.
Well, I'd like to restart adept_update to see what was the exact message
I changed my language in System Setting/Regional language, but although
menus and messages are now in english (the language I choose), adept is
in french, so I will translate a bit.
So we are after the bug, I did reboot.
paul at Arcturus:/var/lib$ ps -e|grep dpkg
paul at Arcturus:/var/lib$ ps -e|grep adept
paul at Arcturus:/var/lib$ ps -e|grep synaptic
I see no other programs in ps -e that would use the package database.
paul at Arcturus:/var/lib/dpkg$ ls -l
-rw-r----- 1 root root 0 2007-06-30 12:45 lock
paul at Arcturus:/var/lib/dpkg$sudo rm lock
Now lock is gone.
BTW: I was searching this file in /var/lock at first, which still seems
to me where I should have found that.
I have Quit previously adept-updater in lower right of screen.
So I have to start in manually:
paul at Arcturus:/var/lib/dpkg$ kdesu adept_updater
... wacom missing devices
then Adept appears, and then a window with:
Un autre processus utilise la base de données du système de paquets
(probablement une autre application Adept, apt-get ou aptitude).
Veuillez fermer cet autre programme avant d'utiliser celui-ci.
Translation: An other process is using package database, please close
the other program that use the database.
Just an Ok button, I click it and return to konsole.
Now if I do ls -l:
-rw-r----- 1 root root 0 2007-06-30 12:57 lock
It has come back!
Not to sure what I am suppose to do here.
http://www.fastmail.fm - I mean, what is it about a decent email service?
More information about the kubuntu-users