[packagekit] Why NOT check network state ?

Richard Hughes hughsient at gmail.com
Tue Aug 11 03:56:54 PDT 2009


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.

Richard.



More information about the PackageKit mailing list