I’m trying to make myself prepared and capable for dealing with .pacnew files when the need arises.
This is the understanding I got from googling:
I can use vimdiff to merge the two configuration files eg.
vimdiff /etc/pacman.conf /etc/pacman.conf.pacnew
Then apply changes to the old config file: a. add stuff to old which has been added to
.pacnew, b. delete stuff from old which isn’t present in
.pacnew, modify stuff in old which has been modified in .pacnew`
I have three questions.
Is it the case that I would basically just have to analyse both the files and make the current config file exactly the same as the .pacnew file except for my own modifications?
after merging the .pacnew file into the current config file using the above example would it be okay to run
sudo rm /etc/pacman.conf.pacnew?
Is there anything that I’m missing?