Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202838

Re: stretch update overwrites nano file

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: stretch update overwrites nano file
Date 2018-11-27 20:40 +0100
Message-ID <wYRnc-2Qq-13@gated-at.bofh.it> (permalink)
References <wYyaR-7zx-5@gated-at.bofh.it> <wYyaR-7zx-3@gated-at.bofh.it> <wYzJD-8nS-1@gated-at.bofh.it> <wYFvI-3DE-5@gated-at.bofh.it> <wYRnc-2Qq-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 27 Nov 2018 at 11:07:33 +0000, Bonno Bloksma wrote:

[Snip]

> >   During startup, nano will first read the system-wide settings, from
> >  /etc/nanorc (the exact path might be different), and then the user-
> >  specific settings, from ~/.nanorc.
> > So, the correct file to customise nano settings is either of those two files.
> 
> Yup, I simply put my default.nanorc file back into the /usr/share/nano
> dir. I want it to be a system wide default as the current default is
> "a bit sparse" ;-)

Then you used dpkg-divert to be able to sleep better at nights and not
have to worry about it being overwritten?

> I now better understand the logic why my default file got replaced.
> Still it would have been better if there was some kind of warning but
> I understand the logic and I can live with it. :-)

It would not have been better to have been given a warning. Any admin
who alters a system file should know what he is doing and be able to
deal with it. Think of a hundred altered files and a hundred warnings
during an upgrade.

Another point is that /usr/local is the place for non-package files.

-- 
Brian.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: stretch update overwrites nano file David Wright <deblis@lionunicorn.co.uk> - 2018-11-27 00:10 +0100
  Re: stretch update overwrites nano file Brian <ad44@cityscape.co.uk> - 2018-11-27 01:50 +0100
    Re: stretch update overwrites nano file Tixy <tixy@yxit.co.uk> - 2018-11-27 08:00 +0100
      Re: stretch update overwrites nano file Brian <ad44@cityscape.co.uk> - 2018-11-27 20:40 +0100
        Re: stretch update overwrites nano file Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-28 08:20 +0100
          Re: stretch update overwrites nano file Brian <ad44@cityscape.co.uk> - 2018-11-28 21:50 +0100
      Re: stretch update overwrites nano file Richard Hector <richard@walnut.gen.nz> - 2018-11-28 05:20 +0100
  Re: stretch update overwrites nano file Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-11-27 04:10 +0100
    Re: stretch update overwrites nano file Brian <ad44@cityscape.co.uk> - 2018-11-27 12:20 +0100

csiph-web