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


Groups > linux.debian.user > #275062

Re: Unexpected prompt during package update

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: Unexpected prompt during package update
Date 2024-11-30 23:50 +0100
Message-ID <JOErM-cRbh-1@gated-at.bofh.it> (permalink)
References <JOEi6-cR86-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

Unexpected prompt during package update John Boxall <jboxall47@gmail.com> - 2024-11-30 23:40 +0100
  Re: Unexpected prompt during package update Andy Smith <andy@strugglers.net> - 2024-11-30 23:50 +0100
    Re: Unexpected prompt during package update Andy Smith <andy@strugglers.net> - 2024-11-30 23:50 +0100
      Re: Unexpected prompt during package update John Boxall <jboxall47@gmail.com> - 2024-12-01 01:20 +0100
  Re: Unexpected prompt during package update Roberto C. Sánchez <roberto@debian.org> - 2024-12-01 02:10 +0100
    Re: Unexpected prompt during package update John Boxall <jboxall47@gmail.com> - 2024-12-01 02:30 +0100

csiph-web