Re: what to do with *.rpmnew files?

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

 



On 2006-07-20 16:22, Aaron Konstam wrote:
> On Wed, 2006-07-19 at 16:21 -0700, Don Russell wrote:
>> Today I updated sendmail via yum and received a warning that 
>> /etc/mail/sendmail.mc was created as /etc/mail/sendmail.mc.rpmnew.
>>
>> (A few other files had the same warning, but they are created from the 
>> .mc file so I'm not too concerned.)
>>
>> I gather this happens because I changed the sendmail.mc file so the 
>> update process doesn't want to wipe out my changes.
>>
>> Are there any tools to compare/apply the differences between the rpmnew 
>> version and my current version? Or, do I have to do something like run 
>> diff and then go through all the changes one by one manually?
>>
>> Thanks,
>> Don
>>
>>
> I think if you use diff with the -e option you get a script that can be
> used with sed to change the files to automagically.

No, diff -e produces a script for ed, not sed.  See the manual.

Better would be to use diff -c or diff -u and use patch to apply the
differences.  See "man diff" and "man patch".

-- 
Sjoerd Mullender

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux