Issue #1213 has been updated by btm.
I saw the same problem while trying to setup a preseed for ocsreports-server package from testing on etch. Are you getting that error on the node that you did the initial testing on, such as installing the package and using debconf-get-selections to get a list of questions? If so, try running '/usr/share/debconf/fix_db.pl' on the node, if you get output like: <pre>debconf: template "ocsinventory-server/mysql/admin-pass" claims to be used by nonexistant question "ocsinventory-server/mysql/admin-pass"; removing that.</pre> Then the debconf database was a little corrupt from doing things in an order debconf didn't expect, and has cleaned up. Try running puppet on the node again after that. See also debian bug #487300. [1] [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487300 ---------------------------------------- Bug #1213: debconf-set-selections cannot be called before the package is installed http://reductivelabs.com/redmine/issues/show/1213 Author: mathieu.parent Status: Unreviewed Priority: Normal Assigned to: community Category: Debian Target version: Keywords: Complexity: Unknown Patch: None Affected version: Preseeding with dpkg doesn't work for newly installed packages. ---- Detail: Using the following class: <pre> #!ruby class glpi { file{'/etc/dpkg/glpi.response': ensure=>present, content=>'glpi glpi/dbconfig-install boolean false glpi glpi/dbconfig-upgrade boolean false'; } package{'glpi': ensure=>installed, responsefile=>'/etc/dpkg/glpi.response', require=>File['/etc/dpkg/glpi.response']; } } </pre> I get: <pre> info: Package[glpi](provider=apt): Preseeding /etc/dpkg/glpi.response to debconf-set-selections err: //Node[xian]/glpi/Package[glpi]/ensure: change from purged to present failed: Execution of '/usr/bin/debconf-set-selections /etc/dpkg/glpi.response' returned 256: error: Cannot find a question for glpi/dbconfig-install error: Cannot find a question for glpi/dbconfig-upgrade </pre> ---------------------------------------- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
