Find the answer to your Linux question:
Results 1 to 8 of 8
Hi guys, I already have php5 installed but when I try to install php5-curl to use magento I get this message, The following packages have unmet dependencies: php5-curl : Depends: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    5

    Having problems installing php5-curl


    Hi guys, I already have php5 installed but when I try to install php5-curl to use magento I get this message,

    The following packages have unmet dependencies:
    php5-curl : Depends: php5-common (= 5.3.3-1ubuntu9) but 5.3.3-1ubuntu9.1 is to be installed
    E: Broken packages


    Is there anyway around this? I'm using Ubuntu 10.10 desktop.

    thanks

  2. #2
    Just Joined!
    Join Date
    Oct 2010
    Posts
    5
    "bump" any solutions guys?

    Thanks

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,411
    Works for me
    Code:
    sudo apt-get install php5-curl
    How did you try to install it?
    You must always face the curtain with a bow.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! tyho's Avatar
    Join Date
    Oct 2010
    Location
    Mwanza, Tanzania
    Posts
    76
    Try
    Code:
    sudo apt-get install -f
    If it doesn't work, try
    Code:
    dpkg --configure -a
    If this doesn't work, try reinstalling php5-common and php5
    Code:
    sudo apt-get install php5-common php5 --reinstall
    or removing them first, then installing them again:
    Code:
    sudo apt-get remove php5-common php5
    sudo apt-get install php5 php5-common
    You might try removing php5-common only first, but php5 might depend on it.

    One of these actions should help.

  6. #5
    Just Joined!
    Join Date
    Oct 2010
    Posts
    5
    That's exactly how I did it.

  7. #6
    Just Joined!
    Join Date
    Oct 2010
    Posts
    5
    Quote Originally Posted by tyho View Post
    Try
    Code:
    sudo apt-get install -f
    If it doesn't work, try
    Code:
    dpkg --configure -a
    If this doesn't work, try reinstalling php5-common and php5
    Code:
    sudo apt-get install php5-common php5 --reinstall
    or removing them first, then installing them again:
    Code:
    sudo apt-get remove php5-common php5
    sudo apt-get install php5 php5-common
    You might try removing php5-common only first, but php5 might depend on it.

    One of these actions should help.
    Oooh thanks! I'll give these a try once I get back to work.

    Thank you

  8. #7
    Just Joined!
    Join Date
    Oct 2010
    Posts
    5
    Ok uninstalling and reinstalling php allowed the "sudo apt-get install php5-curl" to work! but now I got these 3 problems in Magento. What commands should I use?


    PHP extension "pdo_mysql" must be loaded.
    PHP extension "mcrypt" must be loaded.
    PHP extension "gd" must be loaded.

  9. #8
    Just Joined! tyho's Avatar
    Join Date
    Oct 2010
    Location
    Mwanza, Tanzania
    Posts
    76
    Google helps!

    First hit on ubuntu pdo_mysql install gives me Ubuntu - Install php5, mysql, apache2, ssl, pdo & pdo_mysql

    I think you can find the rest by yourself...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •