Is it possible to not reset the package cache upon every completed action queue?

9 views
Skip to first unread message

rookie.mp

unread,
Aug 30, 2012, 9:51:51 PM8/30/12
to yu...@googlegroups.com
Alright, so I only got to looking at the yumex code very recently so forgive me if I don't use the correct terminology.

So currently yumex resets the package cache upon every completed action queue. That is, if I install one package and then realize I want to install another, I have to wait for the entire package list to repopulate. I understand that this should occur if any of the completed actions result in a change in the active repository list, but the refresh occurs for ALL actions and that gets annoying after a while.

Now, I am no expert on Yum, so it is certainly possible that this was completely intentional, so forgive me if I'm treading over a very specific design feature.

Tim Lauridsen

unread,
Aug 31, 2012, 3:36:09 AM8/31/12
to yu...@googlegroups.com
After a transaction is completed (Some actions is performed), then yumex has to reload the yum backend to get a fresh picture of how the world look like now, that can't be avoided.
But the long time it can take is not caused by it take to reload yum information, it is the time GTK takes to add many element to the TreeView, it is a real pain to add 10000+ packages to the view.

It is much faster to just stand on the update page and search for package, then to select the available page and wait for the packages to load into the view :)

Tim
Reply all
Reply to author
Forward
0 new messages