You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by chris snow <ch...@gmail.com> on 2014/04/27 08:51:39 UTC

Errors during config.sh - does puppet ignore them and continue?

I have just run my automated setup scripts, and I noticed in the log
an error during config.sh:

...
Notice: /Stage[main]/Php/Package[php-pear]/ensure: ensure changed
'purged' to 'present'
Error: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=--force-confold install mysql-client' returned 100:
Reading package lists...            [0/1953]
Building dependency tree...
...
Need to get 11.3 MB of archives.
After this operation, 40.6 MB of additional disk space will be used.
Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main
libnet-daemon-perl all 0.48-1 [43.1 kB]
Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main
libplrpc-perl all 0.2020-2 [36.0 kB]
Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main
libdbi-perl amd64 1.616-1build2 [849 kB]
Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main
libdbd-mysql-perl amd64 4.020-1build2 [106 kB]
Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main
libterm-readkey-perl amd64 2.30-4build3 [28.6 kB]
Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu/
precise-updates/main mysql-client-core-5.5 amd64
5.5.37-0ubuntu0.12.04.1 [1938 kB]
Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu/
precise-updates/main mysql-client-5.5 amd64 5.5.37-0ubuntu0.12.04.1
[8338 kB]
Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu/
precise-updates/main mysql-client all 5.5.37-0ubuntu0.12.04.1 [11.3
kB]
Fetched 11.3 MB in 18s (626 kB/s)
dpkg: error: dpkg status database is locked by another process
E: Sub-process /usr/bin/dpkg returned an error code (2)
Notice: /Stage[main]/Php/Package[php5-ldap]/ensure: ensure changed
'purged' to 'present'
Notice: /Stage[main]/Php/Package[php5-curl]/ensure: ensure changed
'purged' to 'present'
Notice: /Stage[main]/Php/Package[fail2ban]/ensure: ensure changed
'purged' to 'present'
Notice: /Stage[main]/Php/Package[libapache2-mod-php5]/ensure: ensure
changed 'purged' to 'present'
Notice: /Stage[main]/Php/Package[php5-imap]/ensure: ensure changed
'purged' to 'present'
...

More output here: https://gist.github.com/snowch/11339042

Has an error occurred that puppet has recovered and fixed? Or, has an
error occurred that puppet and config.sh have ignored?

Many thanks,

Chris