On Wed, 01 Jun 2011 19:57:58 +0200 Julian Andres Klode wrote:

> Package: apt-listbugs, packagekit
> Severity: serious

Hi Julian,
thanks for testing apt-listbugs with packagekit and for reporting the
issue you are experiencing.

> 
> On a system with both packagekit and apt-listbugs installed,
> apt-listbugs will block installations made by packagekit, and simply
> hang around waiting for input it seems.

Let me understand: you are trying to use packagekit to install some
packages and it hangs because it runs apt-listbugs through the
Pre-Install-Pkgs APT hook (see /etc/apt/apt.conf.d/10apt-listbugs ),
but apt-listbugs never exits since it's waiting for input.
Is this correct?

I am not familiar at all with packagekit (I barely recall to have heard
of it some time ago...): if I understand correctly, it's a system
activated daemon that manages package installation, upgrade, and so
forth, by using a number of possible back-ends.
One of these back-ends is based on libapt.
Do you confirm? Or am I completely off-track?

Moreover, again if I understand correctly, the packagekitd daemon gets
activated when the user uses one of the possible front-ends (some of
which are CLI tools, some others are GUI tools, and so forth).
What is not clear to me is: were you trying to use packagekit from a
command-line front-end? Or from a graphical one?

Did you see the output of apt-listbugs?

Please take into account that apt-listbugs expects to receive (from the
package manager) the apt VERSION 2 hook interface protocol output, then
expects that the user is able to see its output and to send input to it
(to answer questions and issue commands).
I am suspecting that packagekit fails to meet one of the above
requirements: if this is confirmed, then I think that packagekit should
be fixed, so that it meets the requirements.

I'm assuming that you are familiar with apt-listbugs, when used with
command-line package managers (such as aptitude, apt-get, and similar):
if you are not, please try to use aptitude (with apt-listbugs
installed) and see what happens when you try to install an RC-buggy
package. 

> 
> This bug is release-critical, as installing apt-listbugs renders
> packagekit unusable (you can't install or upgrade anymore). Just like
> 606025, this blocks any adoption of PackageKit as default.

I may add a Conflicts, or Breaks, or something like that, to
apt-listbugs to state that apt-listbugs does not work well with
packagekit.
But maybe it should be packagekit to declare such incompatibility?

> 
> Proposed solution: apt-listbugs should not wait for input when started
> under PackageKit.

I am not convinced: apt-listbugs would be utterly useless, if the user
weren't able to choose what to do, whenever RC-bugs are found to affect
a to-be-installed or to-be-upgraded package!
Moreover, I don't think apt-listbugs is able to know which package
manager has launched it...

I think something has to be fixed in packagekit, instead.


-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpkHx1vQz8Pr.pgp
Description: PGP signature

Reply via email to