Ruby RVM apt-get update error

前端 未结 17 2323
醉酒成梦
醉酒成梦 2020-12-02 12:03

I get following error when trying to install anything with RVM:

Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/bina         


        
相关标签:
17条回答
  • 2020-12-02 12:55

    In my case rvm missed some linux packages, which couldnt be installed without sudo. There were no apt-get install errors at all.

    When running rvm install ruby x.x.x with sudo, rvm installed packages required to build ruby and it worked.

    0 讨论(0)
  • 2020-12-02 12:57

    Issue - requirements_debian_update_system ruby-2.2.2 error

    I also had the same issue. I found info on this link Click Here

    I followed this and resolved my issue. Was able to install ruby as

    rvm install 2.2
    
    0 讨论(0)
  • 2020-12-02 12:58
    apt install libc6:amd64 libc6:amd64 libc6 libc6-dev:amd64 libc6-dev libc-dev-bin libc-bin man-db libc-dev-bin libc6-dev:amd64
    

    thats work fine for me ^^

    0 讨论(0)
  • 2020-12-02 13:00

    I had the same issue. If none of the other answers work try this. I ran the following command to fix it:

    sudo apt-get -f install

    Then I remembered that I failed installing a package earlier that day. What this command did was resolve the dependencies on that package and allowed RVM to do its thing.

    0 讨论(0)
  • 2020-12-02 13:00

    I was also getting this error when my working directory was inside a mounted dir.

    The fix was just to:

    cd ~

    I figured this out by seeing this at the bottom of a sudo apt-get update

    E: Unable to change to /path/to/my/current/directory/ - chdir (13: Permission denied)

    0 讨论(0)
提交回复
热议问题