> This also caught my eye:
> 
> >   $ podman run -it --rm debian:unstable apt --update install -y -o
> >   Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew
> >   --allow-change-held-packages nfs-common
> 
> Why both --force-confnew and --force-confdef? My reading of dpkg(1) suggests
> that confdef overrides confnew. Or have I misunderstood?

dpkg(1) has this to say:

   confnew: If a conffile has been modified and the version in the package did
   change, always install the new version without prompting, unless the
   --force-confdef is also specified, in which case the default action is
   preferred.

I read this as --force-confdef modifies --force-confnew. However, from
reading this text I cannot tell you what it actually wants to say.

Chris

Reply via email to