Re: Unexpected prompt during package update
Hi,
On Sat, Nov 30, 2024 at 05:38:40PM -0500, John Boxall wrote:
> apt-get -y --show-progress dist-upgrade
>
> During the dist-upgrade I am presented with the following prompt:
>
> <snip>
> Setting up fwupd (1.9.26-2) ...
>
> Configuration file '/etc/fwupd/fwupd.conf'
> ==> File on system created by you or by a script.
> ==> File also in package provided by package maintainer.
> What would you like to do about it ? Your options are:
> Y or I : install the package maintainer's version
> N or O : keep your currently-installed version
> D : show the differences between the versions
> Z : start a shell to examine the situation
> The default action is to keep your current version.
> *** fwupd.conf (Y/I/N/O/D/Z) [default=N] ? Y
> <snip>
>
> Is the option "-y" in the command not enough to prevent the prompt?
This question is being asked by dpkg, not apt-get. I am unsure if there
is an apt config option that forces confnew on dpkg, but it might be
something like:
$ sudo apt-get -o "Dpkg::Options::=--force-confnew" …
Thanks,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
Reply to: