20

Per this question I've now got wonky preseed values for my gitolite installations such that gitolite fails to install. I need to clear my debconf database of a few keys, but I see no way to accomplish this. Neither did this fellow, as near as I can tell.

Is it possible to clear the debconf database of a few values?

32
echo PURGE | debconf-communicate packagename

This will remove ALL the config for this package, so if you want to save some, get them first with debconf-get-selections, then replace the ones you wanted to keep.

You can find all possible actions in the Debian packaging manual. Instead of purging all question of a particular package you can try

echo RESET question | debconf-communicate packagename

or

echo UNREGISTER question | debconf-communicate packagename
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.