[packagekit] Assertion `backend->priv->locked != FALSE' failing during init

Richard Hughes hughsient at gmail.com
Wed Mar 19 10:45:40 PDT 2008


On Wed, 2008-03-19 at 17:30 +0000, Thomas Wood wrote:
> On Wed, 2008-03-19 at 16:55 +0000, Richard Hughes wrote:
> > On Wed, 2008-03-19 at 16:51 +0000, Thomas Wood wrote:
> > > On Wed, 2008-03-19 at 16:27 +0000, Richard Hughes wrote:
> > > > On Wed, 2008-03-19 at 16:22 +0000, Thomas Wood wrote:
> > > [...]
> > > > Out of interest, what message are you trying to propagate to the user at
> > > > init time?
> > > 
> > > Uuuh, debug messages? :-)
> > 
> > I think pk_warning and pk_debug might be better for that :-)
> 
>     if (level == OPKG_NOTICE)
>             pk_backend_message (backend, PK_MESSAGE_ENUM_NOTICE, msg);
>     if (level == OPKG_ERROR)
>             pk_backend_message (backend, PK_MESSAGE_ENUM_WARNING, msg);
> 
> So, what are these enums for and how are they different to
> pk_warning/pk_debug?

Notices to the user, e.g. "Please review bind.conf after update" or
warning like "GIMP could not update all contact information, you will
have to review manually"

Richard.





More information about the PackageKit mailing list