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

Some ugly errors #17

Open
Sascha-1 opened this issue Feb 18, 2022 · 3 comments
Open

Some ugly errors #17

Sascha-1 opened this issue Feb 18, 2022 · 3 comments

Comments

@Sascha-1
Copy link

Sascha-1 commented Feb 18, 2022

I'm using Linux Mint 20.3 Cinnamon. Testing the script I get these errors/warnings. They may not be that serious, but it would be nice to get rid of them.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

E: Package 'snapd' has no installation candidate
sudo: snap: command not found
./install-comnet_latest.sh: line 171: rustup: command not found

Here is a link explaining part of the problem.
https://linuxmint-user-guide.readthedocs.io/en/latest/snap.html

@willief
Copy link
Member

willief commented Feb 18, 2022

WARNING: apt does not have a stable CLI interface. Use with caution in scripts. is standard - the alternative is to have the usual overkill of apt messages which might overwhelm a noob. Am I worrying about this too much?

As for snapd, I'll need check your linik to see how that is handled in Cinnamon. Im testing this on a very vanilla Ubuntu 20.04

@Sascha-1
Copy link
Author

Personally I think WARNINGs can be more scary than regular apt messages telling the user what's happening.

One of the reasons I abandoned Ubuntu a long time ago was that Canonical got too commercial. E.g. rustc from the regular repositories works just fine on Mint, and probably Ubuntu, but maybe not Debian Stable.

@willief
Copy link
Member

willief commented Feb 19, 2022

I may add a notice - please ignore these warnings - or look harder to find a way to suppress them entirely.

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

2 participants