Bug 75640

Summary: RFE: rpm -Fvh --test should list packages to be freshened
Product: [Retired] Red Hat Linux Reporter: Peter J. Holzer <hjp>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-10 15:27:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter J. Holzer 2002-10-10 15:27:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020103

Description of problem:
rpm -Fvh *.rpm 
in a directory full of RPMs (e.g., a mirror of the updates directory
from the Redhat FTP server) is a convenient way to update all installed packages.

Doing this blindly is also a bit dangerous since some packages need
special care. So it would be nice to find out what rpm -F will do 
before actually doing it.

Unfortunately the "intuitive" way of invoking

  rpm -Fvh --test *.rpm

does not work. Unlesse there are conflicts, it will only print
Preparing...               ########################################### [100%]
and no indication which packages would be installed.

You can get the information with -vv, but that also prints a lot of
other information which is not relevant for the task at hand.

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


How reproducible:
Always

Steps to Reproduce:
1. Get a directory full of update rpms.
2. Invoke rpm -Fvh --test
3. Invoke rpm -Fvh
4. Compare output. It should be the same, but it isn't.
	

Additional info:

Comment 1 Jeff Johnson 2002-10-10 15:53:40 UTC
This is the traditional behavior of --test.
Use -vv if you want to see what would be installed