On Monday, 26 March 2018 11:16:14 IDT Tom Hughes wrote:
> On 26/03/18 09:06, Marcin Juszkiewicz wrote:
> > Debian has APT. APT uses one copy of metadata. Be wise. Like Debian.
> 
> Do we know how? Do they just not allow non-root users to get up
> to date data, or do they do something cleverer?

With APT, cache update and using the cache are orthogonal operations:
 * Running "apt-get update" is privileged and update the cache.
 * There's obviously an optional service to run "apt-get update" periodically 
if root prefer this mechanism.
 * Doing just query (e.g: apt list ...) always use latest cache data.
 * So query by root or any user are the same -- no privileged and work on the 
cache (which may/may-not be updated).


KISS,

-- 
Oron Peled                                 Voice: +972-4-8228492

May the Source be with you!


_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to