LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-27-2020, 02:11 AM   #1
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware -current 32bit!
Posts: 550

Rep: Reputation: 206Reputation: 206Reputation: 206
Regarding -current's "Fri Jun 26" update of sysklogd


As a decade-long user of -current, I'm a bit ashamed to admit it, but
I have always simply "K"ept all my configs during upgrading.
The directions for sysklogd say:
Quote:
Make sure to move the .new init script and config into place for this.
Could some kind soul describe how to accomplish this?
:sheepish grin:
 
Old 06-27-2020, 02:15 AM   #2
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware
Posts: 37

Rep: Reputation: 18
Select "O"verwrite instead of "K"eep
 
1 members found this post helpful.
Old 06-27-2020, 02:34 AM   #3
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware -current 32bit!
Posts: 550

Original Poster
Rep: Reputation: 206Reputation: 206Reputation: 206
Quote:
Originally Posted by z80 View Post
Select "O"verwrite instead of "K"eep
And, in doing so, no 'moving' of anything will be necessary?
I'll simply have to re-edit my blacklist and mirrors files?
EDIT: my mirrors and blacklist remained intact. Hmm. I think I understand!
Thank you, z80!

Last edited by STDOUBT; 06-27-2020 at 03:17 AM.
 
Old 06-27-2020, 05:54 AM   #4
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,207

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Assume your using slackpkg.

I generally select (P)rompt. Here is what I did. I am using slaIIckpkg with slackpkg+ I actually selected (D)iff, to see what changes were made. I edited that stuff out.

Code:
[5/5]   Package sysklogd-2.1.2-x86_64-1.txz is already in cache - not downloading
        Upgrading sysklogd-1.5.1-x86_64-3 => [slackware64]:sysklogd-2.1.2-x86_64-1...
Upgrading:  sysklogd-2.1.2-x86_64-1: Linux system logging utilities ............................................................ [180K]

Searching for NEW configuration files

Some packages had new configuration files installed (2 new files):

/etc/rc.d/rc.syslog.new
/etc/syslog.conf.new

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)?
p
Select what you want file-by-file

/etc/rc.d/rc.syslog.new - (K)eep
                          (O)verwrite
                          (R)emove
                          (D)iff
                          (M)erge
                          (V)imdiff
                          d
--- /etc/rc.d/rc.syslog 2016-06-30 03:20:13.000000000 +0800
+++ /etc/rc.d/rc.syslog.new     2020-06-27 02:25:17.000000000 +0800
<<snip>>
/etc/rc.d/rc.syslog.new - (K)eep
                          (O)verwrite
                          (R)emove
                          (D)iff
                          (M)erge
                          (V)imdiff
                          o

/etc/syslog.conf.new - (K)eep
                       (O)verwrite
                       (R)emove
                       (D)iff
                       (M)erge
                       (V)imdiff
                       d
--- /etc/syslog.conf    2013-06-23 04:49:03.000000000 +0800
+++ /etc/syslog.conf.new        2020-06-27 02:25:17.000000000 +0800
<<snip>>
/etc/syslog.conf.new - (K)eep
                       (O)verwrite
                       (R)emove
                       (D)iff
                       (M)erge
                       (V)imdiff
                       o

Last edited by chrisretusn; 06-27-2020 at 05:55 AM.
 
2 members found this post helpful.
Old 06-27-2020, 07:10 AM   #5
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware
Posts: 37

Rep: Reputation: 18
As chrisretusn already suggested: Best way is to use "P"rompt and the decide on a file by file basis which files to replace and which to keep.

If you keep a file you should check if the .new file contains necessary enhancements and merge them in your existing files.
And after that make sure to remove the .new file - otherwise /etc gets spammed with .new files over time.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware64 + Multilib and glibc update for Fri Jun 30 21:14:15 UTC 2017 kjhambrick Slackware 4 07-02-2017 07:22 AM
-current [Fri Jun 24 23:37:19 UTC 2016]: xfce4-power-manager does not display battery level K-Wizzz Slackware 10 06-26-2016 04:25 PM
[SOLVED] /dev/net missing in Current's Fri Nov 20 21:52:15 UTC 2015 update tux_dude Slackware 15 11-22-2015 10:57 PM
[SOLVED] Linux local 2.2.16 #16 Fri Jun 9 18:25:17 PDT 2000 i?86 unknown stf92 Slackware 45 08-07-2014 06:32 AM
What is: "AUDIT:Fri Jun 2 13:01:43 2006: 15315 X:Client 24 rejected.. enzlop Linux - Networking 0 06-05-2006 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration