/etc/apt 缺失

/etc/apt 缺失

我的/etc/apt目录被删除了。我正在使用 Ubuntu 16.10。我该如何重建该目录?

现在apt命令出现此错误:

W: Unable to read /etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list - RealFileExists (2: No such file or directory)

相关内容