Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

100% non-interactive Debian installations #1174

Open
martinezlc99 opened this issue Nov 6, 2024 · 1 comment
Open

100% non-interactive Debian installations #1174

martinezlc99 opened this issue Nov 6, 2024 · 1 comment

Comments

@martinezlc99
Copy link

When installing the common-utils feature, the feature installation fails since apparently my base container configuration (in this case /etc/issue) would be modified and an interactive prompt causes the install to fail:

Configuration file '/etc/issue'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   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.

One option would be to use the following apt-get options when installing packages:

  • -o Dpkg::Options::="--force-confdef" - use the default answer if a configuration file should be replaced.
  • -o Dpkg::Options::="--force-confold" - use the old configuration file if a configuration file should be replaced. Just in case the --force-confdef doesn't work.

Note this happened to me using the common-utils features, but I would assume its not isolated to this feature.

Would a pull request be accepted for this?

@martinezlc99
Copy link
Author

Just bumping to ask if a PR would be accepted. Or for any workarounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant