On Mon, 2020-04-06 at 23:56 +0000, Tom Seewald wrote:
Yep, I just ran "dnf info kernel" and then right after that
"dnf
changelog kernel", in both cases dnf spent over 20 seconds syncing.
I haven't seen other package managers require this much network
traffic, and I wonder if a lot of it could be avoided.
If you only want to query *locally installed* packages, you can just
use rpm:
rpm -qi kernel
rpm -q --changelog kernel
if you use DNF, it will get the info for packages that are in the
repositories but not locally installed, as well. changelogs are kept
and retrieved separately, I believe, as they aren't needed for any
other operations, so that's why you see remote trips on both commands,
I think.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net