[chef] Re: Re: Problem installing chef server on Ubuntu 10.04 LTS


Chronological Thread 
  • From: Bryan McLellan < >
  • To:
  • Subject: [chef] Re: Re: Problem installing chef server on Ubuntu 10.04 LTS
  • Date: Thu, 17 Nov 2011 22:12:50 -0500

On Thu, Nov 17, 2011 at 9:34 PM, Sam Hamilton 
< >
 wrote:
> So when I run sudo /var/lib/dpkg/info/chef-solr.postinst configure I get 
> the following error: sh: Syntax error: EOF in backquote substitution
> Yes I was giving a password but it did have some special characters in the 
> password.

That makes sense. Somewhere this wasn't being escaped properly. The
debian post install scripts are just bash scripts, and escaping in
bash scripts isn't a party.

I am now able to replicate the issue and I've created a bug.
http://tickets.opscode.com/browse/CHEF-2734

> Running sudo dpkg-reconfigure chef-solr gives the following error: 
> /usr/sbin/dpkg-reconfigure: chef-solr is broken or not fully installed

Probably "sudo apt-get install -f" would have worked. a "dpkg -l
chef-solr" would have confirmed that the package didn't finish
installing. The "-f" flag to apt is used to fix incomplete
installations whereas dpkg-reconfigure allows you to reconfigure a
package using the scripts that come as part of the debian package.
These commands are worth spending some time reading about if you're
going to be administering debian or ubuntu systems.

> Will do some digging to make sure everything works but so far at least it 
> installs!

Glad it works now.

Bryan



Archive powered by MHonArc 2.6.16.

§