<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffcc99" text="#330033">
Steven Vollom wrote:
<blockquote cite="mid4686D947.7090603@sbcglobal.net" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
Paul Dufresne wrote:
  <blockquote
 cite="mid1183223005.16113.1197868121@webmail.messagingengine.com"
 type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">A big problem, is that when you click Ok, it seems to directly quit the
application without even removing
the lock.
      </pre>
      </blockquote>
      <pre wrap="">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.
    </pre>
    </blockquote>
    <pre wrap=""><!---->
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
error.
The only thing I care about, is Adept quiting so fast, that it kill
currently
running instance of dpkg (probably not the same that cause the error),
so
leaving a lock on package database lock.

Well, I'd like to restart adept_update to see what was the exact message
but can't.

I changed my language in System Setting/Regional language, but although
most
menus and messages are now in english (the language I choose), adept is
still
in french, so I will translate a bit.

So we are after the bug, I did reboot.
paul@Arcturus:/var/lib$ ps -e|grep dpkg
paul@Arcturus:/var/lib$ ps -e|grep adept
paul@Arcturus:/var/lib$ ps -e|grep synaptic
I see no other programs in ps -e that would use the package database.

paul@Arcturus:/var/lib/dpkg$ ls -l
total 3704
...
-rw-r----- 1 root root      0 2007-06-30 12:45 lock

paul@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@Arcturus:/var/lib/dpkg$ kdesu adept_updater
... wacom missing devices
kbuildsycoca running...
kapture::PkgSystem::PkgSystem()

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.

  </pre>
  </blockquote>
I had a similar problem and was provided the following:  (it cured the
problem)<br>
  <br>
  <b>ps -ewf| grep adept|grep -v grep|awk '{print $2}'</b><br>
  <br>
This will list all process being used by adept, one per line.  Next you<br>
want a sure way to destroy these processes:<br>
  <br>
  <b>sudo kill -9 <process><br>
  </b><br>
Where <process> is each process number separated by a space.  for<br>
example if you got two lines like these:<br>
7513<br>
12158<br>
  <br>
Your command will look like this:<br>
  <br>
  <b>sudo kill -9 7513 12158<br>
  <br>
  </b>I do not have much experience, however, this cured the problem of
a
background program operation.  My computer has worked fine since.  Hope
it is helpful.<br>
  <br>
Steven<br>
</blockquote>
I am sorry, my error was that I was locked out of Adept Manager and
could not add or remove programs.  I am sorry I did not include this in
the last message.<br>
<br>
Steven<br>
</body>
</html>