HOWTO reinstall original configuration file for package (apt, deb, dpkg)

Jan 11, 2011 18:16

aptitude -o DPkg::Options::="--force-confask" reinstall packagename

In theory --force-confnew should work, but it does not work, so I use --force-confask to ask for every configuration file to be replaced by original.

N.B. To see which package owns configuration file use apt-file (apt-file update; apt-file search /etc/some/conf.conf).

dpkg, debian, ubuntu, howto, apt, linux

Leave a comment

Comments 3

(The comment has been removed)

amarao_san January 12 2011, 04:05:08 UTC
Наверное, лучше было бы should?

Я на вот это "не выполненное категорическое обязательство" и пытался указать.

Reply


anonymous January 12 2011, 20:13:29 UTC
Shall -> should
ask about -> ask for
wich -> which
own -> owns

+ не ошибки, но кривости:
Theoretically -> In theory
does not work, so -> doesn't, so

Reply

amarao_san January 13 2011, 07:42:24 UTC
спасибо, поправил.

Reply


Leave a comment

Up