Yesterday I installed libapache2-mod-cloudflare
on a Debian 7 with apache2.2 and it worked following those steps :
curl -C - https://pkg.cloudflare.com/pubkey.gpg | sudo apt-key add -
echo “deb http://pkg.cloudflare.com/lsb_release -cs
main” | sudo tee /etc/apt/sources.list.d/cloudflare.list
sudo apt-get update
sudo apt-get install libapache2-mod-cloudflare
Now I’m trying on a Ubuntu 12.04 with apache2.2 and I’m getting :
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libapache2-mod-cloudflare : Depends: apache2-api-20120211 but it is not installable
E: Unable to correct problems, you have held broken packages.
I tried adding the apt sources from the Debian 7 to the apt sources list of the Ubuntu, but I’m still getting that error.
apache2 packages installed on the Debian 7 using dpkg -l | grep apache2
:
apache2
apache2-mpm-worker
apache2-suexec
apache2-utils
apache2.2-bin
apache2.2-common
libapache2-mod-cloudflare
libapache2-mod-php5
libapache2-mod-suphp
On the Ubuntu one :
apache2
apache2-mpm-worker
apache2-suexec
apache2-suexec-custom
apache2-threaded-dev
apache2-utils
apache2.2-bin
apache2.2-common
libapache2-mod-php5
libapache2-mod-suphp