You are not logged in.
Recently when performing an update, pacman generated /etc/services.pacnew for iana-etc. The old file is in the same format as the pacnew file but the old one is riddled with comments around the various entries. I have no idea how to merge two files of such size. Vimdiff didn't detect any real similarity between the files (even though at a glance the files are almost the same, minus the comments). I tried using grep/sed to get rid of all of the comments and get the entries into a stricter format (service-name:port/protocol). The diff of those reformatted files was manageable, but I don't know what any of the changes mean, and I don't know how to get the changes to be reflected in the original commented file. The changes that I see are things like added/removed lines, in which there are missing numbers on both sides, and character replacements such as '-' to '_'.
Here is a link to the services.pacnew file. I would have posted the original commented file too but it's too big for pastebin. Let me know if there is any other information that would be helpful. Thanks in advance.
Last edited by dudefellaguy (2012-07-31 18:20:38)
Offline
I think it's OK to just remove the old files and rename 'services.pacnew' to 'services'.
Offline
sudo mv /etc/services.pacnew /etc/servicesDon't do that for every .pacnew, but in case of /etc/services & /etc/protocols it should be ok
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline