[packagekit] Updates with no "Apply" button in the update-viewer
Ken VanDine
ken at vandine.org
Mon Oct 15 10:53:28 PDT 2007
Here is the output after a rollback and do over:
[ken at foobar gnome-packagekit]$ pk-update-viewer --verbose
[pk_debug_init] pk-debug.c:140 (13:37:45): Verbose debugging enabled
[pk_client_connect] pk-client.c:2302 (13:37:46): connect
[pk_client_allocate_transaction_id] pk-client.c:887 (13:37:46): Got
tid: '9;decbaaed;data'
[pk_client_package_cb] pk-client.c:378 (13:37:46): emit package
normal, PackageKit;git20071015-1-1;x86;/foresight.rpath.org at fl:1-devel/git20071015-1-1,
[pk_updates_package_cb] pk-update-viewer.c:133 (13:37:46):
package = normal:PackageKit;git20071015-1-1;x86;/foresight.rpath.org at fl:1-devel/git20071015-1-1:
[pk_client_package_cb] pk-client.c:384 (13:37:46): adding to
cache array package 3,
PackageKit;git20071015-1-1;x86;/foresight.rpath.org at fl:1-devel/git20071015-1-1,
[pk_package_list_add] pk-package-list.c:66 (13:37:46): adding to
cache array package 3,
PackageKit;git20071015-1-1;x86;/foresight.rpath.org at fl:1-devel/git20071015-1-1,
[pk_client_finished_cb] pk-client.c:248 (13:37:46): emit finished 0, 0
selected row is:
PackageKit;git20071015-1-1;x86;/foresight.rpath.org at fl:1-devel/git20071015-1-1
*** WARNING ***
[pk_client_allocate_transaction_id] pk-client.c:867 (13:41:54):
Already has transaction ID
*** WARNING ***
[pk_client_get_description] pk-client.c:1412 (13:41:54):
Failed to get transaction ID
[pk_updates_apply_cb] pk-update-viewer.c:72 (13:41:56): Doing the system update
[pk_client_allocate_transaction_id] pk-client.c:887 (13:41:56): Got
tid: '10;aabeccac;data'
[ken at foobar gnome-packagekit]$ pk-update-viewer --verbose
[pk_debug_init] pk-debug.c:140 (13:49:35): Verbose debugging enabled
[pk_client_connect] pk-client.c:2310 (13:49:35): connect
[pk_client_allocate_transaction_id] pk-client.c:887 (13:49:35): Got
tid: '11;deadaddd;data'
[pk_client_locked_cb] pk-client.c:577 (13:49:35): emit locked 1
[pk_client_locked_cb] pk-client.c:577 (13:49:45): emit locked 0
[pk_client_finished_cb] pk-client.c:248 (13:49:45): emit finished 0, 9
[pk_client_allocate_transaction_id] pk-client.c:887 (13:50:29): Got
tid: '11;bbecdeaa;data'
[pk_client_locked_cb] pk-client.c:577 (13:50:29): emit locked 1
[pk_client_locked_cb] pk-client.c:577 (13:52:09): emit locked 0
[pk_client_finished_cb] pk-client.c:248 (13:52:10): emit finished 0, 100
[pk_client_allocate_transaction_id] pk-client.c:887 (13:52:10): Got
tid: '12;decddceb;data'
[pk_client_locked_cb] pk-client.c:577 (13:52:10): emit locked 1
[pk_client_package_cb] pk-client.c:378 (13:52:28): emit package
normal, PackageKit;git20071015-1-1;x86;/foresight.rpath.org at fl:1-devel/git20071015-1-1,
[pk_updates_package_cb] pk-update-viewer.c:133 (13:52:28):
package = normal:PackageKit;git20071015-1-1;x86;/foresight.rpath.org at fl:1-devel/git20071015-1-1:
[pk_client_package_cb] pk-client.c:384 (13:52:28): adding to
cache array package 3,
PackageKit;git20071015-1-1;x86;/foresight.rpath.org at fl:1-devel/git20071015-1-1,
[pk_package_list_add] pk-package-list.c:66 (13:52:28): adding to
cache array package 3,
PackageKit;git20071015-1-1;x86;/foresight.rpath.org at fl:1-devel/git20071015-1-1,
[pk_client_locked_cb] pk-client.c:577 (13:52:28): emit locked 0
[pk_client_finished_cb] pk-client.c:248 (13:52:28): emit finished 0, 18
On 10/15/07, Ken VanDine <ken at vandine.org> wrote:
> * Start with a fully updated system (at least as far as PK is concerned)
> * Run pk-update-viewer, which will say "No updates available"
> * Hit the "Refresh" button (note there are only Help, Refresh, and
> Close buttons)
> * After the check, updates are displayed but the buttons havn't
> changed (still just the 3)
> * Close the update viewer
> * Run pk-update-viewer, you will now see 4 buttons including "Apply"
>
> On 10/15/07, Richard Hughes <hughsient at gmail.com> wrote:
> > On Mon, 2007-10-15 at 13:39 -0400, Ken VanDine wrote:
> > > Hummm... so starting pk-update-viewer again shows the apply button.
> > > The difference here is PK already knows there is an update, so hitting
> > > refresh again doesn't hide the apply button. I suspect we detect if
> > > there are updates when the window opens, and not again. I guess after
> > > refreshing we should update the state of the buttons too.
> >
> > We do IIRC. Can you reproduce this with the dummy backend, or give me a
> > 1.2.3.4 order of events to reproduce this please. Cheers.
> >
> > Richard.
> >
> >
> > _______________________________________________
> > PackageKit mailing list
> > PackageKit at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/packagekit
> >
>
>
> --
> Ken VanDine
> http://ken.vandine.org
>
--
Ken VanDine
http://ken.vandine.org
More information about the PackageKit
mailing list