[packagekit] Why NOT check network state ?

Zhu, Peter J peter.j.zhu at intel.com
Wed Aug 12 00:29:19 PDT 2009


Richard Hughes wrote on Tuesday, August 11, 2009 6:57 PM
> 2009/8/11 Zhu, Peter J <peter.j.zhu at intel.com>:
>> With the tip of pkg, I found yum backend doesn't check
>> if network is available in backend_install_packages()
>> and backend_update_packages() in pk-backend-yum.c like
>> it does in backend_refresh_cache(). it seems a
>> regression than previous release at least 0.4.7. Any
>> reason?     
> 
> It was removed as some people were installing packages
> from repos when not "online", for instance over NFS.
> There were a few bugzillas opened about that.
> 
>> Also I would like add i18n for pk-backend-yum.c. But
>> before submitting that patch I would like ask above
>> question to see if I need add more bits  
> 
> Why would you want translations in a backend? The general
> rule is that all backend error details should be in the C
> locale. 
> 
UI would report these error info to users. I think users would like know why he can't update a new package 

Peter


More information about the PackageKit mailing list