On 26/03/18 09:30, Richard Hughes wrote:
On 26 March 2018 at 09:16, Tom Hughes <tom@xxxxxxxxxx> wrote:
Will it FINALLY use one copy of metadata for all system users?
Do you have a proposal as to how that might be possible in a
secure way?
I think he means removing the duplication of the cache between
PackageKit and dnf. The former only uses a separate cache as it
updates the cache all at one, and switches to new versions atomically
so applications like gnome-software can always run transactions with
known latencies. dnf (the command line tool) only downloaded the
metadata files it needed for the current request, and so it could be
you had to start downloading something like the filelists when you
actually depsolved a transaction (which is somewhat incompatible with
offline updates for instance).
Well that's an issue as well, but he specifically referred to the
per-user caching behaviour of dnf and the need to run it under sudo
to use the system cache instead of building a new one.
In other words if I do "dnf search foo" as myself it will fetch a
new cache from scratch into /tmp instead of using the system one.
Tom
--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx