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)
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: /home/myhome/intallation/update20240104/rpmconfigchek/ and now here make subdirectorys like they are at the real filesystem: etc/postfix copy the files in. try to change the original files and check if the related things (in this case postfix) ist still working. expecially postfix you may have to learn a little bit before (read some stuff) until you know what is the best for your system. simoN -- www.becherer.de