Posted by nullvariable on July 30, 2010 at 3:58pm
Maybe someone knows the answer to the issue that I'm having right now. Mercury 1.1 uses PHP 5.2 instead of 5.3 so you can't install php-xsl the normal way (sudo apt-get php5-xsl), kicks out this error:
The following packages have unmet dependencies:
php5-xsl: Depends: phpapi-20090626+lfs
Depends: php5-common (= 5.3.2-1ubuntu4.2) but 5.2.10.dfsg.1-2ubuntu6 is to be installed
E: Broken packagesAnyone know how to fix that?

Comments
solution appears to be as
solution appears to be as follows:
cd ~/wget http://mirrors.kernel.org/ubuntu/pool/main/p/php5/php5-xsl_5.2.10.dfsg.1...
sudo dpkg -i php5-xsl_5.2.10.dfsg.1-2ubuntu6_i386.deb
rm php5-xsl_5.2.10.dfsg.1-2ubuntu6_i386.deb
Doug
@nullvariable | www.nullvariable.com
re: php-xsl on Mercury 1.1
Sounds like you may have an older /etc/apt/preferences.d/lucid file. This is the file where we pin php5 packages to 5.2 (since many drupal modules still have issues with PHP 5.3). An earlier version of this file didn't have all the php5 packages.
The latest file is located here: http://pantheon-storage.chapterthree.com/lucid
Hope this helps,
Greg
--
Greg Coit
Systems Administrator
http://www.chapterthree.com
phpmyadmin
I've latest lucid file but I am not able to install mcrypt and phpmyadmin, and running into following errors
~$ sudo apt-get install phpmyadmin
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:
phpmyadmin: Depends: php5-mcrypt but it is not installable
E: Broken packages
~$ sudo apt-get install php5-mcrypt
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-mcrypt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package php5-mcrypt has no installation candidate
I'm not sure if it's mercury related issue or ubuntu lucid bug:
https://bugs.launchpad.net/ubuntu/+source/php-mcrypt/+bug/530941
Thanks,
mcrypt
I have this same issue.
Googling seems to show that an awful lot of people have trouble getting mcrypt to install on lucid when using php5.2.
The following page has a bunch of people complaining of the same thing in the comments but someone does give instructions on manually installing if that helps you at all:
http://2bits.com/drupal-planet/various-ways-running-php-52-ubuntu-1004-l...
mcrypt
Has anyone figured out a way to install mcrypt using the packages that Mercury uses/provides?
Installed php5-mcrypt and then phpmyadmin successfully!
Check out mcrypt 5.2.6 install instructions here - http://wiki.scalr.net/Installing_Scalr/OS_Specific_Installation_Guides/U...
mcrypt 5.2.6
apt-get install libltdl7 libmcrypt4
Note: i386 version or x64 package depends on your linux distribution. For i386 :
wget http://free.nchc.org.tw/ubuntu//pool/universe/p/php-mcrypt/php5-mcrypt_5...
For x64 :
wget http://free.nchc.org.tw/ubuntu//pool/universe/p/php-mcrypt/php5-mcrypt_5...
dpkg -i php5-mcrypt_5.2.6-0ubuntu2_*.deb
apt-get install mcrypt
This installs php5-mcrypt successfully!!
After that install phpmyadmin - apt-get install phpmyadmin
Hope this helps.
Regards,
Saurabh
Fantastic
this worked. +1