Bug 126357 - Ability to verify, from .rpm package, *only* packages that are installed.
Summary: Ability to verify, from .rpm package, *only* packages that are installed.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 1
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: 2004-06-20 02:58 UTC by Ben Smith
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-06-20 13:51:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ben Smith 2004-06-20 02:58:32 UTC
Description of problem:
I'd like to be able to verify, from a directory of rpm packages, only
those packages which are installed on the system, and ignore all others.

I know I can do this with a little scripting, but it's quite slow and
cumbersome.

Comment 1 Jeff Johnson 2004-06-20 13:51:52 UTC
You want to verify installed headers and files from the original
packages? Try
    cd /directory/of/rpms
    rpm -Vp *.rpm 2>&1 | grep -v missing
is neither slow nor cumbersome.

Not exactly what you asked for, as files that have been erased
in installed packages will be undetected, but pretty darn close.


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