Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrishowejones/29f9a8306f0ce3c3aa4fb7a610d70195 to your computer and use it in GitHub Desktop.
Save chrishowejones/29f9a8306f0ce3c3aa4fb7a610d70195 to your computer and use it in GitHub Desktop.
Failed RVM Ubuntu package installation
$ sudo apt-get install software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version (0.96.24.32.9).
0 to upgrade, 0 to newly install, 0 to remove and 65 not to upgrade.
sudo apt-get install software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version (0.96.24.32.9).
0 to upgrade, 0 to newly install, 0 to remove and 65 not to upgrade.
$ sudo apt-add-repository -y ppa:rael-gc/rvm
Hit:1 http://ppa.launchpad.net/linrunner/tlp/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://deb.playonlinux.com precise InRelease
Hit:5 http://packages.microsoft.com/repos/vscode stable InRelease
Get:6 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:7 http://download.virtualbox.org/virtualbox/debian bionic InRelease
Hit:8 http://dl.google.com/linux/chrome/deb stable Release
Hit:9 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial InRelease
Hit:10 http://prerelease.keybase.io/deb stable InRelease
Hit:11 http://packages.cloud.google.com/apt cloud-sdk-bionic InRelease
Hit:12 http://archive.canonical.com/ubuntu bionic InRelease
Hit:13 http://ppa.launchpad.net/rael-gc/rvm/ubuntu bionic InRelease
Get:14 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:15 http://gb.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:16 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Hit:17 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Fetched 252 kB in 2s (111 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://download.virtualbox.org/virtualbox/debian bionic InRelease' doesn't support architecture 'i386'
$ sudo apt-get update
Hit:1 http://deb.playonlinux.com precise InRelease
Hit:2 http://archive.canonical.com/ubuntu bionic InRelease
Hit:3 http://ppa.launchpad.net/linrunner/tlp/ubuntu bionic InRelease
Hit:4 http://download.virtualbox.org/virtualbox/debian bionic InRelease
Hit:5 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:6 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:8 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial InRelease
Get:9 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:10 http://dl.google.com/linux/chrome/deb stable Release
Hit:11 http://packages.cloud.google.com/apt cloud-sdk-bionic InRelease
Hit:12 http://prerelease.keybase.io/deb stable InRelease
Hit:13 http://ppa.launchpad.net/rael-gc/rvm/ubuntu bionic InRelease
Get:14 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:15 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Get:16 http://gb.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:17 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Fetched 252 kB in 2s (125 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://download.virtualbox.org/virtualbox/debian bionic InRelease' doesn't support architecture 'i386'
$ sudo apt-get install rvm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
rvm
0 to upgrade, 1 to newly install, 0 to remove and 65 not to upgrade.
Need to get 0 B/951 kB of archives.
After this operation, 4,426 kB of additional disk space will be used.
Selecting previously unselected package rvm.
(Reading database ... 659319 files and directories currently installed.)
Preparing to unpack .../archives/rvm_1.29.9-1_all.deb ...
Unpacking rvm (1.29.9-1) ...
Setting up rvm (1.29.9-1) ...
Creating group 'rvm'
Installing RVM to /usr/share/rvm/
test -f /etc/profile.d/rvm.sh && source /etc/profile.d/rvm.sh
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 chris
-su: rvm: command not found
dpkg: error processing package rvm (--configure):
installed rvm package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
rvm
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment