On 26. Mar 2018, at 10:39, Oron Peled <oron(a)actcom.co.il>
wrote:
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).
Question: Would splitting-up cache update and package upgrade operations worth considering
for dnf 3.0?
(As a long time CentOS, Fedora user I am always envious at how snappy (no pun intended)
apt-get update && apt-get upgrade feel when I get my hands on one of these :-)
BK