/etc/apt/sources.list" E212: Can't open file for writing

后端 未结 13 809
一生所求
一生所求 2020-12-22 15:06

I am trying to edit sources.list using vi editor but getting the following error while saving the file:

/etc/apt/sources.list\" E212: Can\'t open file for wr         


        
13条回答
  •  不知归路
    2020-12-22 15:37

    You just need to access to Gemfile with root access. Before vi:

    command:

    sudo su -
    

    then:

    vi ~/...
    

提交回复
热议问题