A
A
Azat S.2015-09-24 18:38:18
linux
Azat S., 2015-09-24 18:38:18

Unable to install Ruby on Ubuntu 15.04. What could be the problem?

Hello!
I ran into the following problem when trying to install Ruby via RVM on Ubuntu: pastebin.com/VikBZmwR Errors
when I type sudo apt-get update: pastebin.com/yusnQrv3

Err http://ppa.launchpad.net vivid/main amd64 Packages
  404  Not Found

This is how the /etc/apt/sources.list file looks like: pastebin.com/aGLaSsh1
And here is the list of files in /etc/apt/sources.list.d/: pastebin.com/1tFmCyhK
Tell me what to do in this situation?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AVKor, 2015-09-24
@AVKor

Broken repos. To fix.
rvm is used by the user, he cannot install ruby ​​due to the lack of the necessary packages. Tries to deliver them, but can't (no rights). See the requirements for documentation, which packages need to be delivered from the missing ones, install them. Then install ruby ​​via rvm.

R
Roman Mirilaczvili, 2015-09-24
@2ord

The problems are not with Ruby, but with the repositories in apt.
I have a suspicion that was done before Ubuntu 15.04 from an earlier version without taking the event to disable the PPA repositories.
So if you disable all PPAs except for

deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu vivid main
, then apt-get update should work without error.
It looks like some non-existent PPAs are listed, causing the process to stall.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question