Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 87766 - rpm gives misleading progress output
Summary: rpm gives misleading progress output
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-04-02 08:16 UTC by David Balažic
Modified: 2007-04-18 16:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-04-02 23:42:07 UTC


Attachments (Terms of Use)

Description David Balažic 2003-04-02 08:16:55 UTC
Description of problem:

[root@juice tmp]# ls *rpm
evolution-1.2.2-5.i386.rpm  sendmail-8.12.8-5.90.i386.rpm
[root@juice tmp]# rpm -Fvh *rpm
Preparing...                ########################################### [100%]
   1:evolution              ########################################### [ 50%]
   2:sendmail               ########################################### [100%]

Is evolution only half installed ?

People said, this means "1 out of 2 (=50%) installed".

If that is true, then the output is misleading and non-obvious.
Please change it to something more understandable.
Maybe:
"50% overall"
or "1/2"
or "1 out of 2"

Version-Release number of selected component (if applicable):

rpm-4.2-0.69.i386.rpm

Comment 1 Chris Ricker 2003-04-02 15:58:05 UTC
I don't think there's any problem with the current behavior

If anything, the confusing part is that the %postinstall, etc. scripts weren't
included in the totals (so if you install 20 packages, you hit 100%, think
you're done, but still have 20 scripts left to run). Other than that, I at least
think it makes sense.

Comment 2 Christian Rose 2003-04-02 16:24:57 UTC
I think that one cause for the confusion might be that this output differs from
what "update -u" produces:

Preparing...                ########################################### [100%]

Installing...
   1:openssl                ########################################### [100%]
   2:openssl-perl           ########################################### [100%]

"up2date -u" displays the progress for each package. I don't know what behavior
is better, but both these programs should probably show the same type of
progress since the output looks so similar, to avoid confusion.


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