This used to be an e-mail conversation between Andrew Bogott and me. As the error has come back, I'm opening this bug.
Puppet doesn't run because of an apt / versions problem, it's giving the error below. Fixing it manually seems to get overridden by puppet.
The webserver.pp lines referred to in the error:
Line 42 ;)
package { [ "apache2", "libapache2-mod-php5" ]:
ensure => latest;
}
Line 79
package { php5-mysql:
ensure => latest;
}
err: /Stage[main]/Webserver::Php5-mysql/Package[php5-mysql]/ensure:
change from 5.3.10-1ubuntu3.5 to 5.3.10-1ubuntu3.4+wmf1 failed: Could
not update: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=--force-confold install php5-mysql' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:libapache2-mod-php5 php5-cli php5-commonSuggested packages:
php-pear php5-suhosinThe following packages will be DOWNGRADED:
libapache2-mod-php5 php5-cli php5-common php5-mysql0 upgraded, 0 newly installed, 4 downgraded, 0 to remove and 0 not
upgraded.
Need to get 6598 kB of archives.
After this operation, 264 kB disk space will be freed.
E: There are problems and -y was used without --force-yesat /etc/puppet/manifests/webserver.pp:79err: /Stage[main]/Webserver::Php5/Package[libapache2-mod-php5]/ensure:
change from 5.3.10-1ubuntu3.5 to 5.3.10-1ubuntu3.4+wmf1 failed: Could
not update: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=--force-confold install libapache2-mod-php5' returned
100: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:php5-cli php5-common php5-mysqlSuggested packages:
php-pear php5-suhosinThe following packages will be DOWNGRADED:
libapache2-mod-php5 php5-cli php5-common php5-mysql0 upgraded, 0 newly installed, 4 downgraded, 0 to remove and 0 not
upgraded.
Need to get 6598 kB of archives.
After this operation, 264 kB disk space will be freed.
E: There are problems and -y was used without --force-yesat /etc/puppet/manifests/webserver.pp:42
Version: unspecified
Severity: normal