Red Hat Bugzilla – Bug 493249
RFE: "Finishing upgrade" takes longer than upgrade; has no progress information.
Last modified: 2014-01-21 18:08:47 EST
As the title suggest, when (pre)upgrading a rather large installation, "finishing upgrade" stage takes longer than the actual package install, and unlike the package install stage, the user has no visual indication on what's going on, and how much time it'll take.
I saw the same behavior on a number of F9 machines. (that were upgraded to F10).
I assume that at least part of this stage is yum-cleanup. (Am I wrong?)
In short, the RFE is rather simple - please add some kind of progress information to the last upgrade stage.
P.S. I filed it against preupgrade (as I encountered it while using preupgrade) - but I assume that this is actually an anaconda issue.
Yes, this is not a preupgrade bug. The problem belongs to either anaconda, or rpm.
The reason the feedback is bad here is that it's really hard to estimate the amount of time this part of the transaction will take.
%posttrans scripts - like rpm %post scripts in general - don't report any useful status, so we have no way of knowing how much work they're going to do, or how far along they've gotten. As it stands, there's nothing more we can do.
I'm sure there are plenty of bugs filed about this elsewhere.
About all we can do here is overlay a "package 47 of 1337" thing over the pulse bar on that dialog. As Will said, we have no other information about how long things are going to take given that scriptlets can do anything they want.
Chris & Will,
I understand that trying to guesstimate time is more-or-less impossible.
Never the less, even a "Performing post-upgrade clean-up on package X/Y" can give the user a rough progress estimation.
Any change of having such fix land in-time for F11 release?
We tried a couple of simple hacks but they didn't work out. It looks like this isn't going to get fixed in time for F11. I'd like to revisit it for F12, though.
*** Bug 498157 has been marked as a duplicate of this bug. ***
Thanks for the update.
This is really annoying.
People have been complaining about it for years.
Just tell us what is going on.
You may not be able to estimate how long it will take
but at least you must know what is happening.
This is worse - much worse - than Windows.
Thanks for your opinion. I appreciate the kind words.
Trolls aside, any chance of getting it in F12 GA?
Yeah - check out item #2 at https://fedoraproject.org/wiki/Anaconda/Features/YuminstallCleanup
Thanks again for the update.
*** Bug 532082 has been marked as a duplicate of this bug. ***
*** Bug 505346 has been marked as a duplicate of this bug. ***
This isn't fixed in Fedora 12.
*** Bug 597064 has been marked as a duplicate of this bug. ***
This hasn't been fixed in Fedora 14 yet either. This step has been running for over an hour. Doesn't qualify as "This may take a little while."
This is a preupgrade from F12 to F14.
Well rpm doesn't tell me how many packages it's processing in the cleanup phase nor what number we're on. But it at least tells me which package name is being processed. So I can't do a proper progress bar, but I can at least display the name of the package as we process it. That's better than nothing, I suppose.
Isn't the number of packages upgraded a good estimate for the number of packages to be cleaned? Then as you get a new package being cleaned you can advance the progress bar? It's ok if the bar suddenly jumps to being done at the end.
Indeed, some progress indication would be better than nothing. And in any case, yum does provide this information, so obviously it's possible to get it out of rpm somehow.
Just indicating which package is being cleaned up doesn't really help the situation much.
I second the above.
Saying "Cleaning up 1291/1430 with a 90% progress bar, is far better.
Adding another vote for this (and for the many "closed duplicate" bugs with similar complaints).
F12 -> F14 on a 1.9GHz Pentium IV had "finishing upgrade" for an hour or two, with only the cylon "doing stuff" bar; a progress bar of *any* sort would be much better.
Various other bugs that are duplicates (or at least very similar) to this one:
bug 208725 (dups: bug 450343)
bug 452724 (dups: bug 474460)
bug 493249 (dups: bug 532082, bug 597064)
Another vote here ...
To the non expert user it really looks like Fedora has hung. He/she may turn off the machine in frustration, without some indication that progress is being made.
In F15 it at least tells you what package it's cleaning up, which is an improvement but it still doesn't tell you how far it is through the process.