Link to home
Start Free TrialLog in
Avatar of phreakin
phreakin

asked on

Updating RPM's

Just a quick question about updating installed RPM's. When using rpm -Uvh <package_name>.rpm , this will update the existing installed rpm without modifying existing configurations correct? My main concern is sendmail. If I use -Uvh, I want to make sure that it keeps everything intact and just updates it for security reasons.
Avatar of jlevie
jlevie

Acutually when updating via an rpm you should use 'rpm -Fv <pkg>'. But either method can install new config files (like sendmail.cf in this case). In those cases where there is a clash rpm normally either installs its version of the config file as some-file.rpmnew or saves your copy as some-file.rpmsave or  similar. If you want to be completely safe, save a copy of all of the critical files (/etc/aliases, /etc/sendmail.cf, and /etc/mail/*) before upgrading. If you are running 7.0 or later the new version of sendmail is close enough to what you have now that you should be able to use your existing sendmail.cf as-is.
ASKER CERTIFIED SOLUTION
Avatar of spwbot
spwbot

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question appears to have been abandoned. Your options are:
 
1.  Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you wish to do this, and allow for Expert response.
3.  Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4.  Delete the question. Again, you must tell the other participants why you wish to do this.
 
Please click this Help Desk link for Member Guidelines, Member Agreement and the Question/Answer process:  Click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues.
https://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp
 
PLEASE DO NOT AWARD THE POINTS TO ME.  
_________________________________________
------------>  EXPERTS:
 
Please leave any comments regarding this question here on closing recommendations if this item remains inactive another three days.
 
Thank you everyone.
 
Moondancer
Community Support Moderator @ Experts Exchange