[packagekit] FW: Packagekit bugs?

Jean Hubbard jean_p57 at hotmail.com
Wed Jun 23 08:21:42 PDT 2010


Left add/remove open on Lucid and came to send this email quick. When i returned to the Lucid sytem saw this:

An internal system error has occured:
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Value: 'ascii' codec can't encode character u'\xe1' in position 107: ordinal not in range(128)
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 1318, in <module>
    main()
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 1315, in main
    backend.dispatcher(sys.argv[1:])
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 710, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 643, in dispatch_command
    self.search_group(options, values)
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 49, in cache_wrap
    result = func(obj, *args, **kwargs)
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 511, in search_group
    self._show_package_list()
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 1043, in _show_package_list
    self._show_package(package, status)
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 1081, in _show_package
    self.package(self._package_id(package, loader), status, summary)
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 149, in package
    print >> sys.stdout, "package\t$s\t$s\t$s" $ (status, package_id, summary)

Regards
Jean.

From: jean_p57 at hotmail.com
To: packagekit at lists.freedesktop.org
Subject: RE: [packagekit] Packagekit bugs?
Date: Thu, 24 Jun 2010 03:18:11 +1200








Thanks Anders,

sudo /usr/share/PackageKit/helpers/smart/smartBackend.py ,on my Maverick install PK v0.6.5 and smartpm v1.3 returns:

Error: No NETWORK envp
Error: No BACKGROUND envp
Error: No INTERACTIVE envp

And on my Lucid install with PK v.05.7 and smartpm v1.2:

Error: No NETWORK envp
Error: No BACKGROUND envp

Just checked both machines again, Software Updates appear on both machines but do NOT install. 
Packages appear in Add/Remove on Lucid install but not Maverick.

Jean.





> From: afb at algonet.se
> Date: Wed, 23 Jun 2010 11:26:43 +0200
> To: packagekit at lists.freedesktop.org
> Subject: Re: [packagekit] Packagekit bugs?
> 
> 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
> 
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
 		 	   		  
Browse profiles for Free! Singles online now! 		 	   		  
_________________________________________________________________
Find a way to cure that travel bug MSN NZ Travel
http://travel.msn.co.nz/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20100624/2ee79382/attachment-0004.htm>


More information about the PackageKit mailing list