- From: Aaron Abramson <
>
- To:
- Subject: [chef] Re: Chef 0.10.4 Released!
- Date: Fri, 12 Aug 2011 11:47:06 -0500
I had installed chef-server via the debian/ubuntu method, by adding the
opscode apt repository.
I just did an apt-get update / apt-get upgrade and it broke.
Is there a recommended way to upgrade from 0.10.2 to 0.10.4 when using the
prescribed apt methods?
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-image-virtual linux-virtual
The following packages will be upgraded:
chef chef-expander chef-server chef-server-api chef-server-webui chef-solr
dbus dbus-x11 libdbus-1-3 libfreetype6 libpng12-0 libsndfile1
libsoup-gnome2.4-1 libsoup2.4-1 update-manager-core
15 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 1,931 kB of archives.
After this operation, 745 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1
http://apt.opscode.com/ natty-0.10/main chef-server-api all 0.10.4-1
[46.6 kB]
Get:2
http://apt.opscode.com/ natty-0.10/main chef-expander all 0.10.4-1
[19.0 kB]
Get:3
http://apt.opscode.com/ natty-0.10/main chef-solr all 0.10.4-1 [32.5 kB]
Get:4
http://apt.opscode.com/ natty-0.10/main chef-server-webui all 0.10.4-1
[186 kB]
Get:5
http://apt.opscode.com/ natty-0.10/main chef-server all 0.10.4-1 [3,050
B]
Get:6
http://apt.opscode.com/ natty-0.10/main chef all 0.10.4-1 [333 kB]
Get:7
http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main
libdbus-1-3 i386 1.4.6-1ubuntu6.1 [123 kB]
Get:8
http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main
libfreetype6 i386 2.4.4-1ubuntu2.1 [314 kB]
Get:9
http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main
libpng12-0 i386 1.2.44-1ubuntu3.1 [126 kB]
Get:10
http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main
update-manager-core i386 1:0.150.3 [165 kB]
Get:11
http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main
dbus i386 1.4.6-1ubuntu6.1 [207 kB]
Get:12
http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main
dbus-x11 i386 1.4.6-1ubuntu6.1 [29.7 kB]
Get:13
http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main
libsndfile1 i386 1.0.23-1ubuntu0.1 [165 kB]
Get:14
http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main
libsoup2.4-1 i386 2.34.0-0ubuntu1.1 [172 kB]
Get:15
http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main
libsoup-gnome2.4-1 i386 2.34.0-0ubuntu1.1 [8,592 B]
Fetched 1,931 kB in 0s (7,642 kB/s)
Preconfiguring packages ...
(Reading database ... 58368 files and directories currently installed.)
Preparing to replace libdbus-1-3 1.4.6-1ubuntu6 (using
.../libdbus-1-3_1.4.6-1ubuntu6.1_i386.deb) ...
Unpacking replacement libdbus-1-3 ...
Preparing to replace libfreetype6 2.4.4-1ubuntu2 (using
.../libfreetype6_2.4.4-1ubuntu2.1_i386.deb) ...
Unpacking replacement libfreetype6 ...
Preparing to replace libpng12-0 1.2.44-1ubuntu3 (using
.../libpng12-0_1.2.44-1ubuntu3.1_i386.deb) ...
Unpacking replacement libpng12-0 ...
Preparing to replace update-manager-core 1:0.150.2 (using
.../update-manager-core_1%3a0.150.3_i386.deb) ...
Unpacking replacement update-manager-core ...
Preparing to replace chef-server-api 0.10.2-2 (using
.../chef-server-api_0.10.4-1_all.deb) ...
* Stopping chef-server
~ Killing pid 19216 with INT
...done.
Unpacking replacement chef-server-api ...
Preparing to replace chef-expander 0.10.2-2 (using
.../chef-expander_0.10.4-1_all.deb) ...
* Stopping chef-expander chef-expander
...done.
Unpacking replacement chef-expander ...
Preparing to replace chef-solr 0.10.2-2 (using
.../chef-solr_0.10.4-1_all.deb) ...
* Stopping chef-solr chef-solr
...done.
Unpacking replacement chef-solr ...
Preparing to replace chef-server-webui 0.10.2-2 (using
.../chef-server-webui_0.10.4-1_all.deb) ...
* Stopping chef-server-webui
~ Killing pid 19282 with INT
...done.
Unpacking replacement chef-server-webui ...
Preparing to replace chef-server 0.10.2-2 (using
.../chef-server_0.10.4-1_all.deb) ...
Unpacking replacement chef-server ...
Preparing to replace chef 0.10.2-2 (using .../archives/chef_0.10.4-1_all.deb)
...
* Stopping chef-client chef-client
...done.
Unpacking replacement chef ...
Preparing to replace dbus 1.4.6-1ubuntu6 (using
.../dbus_1.4.6-1ubuntu6.1_i386.deb) ...
Unpacking replacement dbus ...
Preparing to replace dbus-x11 1.4.6-1ubuntu6 (using
.../dbus-x11_1.4.6-1ubuntu6.1_i386.deb) ...
Unpacking replacement dbus-x11 ...
Preparing to replace libsndfile1 1.0.23-1build1 (using
.../libsndfile1_1.0.23-1ubuntu0.1_i386.deb) ...
Unpacking replacement libsndfile1 ...
Preparing to replace libsoup2.4-1 2.34.0-0ubuntu1 (using
.../libsoup2.4-1_2.34.0-0ubuntu1.1_i386.deb) ...
Unpacking replacement libsoup2.4-1 ...
Preparing to replace libsoup-gnome2.4-1 2.34.0-0ubuntu1 (using
.../libsoup-gnome2.4-1_2.34.0-0ubuntu1.1_i386.deb) ...
Unpacking replacement libsoup-gnome2.4-1 ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libdbus-1-3 (1.4.6-1ubuntu6.1) ...
Setting up libfreetype6 (2.4.4-1ubuntu2.1) ...
Setting up libpng12-0 (1.2.44-1ubuntu3.1) ...
Setting up update-manager-core (1:0.150.3) ...
Setting up chef (0.10.4-1) ...
* Starting chef-client chef-client
...done.
Setting up chef-solr (0.10.4-1) ...
Creating user "chef" ...
Error: {user_already_exists,<<"chef">>}
dpkg: error processing chef-solr (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of chef-server-api:
chef-server-api depends on chef-solr (>= 0.10.4); however:
Package chef-solr is not configured yet.
dpkg: error processing chef-server-api (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of chef-expander:
chef-expander depends on chef-solr (>= 0.10.4); however:
Package chef-solr is not configured yet.
dpkg: error processing chef-expander (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of chef-server:
chef-server depends on chef-server-api (>= 0.10.4); however:
Package chef-server-api is not configured yet.
chef-server depends on chef-solr (>= 0.10.4); however:
Package chef-solr is not configured yet.
chef-server depends on chef-expander (>= 0.10.4); however:
Package chef-expander is not configured yet.
dpkg: error processing chef-server (--configure):
dependency problems - leaving unconfiguredNo apport report written because
the error message indicates its a followup error from a previous failure.
No
apport report written because the error message indicates its a followup
error from a previous failure.
No apport report written because MaxReports is reached already
No apport
report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of chef-server-webui:
chef-server-webui depends on chef-server (>= 0.10.4); however:
Package chef-server is not configured yet.
dpkg: error processing chef-server-webui (--configure):
dependency problems - leaving unconfigured
Setting up dbus (1.4.6-1ubuntu6.1) ...
Setting up dbus-x11 (1.4.6-1ubuntu6.1) ...
Setting up libsndfile1 (1.0.23-1ubuntu0.1) ...
Setting up libsoup2.4-1 (2.34.0-0ubuntu1.1) ...
Setting up libsoup-gnome2.4-1 (2.34.0-0ubuntu1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
chef-solr
chef-server-api
chef-expander
chef-server
chef-server-webui
E: Sub-process /usr/bin/dpkg returned an error code (1)
On Aug 11, 2011, at 5:53 PM, Bryan McLellan wrote:
>
Howdy Chefs!
>
>
I thought you might want to know that we've released Chef 0.10.4 with
>
an awesome number of fixes.
>
>
http://www.opscode.com/blog/2011/08/11/chef-0-10-4-released/
>
>
Thanks for being part of the community!
>
>
--
>
Bryan McLellan | opscode | senior systems administrator
>
(c) 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org
Archive powered by MHonArc 2.6.16.