anthon's picture

I've setup a WordPress appliance with a few sites running on WordPress multisite.

I'd like to install mod_pagespeed to see what sort of performance benefit I can get from it. 

I tried following the Ubuntu instructions here:

however I got the following error:

dpkg -i mod-pagespeed-*.deb


dpkg: error processing mod-pagespeed-*.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
Any ideas of what I need to do?
anthon's picture

Ok ignore that- i've installed it (New to all this command line stuff).

Its installed and i've restarted Apache. Do I need to do anything to configure it to work?

Zack's picture

would be nice of you to share how you fixed it.

as it stands, this is a pretty useless first result in Google for people with the same problem.

Jeremy Davis's picture

I suspect that it was a simple case of either running the command without downloading the file first, or running it in the wrong place... The command needs to be run from the directory in which the file exists. To be sure you are in the right place perhaps download it with wget then you can't go wrong. So something like this:

dpkg -i mod-pagespeed-*.deb
apt-get -f install

Jeremy Davis's picture

Which woud be something like:

a2enmod pagespeed
Wouter's picture

The problem with me was that the source didnt get downloaded correct from Google. When I opened the downloaded file it was a HTML doc saying that I had no access to the document in my region. I guess my server's IP was somehow mistraced by Google to some weird country or something. The solution was to DL the source from my computer, then using ftp to put it on th server.

Yen Truong's picture

Thanks Wouter, I had installed pagespeed successfully from your solution. :)

Fernando's picture

Please, share with us if you find some performace improvements with this module.

Si Shangase's picture

This is what I got on mine still didn't really work any ideas?


Selecting previously unselected package mod-pagespeed-stable:i386.(Reading database ... 72031 files and directories currently installed.)Unpacking mod-pagespeed-stable:i386 (from mod-pagespeed-stable_current_i386.deb) ...dpkg: dependency problems prevent configuration of mod-pagespeed-stable:i386: mod-pagespeed-stable:i386 depends on libc6 (>= 2.11). mod-pagespeed-stable:i386 depends on libgcc1 (>= 1:4.1.1). mod-pagespeed-stable:i386 depends on libstdc++6 (>= 4.4.0). mod-pagespeed-stable:i386 depends on apache2.2-common | apache2-api-20120211.dpkg: error processing mod-pagespeed-stable:i386 (--install): dependency problems - leaving unconfiguredErrors were encountered while processing: mod-pagespeed-stable:i386

Jeremy Davis's picture

Or perhaps you have the wrong architecture? You are trying to install the 32 bit version there, but maybe you have 64 bit OS?

Also you'll need to make sure that you have the required versions of dependencies as noted in the error message. You may need to update to a newer version of you OS?

Add new comment