passenger-stack icon indicating copy to clipboard operation
passenger-stack copied to clipboard

Bare install with Apache fails due to the recommended dependencies

Open look opened this issue 14 years ago • 3 comments

Hey, I just ran into a problem running the Apache install on a bare slice with nothing on it.

Sprinkle decided that apache_etag_support was the first thing that should be installed, I think because apache recommends it. This fails because there's no Apache installed on the server yet.

I commented out this line:

recommends :apache_etag_support, :apache_deflate_support, :apache_expires_support

And everything worked.

This is with revision 9672cb76cf2382f6192d15fd9aaee03d54a86acc of passenger-stack and sprinkle 0.3.1.

look avatar Apr 15 '10 03:04 look

That is strange! As far as I know, recommends comes after the dependency. I've tested this pretty throughly. Without looking, I'm not so sure about this one. I'll report back.

benschwarz avatar Apr 15 '10 03:04 benschwarz

Marcus says "optional packages are installed after the main package". I'd be happy to accept a patch on this one. I don't have alot of spare time this week.

benschwarz avatar Apr 15 '10 03:04 benschwarz

I patched it in my repo: http://github.com/look/passenger-stack/commit/4e145f118d7baeedb63f0ae9880707b4db34d5d4

look avatar May 30 '10 02:05 look