Comment 7 for bug 628657

Revision history for this message
Tormod Volden (tormodvolden) wrote :

This is bad as ever on 14.04. The current kernel updates have a > 10000 line changelog, and update-manager freezes around 20 seconds (on a quad-core, 8 GB RAM desktop) before it refreshes the GUI when I click on these packages.

I use the attached patch as a stop gap, it only lists up to 24 lines of a changelog. A real fix is probably a bit more complex because of the convoluted way the changelog is filtered and displayed. Maybe python cannot do it efficiently enough, the match operations seem pretty slow and limited and processing only line by line with all the hoops to get the work done doesn't help.

The patch can be applied with: sudo patch /usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py < update-manager-changelog-slow-628657.patch