2

I stumbled upon the following answer on Unix stackexchange, where the -plow option is used with dpkg-reconfigure, but I can't find anything about it in the dpkg or dpkg-reconfigure manpages:

So what does this option doing exactly? Smells like cargo-cult to me.

4
  • Helló :-) What is a cargo cult? :-)
    – peterh
    May 9 at 18:44
  • Szia. It's a habit when people are copying something that serves no purpose because they don't understand what does that thing do. The term has an interesting origin: googlethatforyou.com?q=cargo%20cult Also worth looking up "cargo cult programming". May 16 at 15:48
  • Thanks. Do you know, we are a cargo cult for the majority of the corporate/microsoft IT world?
    – peterh
    May 16 at 16:03
  • yeah, pretty much. May 17 at 8:31

1 Answer 1

7

From the manpage you linked for dpkg-reconfigure:

-pvalue, --priority=value
   Specify the minimum priority of question that will be displayed.  dpkg-reconfigure
   normally shows low priority questions no matter what your default priority is. See
   debconf(7) for a list.

And from man 7 debconf:

Another  nice feature of debconf is that the questions it asks you are prioritized. If you
don't want to be bothered about every little thing, you can set up debconf to only ask you
the most important questions.  On the other hand, if you are a control freak, you can make
it show you  all  questions.  Each  question  has  a  priority.  In  increasing  order  of
importance:

low    Very  trivial  questions  that have defaults that will work in the vast majority of
       cases.

medium Normal questions that have reasonable defaults.

high   Questions that don't have a reasonable default.

critical
       Questions that you really, really need to see (or else).

Only questions with a priority equal to or greater than the priority you  choose  will  be
shown  to  you. You can set the priority value by reconfiguring debconf, or temporarily by
passing  --priority=  followed  by  the  value  to  the  dpkg-reconfigure(8)   and   dpkg-
preconfigure(8) commands, or by setting the DEBIAN_PRIORITY environment variable.

So, -plow will show all questions, irrespective of whatever default might have been set elsewhere. That might be want you want (that's often what I want, when I run dpkg-reconfigure).

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .