[packagekit] Packagekit bugs?

Anders F Björklund afb at algonet.se
Wed Jun 23 02:26:43 PDT 2010


Jean Hubbard wrote:

> Just thought i'd check up on these before i filed bugs.
> Using PK v0.5.7 with the smartpm backend on two systems running  
> Ubuntu Lucid and Maverick seems to fail installing packages with  
> add/remove(Gnome-PK) or to install updates. Lucid is using smartpm  
> v1.2 while Maverick is using v1.3 and the results are the same. If  
> i try to install something it seems to do everything it should but  
> and says completed but the updates/packages are not installed. For  
> eg. the updates will still appear in Update Software or Terminal or  
> Update Manager. If i install using smartpm in Terminal though then  
> it works fine.
> Should this be filed against PK or Smartpm.
>
> Secondly, Maverick's PK has just been updated to v0.6.5, no matter  
> what i click on in the left menu, no packages show up. No Updates  
> show up either. That is using smartpm again.
> Using the apt backend, it will return and Internal system error  
> when i open Add/remove or Update Software.
>
> Ubuntu bug or PK?

These are bugs in (the backends of) PackageKit, not in Smart or Ubuntu.

To get some more details for debugging, you could do a verbose/debugging
build of PackageKit - /or/ perhaps "talk" directly to the Smart backend:

$ sudo /usr/share/PackageKit/helpers/smart/smartBackend.py
Error: No NETWORK envp
Error: No BACKGROUND envp
refresh-cache	true

The "commands" are shared between all Python backends, some examples are
"get-updates none" or "update-system false" (separated by tab, not  
space)

It's the equivalent of telnetting to your web or mail server, but should
at least give some first-hand information on what is going on in  
there...

--anders




More information about the PackageKit mailing list