How can I find what changes have been made to rpm-supplied files?
Colin Paul Adams
colin at colina.demon.co.uk
Sat Jun 26 12:05:57 UTC 2004
>>>>> "Michael" == Michael Schwendt <fedora at wir-sind-cool.org> writes:
Michael> On 26 Jun 2004 11:19:03 +0100, Colin Paul Adams wrote:
>> Since installing httpd, I have edited a couple of files: rpm
>> --verify tells me this, but it doesn't tell me what the changes
>> are.
>>
>> What is the easiest way to find out what the changes are? For
>> preference, I'd like to rename the two files, and then extract
>> the pristine versions from the rpm file. Can I do this short of
>> unistalling and re-installing?
Michael> Use could use rpm2cpio to extract the httpd package into
Michael> a temporary directory and then run 'diff -u oldfile
Michael> newfile' to examine your changes.
Thanks for that suggestion. It worked a treat.
--
Colin Paul Adams
Preston Lancashire
More information about the fedora-list
mailing list