[Aptitude-devel] Bug#729527: Bug#729527: aptitude says Error: Timeout was reached

Axel Beckert abe at debian.org
Tue Nov 26 13:01:25 UTC 2013


reassign 729527 packagekit 0.8.12-1
affects 729527 apt aptitude
severity 729527 minor
kthxbye

Hi Vincent,

Vincent Lefevre wrote:
> On 2013-11-26 13:05:51 +0100, Axel Beckert wrote:
> > 20packagekit interacts with DBus, so I can imagine it to cause such an
> > error message.
> 
> I can't find it in the packagekit. But both
> 
>   /usr/lib/x86_64-linux-gnu/libcurl.so.4.3.0
>   /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.3.0
> 
> have it.

Yeah, but packagekit doesn't download stuff, it talks with DBus. And
apt-listbugs doesn't use curl.

But thanks for that idea. /etc/apt/apt.conf.d/20packagekit calls
/usr/bin/gdbus to talk with the DBus daemon. The file itself doesn't
have that string, but one of the libraries it loads:

# ldd /usr/bin/gdbus
[…]
        libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007fe7817e8000)
[…]
# strings /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 | fgrep 'Timeout was reached'
Timeout was reached
# 

Debian Code Search underlines that finding:

http://codesearch.debian.net/search?q=%22Timeout+was+reached%22 

Source package glib2.0, file gdbusconnection.c. (The curl occurrence
is found, too.)

> > Can you check if the following command provokes this error message?
> > 
> > /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 1 --method org.freedesktop.PackageKit.StateHasChanged cache-update
> 
> No such errors.
> 
> But note that the error is not always reproducible (and I couldn't
> reproduce it with "strace -f -o strace.out aptitude update" yet).

Ok, thanks for that detail.

> > The only one of these which AFAIK downloads stuff from the net is
> > 10apt-listbugs.
> 
> Does it do that with an update too?

Nope. Thanks for that hint. So I quite sure the issue is really caused
by to packagekit's APT hook. Which also means that apt is affected,
too. Ubuntu's bug reports actually support that assumption:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1001376

Please try the above gdbus call as soon as the issue pops up again.

In the meanwhile I'm reassigning this and the mentioned bug report on
Launchpad to packagekit and marking #729527 as "affects apt and
aptitude". I'm also subscribing to these two bug reports so I'll stay
informed in case my reasoning was wrong.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the Aptitude-devel mailing list