Debian系发行版让软件包配置文件恢复到默认的方法 - 可打印的版本 +- WeHack BBS (https://bbs.wehack.space) +-- 版块: 计算机技术 (https://bbs.wehack.space/forum-5.html) +--- 版块: GNU/Linux 讨论区 (https://bbs.wehack.space/forum-6.html) +--- 主题: Debian系发行版让软件包配置文件恢复到默认的方法 (/thread-15.html) |
Debian系发行版让软件包配置文件恢复到默认的方法 - vimacs - 01-11-2018 https://unix.stackexchange.com/questions/27762/restore-etc-configuration-files-from-the-default https://serverfault.com/questions/82801/linux-how-to-restore-config-file-using-apt-get-aptitude 使用dpkg的--force-confmiss选项 代码: apt-get install --reinstall -o Dpkg::Options::="--force-confmiss" <package> |