- Depends but most of the time you can i guess…
- Yes you can
- I guess not.
If you didn’t change anything in the config file, you can as well delete the current one and just rename the .pacnew (e.g. pacman.conf.pacnew → pacman.conf)
Of course you also can do it the other way around. Take the .pacnew file and merge your changes into the pacnew file. Then delete your current one and rename the .pacnew (as mentioned above).
I use meld
to compare the two files.
@jonathon shared a nice script in another thread here. Just a little helper - it also calls meld
for comparing: