Error: Trying to install passenger-install-apache2-module

i am trying to install

passenger-install-apache2-module

but it is giving me the error.

E: could’nt find the package passenger-install-apache2-module

Please help me over this.

problem solved:

http://www.postal-code.com/binarycode/2008/05/21/installing-passenger-mod_rails-command-not-found/

Ali,

in order for us to help, you should provide us as much information as
you
can about the issues you’re having.
In this case:

  • Which OS are you using?
  • Which Rails version?
  • Which Ruby version?
  • Are you trying to install a development, testing or production
    environment?
  • Describe the process you did to get to this point.
    Also, did you google the error description?
    Did you read the passenger documentation and installation guide?

Imagine yourself trying to solve a problem with nothing more than
“E: could’nt find the package passenger-install-apache2-module”
It’s kind of difficult, isn’t it?

2010/6/24 Ali I. [email protected]


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected][email protected]
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Mis mejores deseos,
Best wishes,
Meilleurs vœux,

Juan P.

i try to Install and configure PHP
apt-get install php5-fpm php-pear php5-common php5-mysql php-apc php5-gd
it says php5 is not installed

I am working on windows xp

I install Virtual machine

How…

http://www.pendrivelinux.com/running-linux-from-within-windows-virtually/

ISO…(i install Ubuntu)

http://www.linuxlookup.com/linux_iso

Virtualbox…

http://www.virtualbox.org/wiki/Downloads

Than I install ruby, gem, rails

  • $ ruby -v

  • sudo apt-get install ruby (ruby -v)

  • $ gem -v

  • sudo apt-get install rubygems(any version number)

  • $ rails -v (first)

  • sudo apt-get install rails (put suggested version)

  • gem install rails --include-dependencies

  • gem install mysql

Install PHP5, Apache2, phpmyadmin,

http://alilknowhow.com/2010/05/11/the-easiest-way-to-install-a-lamp-server-in-ubuntu/

Install netbeans

http://www.javadesign.info/SystemsHardware/OS/Ubuntu/install-netbeans-on-ubuntu

sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
sudo apt-get install netbeans

Install Phusion Passenger

  • modrails.com

  • sudo apt-get install ruby-dev

  • sudo apt-get install passenger

  • Install Phusion Pasenger Apache 2 Module

sudo passenger-install-apache2-module ( command not found )

sudo /var/lib/gems/1.8/bin/passenger-install-apache2-module (Works)

I am still at this point…

On Jun 24, 2:44 pm, Juan P. Genovese [email protected]

On 11 July 2013 07:49, shamna m. [email protected] wrote:

i try to Install and configure PHP
apt-get install php5-fpm php-pear php5-common php5-mysql php-apc php5-gd
it says coudn’t find the package php5

Which OS and version are you using?
Show us the exact message you get. Copy/Paste the complete command
line you typed and the result here.

Colin

i try to Install and configure PHP
apt-get install php5-fpm php-pear php5-common php5-mysql php-apc php5-gd
it says coudn’t find the package php5

Colin L. wrote in post #1115107:

On 11 July 2013 07:49, shamna m. [email protected] wrote:

i try to Install and configure PHP
apt-get install php5-fpm php-pear php5-common php5-mysql php-apc php5-gd
it says coudn’t find the package php5

Which OS and version are you using?
Show us the exact message you get. Copy/Paste the complete command
line you typed and the result here.

Colin
linux 10.4

tmp$ apt-get install nginx
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
root?

On 11 July 2013 08:39, shamna m. [email protected] wrote:

Colin
linux 10.4

I guess you likely mean Ubuntu 10.04. When asking technical questions
it is important to be accurate in any information you provide. The
details are often the important factors.

Colin

On 11 July 2013 08:42, shamna m. [email protected] wrote:

tmp$ apt-get install nginx
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
root?

What has that got to do with your original problem?
You must use sudo with apt-get
sudo apt-get install nginx

What has all of this got to do with rails? You would probably be
better on the ubuntu-users list with such problems (assuming you are
using Ubuntu).

Colin

/tmp$ apt-key add /tmp/nginx_signing.key
OK
[email protected]:/tmp$ echo “deb http://nginx.org/packages/ubuntu/ lucid
nginx” >> /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied
[email protected]:/tmp$ echo “deb-src http://nginx.org/packages/ubuntu/
lucid nginx” >> /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied
[email protected]:/tmp$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13:
Permission denied)
E: Unable to lock the list directory
[email protected]:/tmp$ cd…
cd…: command not found