Created
January 9, 2020 15:22
-
-
Save diasjorge/60c88da6c3512b70155ee2dd1721d043 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@host:~$ ruby --version | |
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu] | |
ubuntu@host:~$ sudo add-apt-repository -y ppa:brightbox/ruby-ng | |
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease | |
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] | |
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] | |
Hit:4 https://archive.serverdensity.com/ubuntu bionic InRelease | |
Hit:5 https://pkg.threatstack.com/v2/Ubuntu bionic InRelease | |
Get:6 http://packages.cloud.google.com/apt google-cloud-logging-wheezy InRelease [3,795 B] | |
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] | |
Get:8 http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu bionic InRelease [20.7 kB] | |
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [830 kB] | |
Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [290 kB] | |
Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [26.0 kB] | |
Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [6,976 B] | |
Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,035 kB] | |
Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [320 kB] | |
Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4,044 B] | |
Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [1,900 B] | |
Get:17 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [606 kB] | |
Get:18 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [196 kB] | |
Get:19 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [17.0 kB] | |
Get:20 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [5,032 B] | |
Get:21 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [628 kB] | |
Get:22 http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu bionic/main amd64 Packages [4,184 B] | |
Get:23 http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu bionic/main Translation-en [2,580 B] | |
Fetched 4,249 kB in 1s (2,940 kB/s) | |
Reading package lists... Done | |
ubuntu@host:~$ apt-get install -y ruby2.5=2.5.7-1bbox3~bionic1 | |
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) | |
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? | |
ubuntu@host:~$ sudo apt-get install -y ruby2.5=2.5.7-1bbox3~bionic1 | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
apport-symptoms python3-apport python3-httplib2 python3-problem-report python3-requests-unixsocket python3-systemd | |
Use 'sudo apt autoremove' to remove them. | |
The following packages will be upgraded: | |
ruby2.5 | |
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. | |
Need to get 56.8 kB of archives. | |
After this operation, 2,048 B of additional disk space will be used. | |
Get:1 http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu bionic/main amd64 ruby2.5 amd64 2.5.7-1bbox3~bionic1 [56.8 kB] | |
Fetched 56.8 kB in 0s (152 kB/s) | |
(Reading database ... 123403 files and directories currently installed.) | |
Preparing to unpack .../ruby2.5_2.5.7-1bbox3~bionic1_amd64.deb ... | |
Unpacking ruby2.5 (2.5.7-1bbox3~bionic1) over (2.5.1-1ubuntu1.6) ... | |
Setting up ruby2.5 (2.5.7-1bbox3~bionic1) ... | |
update-alternatives: using /usr/bin/gem2.5 to provide /usr/bin/gem (gem) in auto mode | |
update-alternatives: using /usr/bin/ruby2.5 to provide /usr/bin/ruby (ruby) in auto mode | |
Processing triggers for man-db (2.8.3-2ubuntu0.1) ... | |
ubuntu@host:~$ ruby --version | |
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu] | |
ubuntu@host:~$ sudo apt-get install -y libruby2.5=2.5.7-1bbox3~bionic1 | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
apport-symptoms python3-apport python3-httplib2 python3-problem-report python3-requests-unixsocket python3-systemd rake ruby-did-you-mean ruby-minitest | |
ruby-net-telnet ruby-power-assert ruby-test-unit | |
Use 'sudo apt autoremove' to remove them. | |
The following packages will be upgraded: | |
libruby2.5 | |
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. | |
Need to get 3,708 kB of archives. | |
After this operation, 2,026 kB of additional disk space will be used. | |
Get:1 http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu bionic/main amd64 libruby2.5 amd64 2.5.7-1bbox3~bionic1 [3,708 kB] | |
Fetched 3,708 kB in 6s (610 kB/s) | |
(Reading database ... 123404 files and directories currently installed.) | |
Preparing to unpack .../libruby2.5_2.5.7-1bbox3~bionic1_amd64.deb ... | |
Unpacking libruby2.5:amd64 (2.5.7-1bbox3~bionic1) over (2.5.1-1ubuntu1.6) ... | |
Setting up libruby2.5:amd64 (2.5.7-1bbox3~bionic1) ... | |
Processing triggers for libc-bin (2.27-3ubuntu1) ... | |
ubuntu@host:~$ ruby --version | |
ruby 2.5.7p206 (2019-10-01 revision 67816) [x86_64-linux-gnu] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment