Skip to content

install_prerequisites.py backgrounds itself on debian 12 and ubuntu 22.04 #188

@SwooshyCueb

Description

@SwooshyCueb

When running install_prerequisites.py on Debian 12, the process backgrounds itself, returning control to the shell. After calling fg, the script completes normally.

Here's a bit of the log leading up to the backgrounding:

INFO - running: curl -sSL https://get.rvm.io | sudo bash -s stable, unsafe_shell=True, check_rc=curl failed, retries=0
INFO -   stdout: Downloading https://github.com/rvm/rvm/archive/1.29.12.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.12/1.29.12.tar.gz.asc
GPG verified '/usr/local/rvm/archives/rvm-1.29.12.tgz'
Creating group 'rvm'
Installing RVM to /usr/local/rvm/
Installation of RVM in /usr/local/rvm/ is almost complete:

  * First you need to add all users that will be using rvm to 'rvm' group,
    and logout - login again, anyone using rvm will be operating with `umask u=rwx,g=rwx,o=rx`.

  * To start using RVM you need to run `source /etc/profile.d/rvm.sh`
    in all your open shell windows, in rare cases you need to reopen all shell windows.
<warn>Thanks for installing RVM 🙏</warn>
Please consider donating to our open collective to help us maintain RVM.

👉  Donate: <code>https://opencollective.com/rvm/donate</code>
INFO -   stderr: gpg: Signature made Fri Jan 15 18:46:22 2021 UTC
gpg:                using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
gpg: Good signature from "Piotr Kuczynski <[email protected]>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 7D2B AF1C F37B 13E2 069D  6956 105B D0E7 3949 9BDB
  * Please do NOT forget to add your users to the <code>rvm</code> 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!
INFO - 
INFO - running: sudo -E su -c '/usr/local/rvm/bin/rvm reload && /usr/local/rvm/bin/rvm requirements run && /usr/local/rvm/bin/rvm install 3.1.2', unsafe_shell=True, check_rc=rvm ruby install failed, retries=0

[1]+  Stopped                 ./install_prerequisites.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions