libapache2-mod-passenger not installed - template complete_passenger_postgres

66 views
Skip to first unread message

sands

unread,
Jan 10, 2016, 9:21:56 AM1/10/16
to rubber
I'm getting the following error at the end of cap rubber:create_staging. Have tried changing the version of the the passenger but no luck. I've been struggling with this for almost 10 hours now. Any help would be appreciated.

I'm running on the following env

Mac - yosimite

ruby - 2.1.0p0

Ec2 instance - Ubuntu 14.04 LTS

Rails 4.2.4.rc1

rubber 3.0.1

template - complete_passenger_postgres


Last few lines of the log...


** [out :: production.foo.com] libgdbm3 is already the newest version.

 ** [out :: production.foo.com] 

 ** [out :: production.foo.com] Some packages could not be installed. This may mean that you have

 ** [out :: production.foo.com] 

 ** [out :: production.foo.com] requested an impossible situation or if you are using the unstable

 ** [out :: production.foo.com] 

 ** [out :: production.foo.com] distribution that some required packages have not yet been created

 ** [out :: production.foo.com] 

 ** [out :: production.foo.com] or been moved out of Incoming.

 ** [out :: production.foo.com] 

 ** [out :: production.foo.com] The following information may help to resolve the situation:

 ** [out :: production.foo.com] 

 ** [out :: production.foo.com] 

 ** [out :: production.foo.com] The following packages have unmet dependencies:

 ** [out :: production.foo.com] 

 ** [out :: production.foo.com] libapache2-mod-passenger : Depends: passenger (= 1:5.0.15-1~trusty1) but it is not going to be installed

 ** [out :: production.foo.com] 

 ** [out :: production.foo.com] E

 ** [out :: production.foo.com] :

 ** [out :: production.foo.com] Unable to correct problems, you have held broken packages.

 ** [out :: production.foo.com] 

    command finished in 4725ms

failed: "/bin/bash -l -c 'sudo -p '\\''sudo password: '\\''  bash -l /tmp/install_packages postfix build-essential git-core libxslt-dev ntp postgresql-client-9.3 libpq-dev autoconf bison libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev apache2 apache2-utils libapache2-mod-proxy-html libcurl4-openssl-dev libapache2-mod-xsendfile apache2-mpm-prefork apache2-prefork-dev libapache2-mod-passenger=1:5.0.15-1~`lsb_release -sc`1 collectd libperl-dev monit postgresql-9.3 openjdk-7-jdk unzip mongodb-10gen haproxy ec2-ami-tools graphite-carbon uwsgi uwsgi-plugin-python graphite-web'" on prod.foo.com,production.foo.com

Kevin Menard

unread,
Jan 10, 2016, 5:06:00 PM1/10/16
to rubbe...@googlegroups.com
I'll take a look into this shortly. Things have been a bit hectic with the Rubber codebase lately. I'm looking to take a solid pass through all of our templates soon.
 
--
Kevin
--
You received this message because you are subscribed to the Google Groups "rubber" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubber-ec2+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
 

Kyle Schutt

unread,
Feb 9, 2016, 7:39:09 PM2/9/16
to rubber
Was there any update to this?

Kyle Schutt

unread,
Feb 9, 2016, 7:46:02 PM2/9/16
to rubber

Here is the output I am getting:

** [out :: dev01.foo.com] The following packages have unmet dependencies: ** [out :: dev01.foo.com] libapache2-mod-passenger : Depends: passenger (= 1:5.0.8-1~precise1) but it is not going to be installed ** [out :: dev01.foo.com] E: Unable to correct problems, you have held broken packages. command finished in 6097ms failed: "/bin/bash -l -c 'sudo -p '\\''sudo password: '\\'' bash -l /tmp/install_packages postfix build-essential git-core libxslt-dev ntp postgresql-client-9.3 libpq-dev autoconf bison libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev haproxy apache2-mpm-prefork apache2-prefork-dev libcurl4-openssl-dev libapache2-mod-xsendfile libapache2-mod-passenger=1:5.0.8-1~lsb_release -sc1 apache2 apache2-utils libapache2-mod-proxy-html postgresql-9.3 collectd libperl-dev monit ec2-ami-tools'" on dev01.foo.com

Kyle Schutt

unread,
Feb 9, 2016, 7:49:17 PM2/9/16
to rubber

Works by adding the following to packages before libapache2-mod-passenger: [passenger, "#{passenger_version}"]

Reply all
Reply to author
Forward
0 new messages