Results 1 to 9 of 9

Thread: Install Firefox in Kali (Best Way)

  1. #1
    Member
    Join Date
    Mar 2013
    Location
    n0wh3r3
    Posts
    54

    Lightbulb Install Firefox in Kali (Best Way)

    There are some other ways also to install Firefox in Kali like linuxmint debian repository, PPA etc. But the method i am sharing is the best and works 100% If you want to install the Firefox in Kali run the following commands in your terminal remember it will first remove the Kali default browser Iceweasel. Iceweasel is Firefox only with different name and logo. But for some people it doesn't give a real Firefox experience. I also removed the Iceweasel and running the Firefox

    Code:
    apt-get remove iceweasel
    echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null
    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29
    apt-get update
    apt-get install firefox-mozilla-build
    Hope You Will Enjoy......

  2. #2
    Member
    Join Date
    Mar 2013
    Posts
    40
    I tried your howto but following error accours. How can I fix it?
    tried apt-get remove firefox-mozilla-build
    apt-get install firefox-mozilla-build

    always the same error.

    Any help would be appreciate.

    Code:
    dpkg: error processing firefox-mozilla-build (--configure):
     package firefox-mozilla-build is not ready for configuration
     cannot configure (current status `half-installed')
    Errors were encountered while processing:
     firefox-mozilla-build
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  3. #3
    Member
    Join Date
    Mar 2013
    Posts
    40
    I tried your howto but following error accours. How can I fix it?
    tried

    apt-get remove firefox-mozilla-build
    apt-get install firefox-mozilla-build
    apt-get install -f

    always the same error.

    Any help would be appreciate.

    Code:
    dpkg: error processing firefox-mozilla-build (--configure):
     package firefox-mozilla-build is not ready for configuration
     cannot configure (current status `half-installed')
    Errors were encountered while processing:
     firefox-mozilla-build
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  4. #4
    Member
    Join Date
    Mar 2013
    Location
    n0wh3r3
    Posts
    54
    Quote Originally Posted by tr00n3r View Post
    I tried your howto but following error accours. How can I fix it?
    tried apt-get remove firefox-mozilla-build
    apt-get install firefox-mozilla-build

    always the same error.

    Any help would be appreciate.

    Code:
    dpkg: error processing firefox-mozilla-build (--configure):
     package firefox-mozilla-build is not ready for configuration
     cannot configure (current status `half-installed')
    Errors were encountered while processing:
     firefox-mozilla-build
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    its mentioned apt-get remove iceweasel not firefox anyways open this file "/etc/apt/sources.list" with your favorite editor and see is this repository added in your sources.list file "deb http://downloads.sourceforge.net/pro...la/mozilla/apt all main"
    if not then add it manually save the file and do the further steps as mentioned in my post carefully. If problem not solve then contact me or send me your sources.list file. For your safety make a backup of your sources.list file before editing thanks.
    Last edited by Hitman; 04-19-2013 at 03:54 PM.

  5. #5
    Member
    Join Date
    Mar 2013
    Posts
    40
    thanks for the fast reply:

    sources.list:

    Code:
      GNU nano 2.2.6                       File: sources.list                                                      
    
    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130311-19:56]/ kali co$
    
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    
    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    
    deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
    iceweasel is already uninstalled
    Code:
    Package 'iceweasel' is not installed, so not removed

  6. #6
    Member
    Join Date
    Mar 2013
    Location
    n0wh3r3
    Posts
    54
    GNU nano 2.2.6 File: sources.list

    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130311-19:56]/ kali co$

    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib

    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    ## Custom Repostories
    deb http://downloads.sourceforge.net/pro...la/mozilla/apt all main
    Your sources file is OK. I put an remark in it its a good practice whenever edit in the default files so that you know which one is your editing and which are the defaults.

    Anyhow run the remaining commands and check.

    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29
    apt-get update
    apt-get install firefox-mozilla-build
    If its not working then remove the deb http://downloads.sourceforge.net/pro...la/mozilla/apt all main line from sources.list and run apt-get update && apt-get upgrade after that again add deb http://downloads.sourceforge.net/pro...la/mozilla/apt all main in sources.list and run the other commands.

    If all fails then i will tell you the other way but that is little bit difficult.

  7. #7
    Member
    Join Date
    Mar 2013
    Posts
    40
    sorry for late response - I couldn't get dpkg to run properly so I restored my backup from the day before without firefox.

  8. #8
    Junior Member
    Join Date
    Feb 2014
    Posts
    1
    I followed your steps and got them same error

    Fetched 31.2 MB in 3min 27s (151 kB/s)
    Selecting previously unselected package firefox-mozilla-build.
    (Reading database ... 329461 files and directories currently installed.)
    Unpacking firefox-mozilla-build (from .../firefox-mozilla-build_27.0.1-0ubuntu1_amd64.deb) ...
    dpkg-divert: error: `diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build' clashes with `diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'
    dpkg: error processing /var/cache/apt/archives/firefox-mozilla-build_27.0.1-0ubuntu1_amd64.deb (--unpack):
    subprocess new pre-installation script returned error exit status 2
    dpkg-divert: error: mismatch on divert-to
    when removing `diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build'
    found `diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'
    dpkg: error while cleaning up:
    subprocess new post-removal script returned error exit status 2
    Errors were encountered while processing:
    /var/cache/apt/archives/firefox-mozilla-build_27.0.1-0ubuntu1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  9. #9
    Junior Member
    Join Date
    Feb 2014
    Location
    US
    Posts
    3
    This is great!
    Thank you.

Posting Permissions

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