我偶尔会丢失我的配置文件“/etc/mysql/my.cnf”,并想恢复它。该文件属于mysql-common某些重要功能所需要的包,所以我不能只是purge && install它:依赖项也将被卸载(或者如果我可以暂时忽略它们,它们将无法工作)。
mysql-common
purge && install
有没有办法在不ar取消包文件的情况下从包中恢复配置文件?
ar
dpkg-reconfigure mysql-common 没有恢复它。
dpkg-reconfigure mysql-common
linux configuration restore dependencies apt
apt ×1
configuration ×1
dependencies ×1
linux ×1
restore ×1