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


Groups > linux.debian.user > #245070 > unrolled thread

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

Started byJaikumar Sharma <jaikumar.sharma@gmail.com>
First post2022-02-07 08:20 +0100
Last post2022-02-07 09:20 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.debian.user


Contents

  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

#245070 — Locally modified config file prompts in apt-get dist-upgrade despite APT configuration in place

FromJaikumar Sharma <jaikumar.sharma@gmail.com>
Date2022-02-07 08:20 +0100
SubjectLocally modified config file prompts in apt-get dist-upgrade despite APT configuration in place
Message-ID<DO6tz-7Er-9@gated-at.bofh.it>

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

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?


thank you!

Regards,
Jaikumar


[toc] | [next] | [standalone]


#245071

FromJaikumar Sharma <jaikumar.sharma@gmail.com>
Date2022-02-07 09:20 +0100
Message-ID<DO7pD-8cI-3@gated-at.bofh.it>
In reply to#245070

[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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web