Results 1 to 3 of 3

Thread: I can't install php5-cgi

  1. #1
    Join Date
    2016-Sep
    Posts
    2

    I can't install php5-cgi

    Hi all,

    I recently decided to install Fluxion 0.23 by DELTAX, i did it correctly. Now when launching the tool, it says that my php5-cgi is not installed.

    apt-get install php5-cgi return this error :
    The following packages have unmet dependencies:
    php5-cgi : Depends: php5-common (= 5.6.7+dfsg-1) but 5.6.9+dfsg-0+deb8u1 is to be installed
    E: Unable to correct problems, you have held broken packages.
    How do i deal with it ?
    Thanks.
    My system :

    Distributor ID: Kali
    Description: Kali GNU/Linux 2.0
    Release: 2.0
    Codename: sana

  2. #2
    Join Date
    2014-May
    Location
    127.0.1.1
    Posts
    22
    Code:
     
    os13115@offsec:~$ sudo apt search php5-cgi
    [sudo] password for os13115: 
    Sorting... Done
    Full Text Search... Done
    os13115@offsec:~$
    It's likely you've added debian repos to your kali repos file and broke some dependencies. If you insist on using a debian repo on kali keep in mind that it will never work as expected.

    Also, you're using kali-sana which has been EOL for quite some time and you may want to consider upgrading.

    Finally, if you can, could you paste your /etc/apt/sources.list so we can determine if that is the issue.

    As you can see from the output above, php5-cgi is NOT in the kali-rolling repositories.

    this is as close as you will get to that package:
    Code:
    os13115@offsec:~$ sudo apt search php7.0-cgi
    Sorting... Done
    Full Text Search... Done
    php7.0-cgi/kali-rolling 7.0.10-1 amd64
      server-side, HTML-embedded scripting language (CGI binary)
    Code:
    os13115@offsec:~$ sudo apt search php7.0-common
    Sorting... Done
    Full Text Search... Done
    php7.0-common/kali-rolling,now 7.0.10-1 amd64 [installed,automatic]
      documentation, examples and common module for PHP
    
    os13115@offsec:~$
    Last edited by OS-13115; 2016-09-02 at 01:52. Reason: additional information
    "Great understanding comes to those who find questions and question answers."

  3. #3
    Join Date
    2016-Sep
    Posts
    2
    Quote Originally Posted by OS-13115 View Post
    Finally, if you can, could you paste your /etc/apt/sources.list so we can determine if that is the issue.
    Thanks OS-13115, here is my source.list

    Code:
    cat /etc/apt/sources.list
    # 
    
    # deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot i386 LIVE/INSTALL Binary 20150811-09:06]/ sana contrib main non-free
    
    #deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot i386 LIVE/INSTALL Binary 20150811-09:06]/ sana contrib main non-free
    
    deb http://http.kali.org/kali sana main non-free contrib
    deb-src http://http.kali.org/kali sana main non-free contrib
    
    # Line commented out by installer because it failed to verify:
    #deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
    # Line commented out by installer because it failed to verify:
    #deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-free

Similar Threads

  1. Problem installing php5-cgi please help !!
    By dra031cko in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2017-08-14, 14:38
  2. Masscan UI // Webpage ~ php5 php5-mysql mysql-server
    By Ceruleancerise in forum General Archive
    Replies: 2
    Last Post: 2017-07-02, 13:16

Tags for this Thread

Posting Permissions

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