Confused by the different handling of debconf questions when using dpkg-reconfigure
Am 2011-07-12 11:43, schrieb Thomas Goirand:
> > ----- Original message ----- >> Hello >> I notice that when I install postfix, it asks me then a couple of >> questions using debconf, and create then a default configuration file >> using my answers. >> >> If I call now `dpkg-reconfigure postfix` debconf asks me the same >> questions PLUS a bunch of new questions which I did not have in the >> first in the first place. I find it confusing. >> >> Is i a bug, a feature, am I missing something ? >> >> Manu > > That's because of the debconf priority level. Do: > > dpkg-reconfigure debconf > > and you can set the debconf priority to low to have > all the questions, always. Note that Debconf can > also be set to non-interactive mode... yes this is clear, I was just wondering why does debconf use a different different sets of question ( hence maybe a different priority level ) in pre-install phase versus calling dpkg-reconfigure later -- To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 4E1C19D5.8060804@openforce.com">http://lists.debian.org/4E1C19D5.8060804@openforce.com |
Confused by the different handling of debconf questions when using dpkg-reconfigure
When installing it should only to ask questions, that are necessary to
run the software. dpkg-reconfigure assumes that you realy want to configure it, which is why it's asking you every question, regardless of priority. Am 12.07.2011 11:54, schrieb Emmanuel Kasper: Am 2011-07-12 11:43, schrieb Thomas Goirand: ----- Original message ----- Hello I notice that when I install postfix, it asks me then a couple of questions using debconf, and create then a default configuration file using my answers. If I call now `dpkg-reconfigure postfix` debconf asks me the same questions PLUS a bunch of new questions which I did not have in the first in the first place. I find it confusing. Is i a bug, a feature, am I missing something ? Manu That's because of the debconf priority level. Do: dpkg-reconfigure debconf and you can set the debconf priority to low to have all the questions, always. Note that Debconf can also be set to non-interactive mode... yes this is clear, I was just wondering why does debconf use a different different sets of question ( hence maybe a different priority level ) in pre-install phase versus calling dpkg-reconfigure later -- To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 4E1C1A9F.9090009@bachsau.com">http://lists.debian.org/4E1C1A9F.9090009@bachsau.com |
| All times are GMT. The time now is 10:27 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.