SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Searching for NEW configuration files
Some packages had new configuration files installed.
You have four choices:
(K)eep the old files and consider .new files later
(O)verwrite all old files with the new ones. The
old files will be stored with the suffix .orig
(R)emove all .new files
(P)rompt K, O, R selection for every single file
What do you want (K/O/R/P)?
I usually use the P option. That way it will prompt you for each file and you can decide from there. If it's a file I haven't changed, I let it overwrite it, but if I have changed it, I usually keep the old one and merge in any changes from the *.new manually.
Last edited by montagdude; 07-09-2016 at 12:22 PM.
Searching for NEW configuration files
Some packages had new configuration files installed.
You have four choices:
(K)eep the old files and consider .new files later
(O)verwrite all old files with the new ones. The
old files will be stored with the suffix .orig
(R)emove all .new files
(P)rompt K, O, R selection for every single file
What do you want (K/O/R/P)?
My first response is to hit 'p' for prompt.
As each .new file is presented, I choose to view the diff.
My action then varies.
If the diff involves changes to local settings (e.g. location customisation or inittab), I remove the incoming .new file.
If the diff involves changes to daemons that I do not use, I overwrite the existing file.
If the diff involves changes to daemons that I do use, I will either overwrite the existing file or keep the incoming .new file (which I later inspect against the existing using "vimdiff').
You can run 'slackpkg new-config' multiple times after an upgrade in -current, to cycle through the incoming .new files.
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 930
Rep:
Same as montagdude, "(P)rompt K, O, R selection for every single file"
If it is a .new file of something that I don't use or I know that I didn't edit the ".old" file, I just overwrite.
Others .new files I run kompare to see what changed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.