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

后端 未结 13 808
一生所求
一生所求 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条回答
  •  猫巷女王i
    2020-12-22 15:30

    for me worked changing the filesystem from Read-Only before running vim:

    bash-3.2# mount -o remount rw /
    

提交回复
热议问题