seventheyejosh Posted July 1, 2010 Share Posted July 1, 2010 Hey guys, quick question. I've installed php5-cli before, and have never had an issue, but the server I'm working on now is being strange. I have it currently set up as a LAMP stack, so php is already installed. Here is my error: sudo apt-get install php5-cli 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: php5-cli: Depends: php5-common (= 5.3.2-1ubuntu4) but 5.3.2-1ubuntu4.2 is to be installed E: Broken packages And here is my version of php5-common: dpkg -s php5-common Package: php5-common Status: install ok installed Priority: optional Section: php Installed-Size: 1008 Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: i386 Source: php5 Version: 5.3.2-1ubuntu4.2 Provides: php5-json, php5-mhash Depends: sed (>= 4.1.1-1), libc6 (>= 2.4) Suggests: php5-suhosin Conflicts: php5-json, php5-mhash Conffiles: /etc/php5/conf.d/pdo.ini 912f18e8b5be5a1d629426461eec9969 /etc/cron.d/php5 38ad4ffd743224f6211259fa13bd7516 Description: Common files for packages built from the php5 source This package contains the documentation and example files relevant to all the other packages built from the php5 source. . PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly. This version of PHP5 was built with the Suhosin patch. Homepage: http://www.php.net/ Original-Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org> I've tried apt-get update / upgrade, but to no avail, probably because the installed package is higher than the one that is required. Thoughts? Thanks, Josh. Quote Link to comment https://forums.phpfreaks.com/topic/206405-installing-php5-cli-on-ubuntu/ Share on other sites More sharing options...
trq Posted July 2, 2010 Share Posted July 2, 2010 Looks like a bug in the package to me. Quote Link to comment https://forums.phpfreaks.com/topic/206405-installing-php5-cli-on-ubuntu/#findComment-1080017 Share on other sites More sharing options...
seventheyejosh Posted July 4, 2010 Author Share Posted July 4, 2010 Is there a reason why it is php5-cli: Depends: php5-common (= 5.3.2-1ubuntu4) but 5.3.2-1ubuntu4.2 is to be installed instead of a >= 5.3.2-1 ? And if it is a bug, how can it be remedied? Thanks, Josh Quote Link to comment https://forums.phpfreaks.com/topic/206405-installing-php5-cli-on-ubuntu/#findComment-1081024 Share on other sites More sharing options...
trq Posted July 4, 2010 Share Posted July 4, 2010 Is there a reason why it is php5-cli: Depends: php5-common (= 5.3.2-1ubuntu4) but 5.3.2-1ubuntu4.2 is to be installed Likely because its a bug. And if it is a bug, how can it be remedied? Either fix (and maintain) the package yourself or report it. Quote Link to comment https://forums.phpfreaks.com/topic/206405-installing-php5-cli-on-ubuntu/#findComment-1081097 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.