I’m learning to manage .pacnew files with pacdiff in combination with meld, and I want to make sure I interpret correctly what I see in below screenshot:
it seems to want to comment out the [multilib] repository, of which I’m not entirely sure why it’s uncommented - this could be because of an application choice I may have made during install, but I’m unsure how to check for installed packages from a specific repository.
it seems to want to remove the [endeavouros] repository entirely.
Are my interpretations correct? If so, how do I check if I have anything installed from [multilib], and is removing the [endeavouros] repository something I want? (I suspect it isn’t…)
I also was looking at this but you don’t want to remove that. I did have another question though. The pacnew file is different for this one. I don’t know what these commands do so how can i know if i want to change it or not?
This is the old one. #XferCommand = /usr/bin/curl -C - -f %u > %o
You have to decide using human intelligence. There is no answer. If you don’t know what it does either ignore it and hope for the best or do the research to learn.
In this particular case, it is commented out. Is it removed or changed in the pacnew file?
Call it shitty phrasing. Files don’t “want” anything, and I understand what the .pacnew is for
Let me put it this way: if I were to choose to overwrite my current config with the .pacnew, do I understand correctly that it would 1. comment out [multilib] and 2. remove [endeavouros]? That’s really all I need to know
The only difference between the two files is what you see in the screenshot (after I’ve manually done some editing and accepted the XferCommand differences Rick is talking about.
What would “merging” mean in this case? (Not a native speaker, so this might actually be a language failure on my end…)
merging means taking the pieces you want from both files and combining them. In this case, for that block in your screenshot, you want to keep the old and not the new.
Alternatively, you could accept the changes and then edit them back in again but that seems pointless.
Thank you, this was exactly what I asked. Will keep the config as it is and delete the .pacnew then (like I said, there are no other differences anymore besides the one highlighted in the screenshot).