我可以说我不是第一个遇到这个问题的人......
me@PF2DCSXD:/$ cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory
me@PF2DCSXD:/$ sudo nano /etc/resolv.conf
然后我陷入了这个无限循环。
Ctrl + X
Y
Enter
- 它说“[写入/etc/resolv.conf时出错:没有这样的文件或目录]”
Ctrl + C
终端:
me@PF2DCSXD:/$ ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
ln: failed to create symbolic link '/etc/resolv.conf': File exists
me@PF2DCSXD:/$ cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory