Issue #2778 has been reported by Nico Schottelius. ---------------------------------------- Bug #2778: Puppet/Debian always fails to install all packages (only the first time)z http://projects.reductivelabs.com/issues/2778
Author: Nico Schottelius Status: Unreviewed Priority: Normal Assigned to: Category: Debian Target version: 0.22.1 Affected version: 0.24.5 Keywords: Branch: Everytime I install a new machine with fai, which then installs puppet, the first time puppet runs it creates a situation, in which I have to run "apt-get -f install" manually and then restart puppet to get the rest done. It seems it is related to the postfix installation, because it just happens after puppet tries to install postfix: err: //Node[sgn-t42-01]/ethz_systems::generic/ethz_systems/common::nico/Package[postfix]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postfix' returned 100: Reading package lists... Building dependency tree... Reading state information... Suggested packages: procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin libsasl2-modules postfix-cdb ufw The following packages will be REMOVED: exim4 exim4-base exim4-config exim4-daemon-light The following NEW packages will be installed: postfix 0 upgraded, 1 newly installed, 4 to remove and 0 not upgraded. Need to get 1224kB of archives. After this operation, 1008kB disk space will be freed. Get:1 http://ftp.ch.debian.org lenny/main postfix 2.5.5-1.1 [1224kB] Preconfiguring packages ... Warning: Newline present in parameters passed to debconf. This will probably cause strange things to happen! Warning: Newline present in parameters passed to debconf. This will probably cause strange things to happen! postfix failed to preconfigure, with exit status 128 Fetched 1224kB in 0s (1881kB/s) (Reading database ... 68623 files and directories currently installed.) Removing exim4 ... dpkg: exim4-config: dependency problems, but removing anyway as you request: exim4-base depends on exim4-config (>= 4.30) | exim4-config-2; however: Package exim4-config is to be removed. Package exim4-config-2 is not installed. Package exim4-config which provides exim4-config-2 is to be removed. exim4-base depends on exim4-config (>= 4.30) | exim4-config-2; however: Package exim4-config is to be removed. Package exim4-config-2 is not installed. Package exim4-config which provides exim4-config-2 is to be removed. Removing exim4-config ... dpkg: exim4-daemon-light: dependency problems, but removing anyway as you request: bsd-mailx depends on exim4 | mail-transport-agent; however: Package exim4 is not installed. Package mail-transport-agent is not installed. Package exim4-daemon-light which provides mail-transport-agent is to be removed. Removing exim4-daemon-light ... Stopping MTA: exim4_listener. Removing exim4-base ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 3 removed doc-base file(s)... Registering documents with scrollkeeper... Selecting previously deselected package postfix. (Reading database ... 68487 files and directories currently installed.) Unpacking postfix (from .../postfix_2.5.5-1.1_i386.deb) ... Warning: Newline present in parameters passed to debconf. This will probably cause strange things to happen! Warning: Newline present in parameters passed to debconf. This will probably cause strange things to happen! mail: /usr/sbin/sendmail: No such file or directory Can't send mail: sendmail process failed dpkg: error processing /var/cache/apt/archives/postfix_2.5.5-1.1_i386.deb (--unpack): subprocess pre-installation script returned error exit status 128 Errors were encountered while processing: /var/cache/apt/archives/postfix_2.5.5-1.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) All the following packages then cannot be installed, until I run apt-get -f install. -- 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 -~----------~----~----~----~------~----~------~--~---
