Results 1 to 3 of 3

Thread: Unable to locate PHP packages

  1. #1
    Join Date
    2015-Apr
    Posts
    2

    Unable to locate PHP packages

    Dear all,

    Just installed latest Kali version, buat I got problem to install PHP packages. Googling it, but no one works. Most of cases and solutions is for Ubuntu.

    Code:
    # apt-get install apache2 php5 php5-json php5-gd php5-sqlite curl libcurl3 libcurl3-dev php5-curl php5-common php-xml-parser
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'php5-common' instead of 'php5-json'
    E: Unable to locate package php5-gd
    E: Unable to locate package php5-sqlite
    E: Unable to locate package libcurl3-dev
    E: Unable to locate package php5-curl
    E: Unable to locate package php-xml-parser
    What I must to do?

    Thanks for help

  2. #2
    Join Date
    2015-Apr
    Posts
    2
    Quote Originally Posted by g0tmi1k View Post
    1.) Check your source file. For more information: http://docs.kali.org/general-use/kal...t-repositories
    2.) run 'apt-get update' before trying
    3.) make sure the package is listed here: 'apt-cache search <package_name>'
    Thanks g0tmi1k, you are right. After add repositories in source list, I follow this tutorial http://www.dev-metal.com/setup-lates...gpg-key-error/. It solved my problem.

    Thanks all.

  3. #3
    1.) Check your source file. For more information: http://docs.kali.org/general-use/kal...t-repositories
    2.) run 'apt-get update' before trying
    3.) make sure the package is listed here: 'apt-cache search <package_name>'
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

Similar Threads

  1. E: unable to locate packages error
    By coconut311 in forum General Archive
    Replies: 1
    Last Post: 2022-08-12, 12:14

Posting Permissions

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