[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: