https://bugzilla.wikimedia.org/show_bug.cgi?id=45897
Web browser: ---
Bug ID: 45897
Summary: puppet
Product: Wikimedia Labs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Infrastructure
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
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-common
>> Suggested packages:
>> php-pear php5-suhosin
>> The following packages will be DOWNGRADED:
>> libapache2-mod-php5 php5-cli php5-common php5-mysql
>> 0 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-yes
>> at /etc/puppet/manifests/webserver.pp:79
>> err: /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-mysql
>> Suggested packages:
>> php-pear php5-suhosin
>> The following packages will be DOWNGRADED:
>> libapache2-mod-php5 php5-cli php5-common php5-mysql
>> 0 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-yes
>> at /etc/puppet/manifests/webserver.pp:42
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l