[packagekit] Bug in get updates

Richard Hughes hughsient at gmail.com
Wed Nov 28 00:01:48 PST 2007

On Tue, 2007-11-27 at 18:45 -0500, Elliot Peele wrote:
> > Could you please grab me the output of
> > 
> > pkcon --verbose get updates
> > 
> > and
> > 
> > packagekitd --verbose --backend=conary
> > 
> > (while you do a get-updates call)

Cool, thanks for that. I'm seeing:

[pk_spawn_emit_whole_lines] pk-spawn.c:135 (18:42:10):   emitting stderr allow-interrupt        true
[pk_spawn_emit_whole_lines] pk-spawn.c:135 (18:42:10):   emitting stderr no-percentage-updates
[pk_spawn_check_child] pk-spawn.c:185 (18:42:14):        Running fork successful
[pk_spawn_check_child] pk-spawn.c:200 (18:42:14):        emitting finished 0

...and then the script exits (cleanly) with nothing else on stdout or
stderr. Ken, do you see this too? I really don't see what could be the
problem here - the only thing it could be is the way we check if a
script has completed:

/* check if the child exited */
if (waitpid (spawn->priv->child_pid, &status, WNOHANG) != spawn->priv->child_pid)
	return TRUE;

Would this cause problems for anything the conary backend does?


More information about the PackageKit mailing list