Skip to content

Should we suggested a config entry for 'Assume-Yes' instead? #23

@eddelbuettel

Description

@eddelbuettel

I love that wajig update; wajig upgrade is now promptless again after we injected --yes. At the same time I am a) a little worried that maybe we are overriding apt's own choice (which, when done carefully, is defensible) and b) of course into fullupgrade and safeupgrade also needing a --yes which gives a bit of pause.

As an alternative we could just install the following in an apt.conf.d/ snippet, sat /etc/apt/apt.conf.d/50AssumeYes:

APT {
  Get {
    Assume-Yes "true";
  };
};

This would allow users to just comment this out in case they wanted to prompt. Better behaviour, overall?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions