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


Groups > linux.debian.user > #245071

Re: Locally modified config file prompts in apt-get dist-upgrade despite APT configuration in place

From Jaikumar Sharma <jaikumar.sharma@gmail.com>
Newsgroups linux.debian.user
Subject Re: Locally modified config file prompts in apt-get dist-upgrade despite APT configuration in place
Date 2022-02-07 09:20 +0100
Message-ID <DO7pD-8cI-3@gated-at.bofh.it> (permalink)
References <DO6tz-7Er-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, 2022-02-07 at 12:45 +0530, Jaikumar Sharma wrote:
> Hi,
> 
> I'm trying to upgrade my Debian 10 box (10.11) with latest security
> fixes on using command line as per below:
> 
> $ sudo apt-get -o Dpkg::Options::="--force-confdef" -o
> Dpkg::Options::="--force-confold" dist-upgrade -y --allow-
> unauthenticated
> 
> above command line with APT configuration is supposed to keep the old
> configuration files in place (without prompting) as per [1] but it is
> prompting me about locally modified /etc/samba/smb.conf (which is
> custom configuration in place)
> 
> [1] 
> https://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/
> 
> .......
> A new version (/run/samba/upgrades/smb.conf) of configuration file
> /etc/samba/smb.conf is available, but the version installed currently
> has been locally modified.
> What do you want to do about modified config file smb.conf? 
> ......
> 
> Does somebody know where is the glitch or i'm doing something wrong or
> missing something obvious?
> 
> 
Please ignore this mail thread as this seems to be a bug 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316049 - will use
dpkg-divert itself! Sorry.

--
Jaikumar

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


Thread

Locally modified config file prompts in apt-get dist-upgrade  despite APT configuration in place Jaikumar Sharma <jaikumar.sharma@gmail.com> - 2022-02-07 08:20 +0100
  Re: Locally modified config file prompts in apt-get dist-upgrade  despite APT configuration in place Jaikumar Sharma <jaikumar.sharma@gmail.com> - 2022-02-07 09:20 +0100

csiph-web