Re: Reciprocal functionality for rpm -V

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, 12 April 2004, at 09:46:09 (-0500),
Aaron Bostick wrote:

> rpm -V allows me to see what files in a package have been modified
> by checksum, group/owner, permissions, and I think even mtime/ctime?
> 
> This is all great, however if something does show up wrong, the only
> way to "fix" from an rpm standpoint is to reinstall the whole
> package.

Something like this?

rpm2cpio RPMFILE | cpio -iud `rpm -V PKG | sed 's@^[^/]*/@/@'`

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej@xxxxxxxxx>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "Do you know why so many great pictures are about love triangles?
  Simple.  For every piece of happiness, there's also a piece of
  unhappiness.  If you haven't told both sides, you haven't told the
  whole story."     -- Harve Presnell (A. I. Brooks), "Dawson's Creek"


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux