On 2024-02-12 12:30, Simon Becherer wrote:
Am 12.02.24 um 12:12 schrieb Carlos E. R.:
On 12/02/2024 01.36, Patrick Shanahan wrote:
* -pj via openSUSE Users <users@lists.opensuse.org> [02-11-24 18:08]:
Hi, I was reading a post here (if interested): https://forums.opensuse.org/t/do-i-have-to-babysit-updates-and-other-questio...
I decided to then pass rpmconfigcheck in Konsole.
Thinkcentre-M57p:~ # rpmconfigcheck Searching for unresolved configuration files Please check the following files (see /var/adm/rpmconfigcheck): /etc/chrony.conf.rpmnew /etc/postfix/main.cf.rpmnew /etc/postfix/master.cf.rpmnew Thinkcentre-M57p:~ # cat /var/adm/rpmconfigcheck /etc/chrony.conf.rpmnew /etc/postfix/main.cf.rpmnew /etc/postfix/master.cf.rpmnew Thinkcentre-M57p:~ #
In the post link above, one speaks of using 'diff' but it is unclear of how to use this to compare .rpm packages. How should I think of these rpmnew packages I see listed above?
https://en.opensuse.org/SDB:Offline_upgrade#Stale_configuration_files
/etc/postfix/main.cf /master are complicated files. Unless you actually use postfix, ignore them and simply replace the config file with the rpmnew.
Mh, postfix could be automatically enabled at your system and is working.. so do NOT use the new file. this will brake postfix. (the new file did not have ip-adresses etc. inculded)
well, phrase it as the admin having actively modified/configured postfix, manually or via yast mail module ;-) I certainly use postfix, you can see it in my headers.
meld/tkdiff /etc/cups/cupsd.conf.rpmnew /etc/cups/cupsd.con
transfer your personale changes from /etc/cups/cupsd.conf to /etc/cups/cupsd.conf.rpmnew, remove /etc/cups/cupsd.conf and save /etc/cups/cupsd.conf.rpmnew as /etc/cups/cupsd.conf
Much easier:
meld /etc/cups/cupsd.conf.rpmnew /etc/cups/cupsd.conf
transfer new parts from the rpmnew to your file (there are clickable arrows in meld indicating what you can do on each section), keeping the sections you want to keep from your file. Save changes, done.
Then you can delete /etc/cups/cupsd.conf.rpmnew.
Me, I do a backup of both files before starting.
i prefer to use midnight commander "mc" there you could compare/edit files in an (for me) nice way in a left and right window. of course i would ALWAYS copy both files before editing to a save place, in my sytems i do it:
I am very familiar with mc, but for this task meld is superb (I am not that familiar with tkdiff). Meld simultaneously opens and displays both files, and marks the differences on each side. A click on the paragraph you want, and it gets copied to the other file. 'mc' simply can not do this job. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))