W dniu 06.03.2020 o 02:57, Neal Gompa pisze:
The database has been synchronized since Fedora 24. However, the
caches are not, and that *does* need to be fixed.
And when user calls dnf let it use system cache by default...
17:38 (0s) hrw@puchatek:~$ time sudo dnf info nano
[
fetching all repo data...
]
Dostępne pakiety
Nazwa : nano
Wersja : 4.3
Wydanie : 3.fc31
Architektura : x86_64
Rozmiar : 640 k
Źródło : nano-4.3-3.fc31.src.rpm
Repozytorium : updates
Podsumowanie : A small text editor
Adres URL :
https://www.nano-editor.org
Licencja : GPLv3+
Opis : GNU nano is a small and friendly text editor.
real 0m49,066s
user 0m21,141s
sys 0m1,131s
17:38 (49s) hrw@puchatek:~$ time sudo dnf info nano
Ostatnio sprawdzono ważność metadanych: 0:00:09 temu w dniu pią, 6 mar 2020, 17:38:55.
Dostępne pakiety
Nazwa : nano
Wersja : 4.3
Wydanie : 3.fc31
Architektura : x86_64
Rozmiar : 640 k
Źródło : nano-4.3-3.fc31.src.rpm
Repozytorium : updates
Podsumowanie : A small text editor
Adres URL :
https://www.nano-editor.org
Licencja : GPLv3+
Opis : GNU nano is a small and friendly text editor.
real 0m1,542s
user 0m1,368s
sys 0m0,142s
17:39 (2s) hrw@puchatek:~$ time dnf info nano
[
fetching all repo data...
]
Dostępne pakiety
Nazwa : nano
Wersja : 4.3
Wydanie : 3.fc31
Architektura : x86_64
Rozmiar : 640 k
Źródło : nano-4.3-3.fc31.src.rpm
Repozytorium : updates
Podsumowanie : A small text editor
Adres URL :
https://www.nano-editor.org
Licencja : GPLv3+
Opis : GNU nano is a small and friendly text editor.
real 0m56,689s
user 0m21,374s
sys 0m1,130s
17:40 (57s) hrw@puchatek:~$
I have never understood a need for per-user copy of repo metadata.