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

Install/remove messages are too verbose #41

Open
owford opened this issue Nov 21, 2019 · 1 comment
Open

Install/remove messages are too verbose #41

owford opened this issue Nov 21, 2019 · 1 comment

Comments

@owford
Copy link

owford commented Nov 21, 2019

Description & Steps to reproduce

When installing/removing the PPA package from the CLI, there are a lot of unusual messages.

Expected behavior

Cf output below.
Aside from the errors messages (which are another problem) only the usual messages from apt-get should appear.
And yes, somehow the "Thanks for installing [...]" message appears twice.
As far as I can remember, rvm is the only package that does this.
I know, it's a minor annoyance.
Feel free to close this issue, but I just had to make you aware of it.

Actual behavior

Installing RVM to /usr/share/rvm/
Installation of RVM in /usr/share/rvm/ is almost complete:

  • First you need to logout - login again, anyone using rvm will be operating with umask u=rwx,g=rwx,o=rx.
  • Please do NOT forget to add your users to the rvm group.
    The installer no longer auto-adds root or users to the rvm group. Admins must do this.
    Also, please note that group memberships are ONLY evaluated at login time.
    This means that users must log out then back in before group membership takes effect!
    Thanks for installing RVM 🙏
    Please consider donating to our open collective to help us maintain RVM.

👉 Donate: https://opencollective.com/rvm/donate

Creating local gemsets for owford
Upgrading the RVM installation in /usr/share/rvm/
Can not update 'scripts/zsh/Completion/_rvm', it's a conflict between Zsh and multiuser installation, prefix the command with 'rvmsudo' to update this file.
Can not update 'scripts/extras/completion.zsh/_rvm', it's a conflict between Zsh and multiuser installation, prefix the command with 'rvmsudo' to update this file.
touch: cannot touch '/usr/share/rvm/config/displayed-notes.txt': Permission denied
Found 3 files with mode different than '664' or '775',
use --debug to see the list, run rvmsudo rvm get stable to fix it., prefix the command with 'rvmsudo' to fix it, if the situation persist report a bug.
Upgrade of RVM in /usr/share/rvm/ is complete.
touch: cannot touch '/usr/share/rvm/config/displayed-notes.txt': Permission denied

Thanks for installing RVM 🙏
Please consider donating to our open collective to help us maintain RVM.

👉 Donate: https://opencollective.com/rvm/donate

Hai! Removing /usr/share/rvm
/usr/share/rvm has been removed.

Note you may need to manually remove /etc/rvmrc and ~/.rvmrc if they exist still.
Please check all .bashrc .bash_profile .profile and .zshrc for RVM source lines and delete or comment out if this was a Per-User installation.
Also make sure to remove rvm group if this was a system installation.
Finally it might help to relogin / restart if you want to have fresh environment (like for installing RVM again).

Environment info

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"

@SuperSandro2000
Copy link

Totally agree with you. There is a reason for install instructions.

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