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

Switch apt to apt-get with --quiet option to avoid the warning thrown by the current apt ... > /dev/null #43

Closed
wants to merge 1 commit into from

Conversation

theschles
Copy link

Switch from apt to apt-get -- as apt is designed to be an interactive wrapper around apt-get.

This change will remove the current "WARNING: apt does not have a stable CLI interface. Use with caution in scripts." message.

The --quiet option will "[Produce] output suitable for logging, omitting progress indicators." (source: https://linux.die.net/man/8/apt-get ).

Per @Apexpredation in #41 (comment) , apt's progress indicators can mess with scripts...and this is being run in a script.

@KwadFan
Copy link
Member

KwadFan commented Oct 23, 2022

Please see #41 (comment) why I refuse the merge yet.

Thanks for your support and effort.
Regards Kwad

@KwadFan KwadFan closed this Oct 23, 2022
@theschles
Copy link
Author

Understood. Apologies for causing you angst :(

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

Successfully merging this pull request may close these issues.

2 participants