Bug 36600 - progress percentage calculation errors
Summary: progress percentage calculation errors
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
(Show other bugs)
Version: 7.1
Hardware: All Linux
medium
low
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-04-19 00:56 UTC by Daniel Roesen
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-04-19 11:45:28 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Daniel Roesen 2001-04-19 00:56:27 UTC
Example:

[root@homebase redhat]# rpm -Fvh RPMS/i386/slrn-*
Preparing...         ########################################### [100%]
   1:slrn            ########################################### [ 50%]
   2:slrn-pull       ########################################### [100%]

I think I saw someone in another filing talking about seeing 101% (sounds
like rounding issue).

Comment 1 Jeff Johnson 2001-04-19 11:40:00 UTC
No it isn't rounding, it's mixing source and binary rpm's, source rpm's are
not included in the calculation.

Comment 2 Daniel Roesen 2001-04-19 11:45:24 UTC
No, there was no Source RPM involved. Just two binary RPMs.

Comment 3 Jeff Johnson 2001-04-19 12:11:29 UTC
The greater than 100% is in #35979 and has src rpm's involved.

So what is wrong with the output above, the 50%? That's a feature, as that's
the percentage of the entire transaction that is complete, in your case
100% divided by 2 packages.

Comment 4 Daniel Roesen 2001-04-19 12:19:35 UTC
Ah, OK. Thanks for clarification.


Note You need to log in before you can comment on or make changes to this bug.