Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I had to run dpkg-reconfigure -a for certain reasons, and consequently given options for configure debconf. But I don't really know how those change things, and want to use the default settings.

share|improve this question
add comment

2 Answers 2

One way is to open the debconf template database /var/cache/debconf/templates.dat with your favourite text editor and search for the entries of the package debconf (debconf/frontend and debconf/priority). The entries have the property Default which specifies the default value.

share|improve this answer
add comment

Formulating Nimmermehr's answer into 2 commands that do the trick:

linenum=$(cat /var/cache/debconf/config.dat | grep -n 'Name: debconf/priority' | cut -d: -f1)
sed -n "$linenum,$(($linenum + 4))p" /var/cache/debconf/config.dat
share|improve this answer
    
Your answer should stand as it's own and not rely on another answer - so please explain what this accomplishes. –  guntbert Jul 5 at 17:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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