Closed george-carlin closed 3 years ago
(Should add that running rvm fix-permissions
doesn't make a difference either.)
Whats the output of sudo apt update
?
$ sudo apt update
[sudo] password for george:
Hit:1 http://gb.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:4 https://repo.skype.com/deb stable InRelease [4,502 B]
Get:5 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Get:6 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Hit:7 http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_20.04 InRelease
Get:8 https://cli.github.com/packages focal InRelease [3,024 B]
Get:9 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Ign:10 http://binaries.erlang-solutions.com/debian focal InRelease
Get:11 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Hit:12 http://binaries.erlang-solutions.com/debian focal Release
Get:13 http://gb.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [229 kB]
Get:14 http://gb.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [202 kB]
Get:15 http://gb.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:16 http://gb.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1,768 B]
Err:4 https://repo.skype.com/deb stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3
Err:5 http://dl.google.com/linux/chrome/deb stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
Err:8 https://cli.github.com/packages focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C99B11DEB97541F0
Err:9 https://dl.yarnpkg.com/debian stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E
Get:18 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.2 kB]
Get:19 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [55.7 kB]
Err:20 http://ppa.launchpad.net/rael-gc/rvm/ubuntu focal InRelease
Cannot initiate the connection to ppa.launchpad.net:80 (2001:67c:1560:8008::15). - connect (101: Network is unreachable) Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out
Err:21 http://ppa.launchpad.net/teatime/ppa/ubuntu focal InRelease
Cannot initiate the connection to ppa.launchpad.net:80 (2001:67c:1560:8008::15). - connect (101: Network is unreachable)
Reading package lists... Done
W: GPG error: https://repo.skype.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3
E: The repository 'https://repo.skype.com/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
E: The repository 'http://dl.google.com/linux/chrome/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://cli.github.com/packages focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C99B11DEB97541F0
E: The repository 'https://cli.github.com/packages focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E
E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details
Interesting, for some reason your apt
is not reading any Canonical Launchpad PPA (which includes the rvm
one and others). Are you under a company/university proxy, something like that?
Nope, I'm at home using my regular Internet connection. No proxies/VPNs/firewalls that I'm aware of.
I can visit ppa.launchpad.com in my browser, so I don't think I'm blocked from accessing this domain.
Ok. You'll need to fix your apt
not reaching the PPAs problem. If not, the alternative would be remove all PPAs from your repositories list, then try to install regular rvm
instead of the packaged one.
I faced the same issue, a restart solved the problem for me, actually it's mentionned in the installation guide that it's needed.
Description
I followed the README's instructions to install RVM on Ubuntu 20.04, including having restarted my machine, but I get the following error whenever I try to install a Ruby:
The
log
file mentioned in that error message contains the followign:Click to expand
I've tried running
sudo apt-get update
like the error message suggests and it seems to run fine, but I still get the same error message.What am I doing wrong?