Ubuntu Firefox 3.5 install: ubuntu-mozilla-security 22

Posted by bikethetam Fri, 03 Jul 2009 17:28:00 GMT

Important update: The official Firefox-3.5 is now available in the universe repositories. You don't need to do any of the following, just "apt-get install firefox-3.5". No need for any ubuntu-mozilla-* line in /etc/apt/sources.list.

To uninstall firefox-3.5 that was setup using ubuntu-mozilla-*, follow the removal instructions below.

 

After digging around a little bit more, I found that there was another, safer, repository for Jaunty with firefox 3.5: ubuntu-mozilla-security.

For those of you who don't want the daily updates of firefox, which will deliver experimental releases on occasions, you should use the security repository instead of ubuntu-mozilla-daily.

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EBC211F

Add the following line at the bottom of /etc/apt/sources.list:
deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu jaunty main

sudo apt-get update
sudo apt-get install firefox-3.5 firefox-3.5-gnome-support

If had already installed firefox-3.5 from the daily repository and you want to switch to the security one, you first need to remove the ubuntu-mozilla-daily line from /etc/apt/sources.list and remove firefox-3.5 that came from that repository:

sudo apt-get remove firefox-3.5 xulrunner-1.9.1-gnome-support xulrunner-1.9.1

Only after that you should run "apt-get install firefox-3.5 firefox-3.5-gnome-support ".

 


Trackbacks

Use the following link to trackback from your own site:
http://www.ubuntusolutions.org/trackbacks?article_id=22

Comments

Leave a comment

  1. RamL 22 minutes later:

    I just followed your new instructions and this is what I get when I try to reinstall firefox-3.5

    $ sudo apt-get install firefox-3.5 firefox-3.5-gnome-support 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 resolve the situation:

    The following packages have unmet dependencies: firefox-3.5-gnome-support: Depends: xulrunner-1.9.1-gnome-support but it is not going to be installed E: Broken packages


    Any idea how to fix this?

  2. bikethetam 34 minutes later:

    RamL, you also need to uninstall xulrunner-1.9.1 ("apt-get remove xulrunner-1.9.1"). So the full apt-get remove line should read

    apt-get remove firefox-3.5 xulrunner-1.9.1-gnome-support xulrunner-1.9.1

    instead of

    apt-get remove firefox-3.5 xulrunner-1.9.1-gnome-support

    I'm fixing the article.

  3. SilverWave about 19 hours later:

    It you set your sources in Ubuntu to allow Proposed Updates then FF3.5 is available :)

    Was: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b4pre) Gecko/20090401 Ubuntu/9.04 (jaunty) Shiretoko/3.5b4pre - Build ID:20090401172919

    Now: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1) Gecko/20090701 Ubuntu/9.04 (jaunty) Shiretoko/3.5 - Build ID: 20090701021524

    Remember to then turn proposed off :)

  4. Kailden 2 days later:

    Your article says:

    If had already installed firefox-3.5 from the daily repository and you want to switch to the security one, you first need to remove the ubuntu-mozilla-daily line from /etc/apt/sources.list and remove firefox-3.5 that came from that repository:

    Isn't it best to remove firefox-3.5 then remove the ubuntu-mozilla-daily line. I thought if you remove the line, do an apt-get update, then try to remove firefox-3.5 it won't know the dependencies...although I have to admit I did not try that.

  5. stlouisubntu 3 days later:

    The daily repository also worked fine for hardy, but the security repo appears not to work for hardy. Does the security repo only work for jaunty or better?

  6. ReneL 3 days later:

    Now that Firefox 3.5 final is in jaunty universe, what is the best way to upgrade the existing Firefox 3.0.11 to Firefox 3.5 without leaving Firefox 3.0.11 installed?

    Or will

    sudo apt-get install firefox-3.5 firefox-3.5-gnome-support
    sudo apt-get remove firefox-3.0 firefox-3.0-gnome-support firefox-3.0-branding
    

    install Firefox 3.5, remove all unneeded Firefox 3.0.11 files and keep personal files (profile) intact?

  7. curious 3 days later:

    Be careful removing firefox-3.0, it may drag a lot of other stuff with it... Don't know if apt-get has an option to remove packages ignoring dependencies. If you're not running out of space on root, you may just leave the 3.0 package installed.

  8. Gary 4 days later:

    i am getting same error reported by RamL. after trying to remove xulrunner-1.9.1 (error shows it's not even installed), i am still seeing the problem. please advise.

  9. ReneL 4 days later:

    After installing from universe, Firefox 3.5 still shows the Shiretoko non-final branding (name, icon), will this be changed?

    Also, ubufox and webfav are not upgradable to Firefox 3.5 and therefore disabled.

  10. ReneL 4 days later:

    The default theme still says 3.0.11 and the Languages tab shows disabled Firefox 3.0.7 and Xulrunner 1.9.0.8 locales.

  11. curious 5 days later:

    Firefox 3.5 won't be mozilla-branded until the next ubuntu release, how I understand it. But apart from that, what is in the repos now is still firefox 3.5 final, so, pick your choice - branded 3.0 vs unbranded 3.5. For any other problems, I would check out the ubuntu forums and/or post there.

  12. bikethetam 5 days later:

    Gary, If you copy the error you got here, maybe we'll be able to help.

  13. stlouisubntu 8 days later:

    Just to reaffirm that the mozilla security ppa will NOT work with Hardy. I have tried it on both 64 and 32 bit Hardy installations and was unsuccessful. Hardy users will need to use the daily repository (which works fine per the revised instructions on the previous blog post.)

  14. toast point 8 days later:

    I did "apt-get install firefox-3.5" and restarted Firefox. Going to Help->About and Firefox still shows 3.0.11, not 3.5.

  15. curious 9 days later:

    Firefox 3.5/Shiretoko gets installed parallel to the existing version. Start it like that from a terminal:

    /usr/bin/firefox-3.5

    If you want to make Shireteko default, recreate the symlink /usr/bin/firefox pointing to /usr/bin/firefox-3.5. This is described near the end of bikethetham's previous post ("At this point, there are 2 different versions of Firefox coexisting..."ff).

  16. curious 9 days later:

    Firefox 3.5/Shiretoko gets installed parallel to the existing version. Start it like that from a terminal:

    /usr/bin/firefox-3.5

    If you want to make Shireteko default, recreate the symlink /usr/bin/firefox pointing to /usr/bin/firefox-3.5. This is described near the end of bikethetham's previous post ("At this point, there are 2 different versions of Firefox coexisting..."ff).

  17. sumant 14 days later:

    thanks a lot...i got shiretoko installed...is that the firefox 3.5 without ubuntu branding?

  18. alexsandro.ramos@gmail.com 4 months later:

    teste

  19. alexsandro.ramos@gmail.com 4 months later:
  20. alexsandro.ramos@gmail.com 4 months later:

    amL 22 minutes later: I just followed your new instructions and this is what I get when I try to reinstall firefox-3.5

    $ sudo apt-get install firefox-3.5 firefox-3.5-gnome-support 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 resolve the situation:

    The following packages have unmet dependencies: firefox-3.5-gnome-support: Depends: xulrunner-1.9.1-gnome-support but it is not going to be installed E: Broken packages

  21. talvigi@gmail.com 4 months later:

    Today I am trying to uninstall the firefox 3.0.15 from my ubuntu 9.04 because it has dishearted me with its slow speed may be FF2 will be better bcz when i used it on Windows it was great experience with it.

  22. anderigs@gmail.com 6 months later:

    As mentioned above for some weird reason the 3.5.x firefox and 1.9.1 xulrunner packages seem to be slightly broken in jaunty now meaning you have to install 3.0/1,9 respectively for SOME plugins. For me on a tiny 4G eeepc this is annoying (as it costs me 30MB in extra disk space). But there are workarouds - just not soooo nice. Quickest way is:

    1. locate all of the conflicting plugins there are that you need. Install them which brings with then xulrunner 1.9 and firefox 3.0
    2. copy the plugins shared libraries (.so) into /usr/lib/firefox-3.5.7/plugins/
    3. deinstall the plugins and xulrunner1.9/firefox-3.0/firefox-3.0-branding.

    I have done this now for A. Java which meant doing: sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so /etc/alternatives/firefox-javaplugin.so sudo ln -s /etc/alternatives/firefox-javaplugin.so /usr/lib/firefox-3.5.7/plugins/libjavaplugin.so

    B, mplayer which meant doing: sudo cp /usr/lib/mozilla/plugins/mplayerplug-in* /usr/lib/firefox-3.5.7/plugins/

    Maybe there is a nicer way but this works...

Comments