Iceweasel 4.0 beta 1 preliminary packages for Debian, and a nice trick

Since this blog is now syndicated on Planet Mozilla, a little background for its readers: Iceweasel is the name under which Firefox is distributed in Debian. This is an unfortunate detail due to copyright issues with the Firefox logos that have been solved recently. Work is under progress to get Firefox back in Debian (I do have good hope this will be possible).

Anyways, I've started to work on getting Iceweasel in shape for the 4.0 release in a few months. The packaging being in a good enough shape, I am hereby making available some preliminary packages (meaning there is still some more work needed for proper packaging) for the first beta release.

The packages are available in a separate repository, which you need to add to your sources.list:

deb http://mozilla.debian.net/packages/ ./

Only x86 and x86-64 (amd64) packages are available for now. As far as I tested it, it works as well as the official Firefox 4.0beta1 binaries, though some xpcshell tests failed, and I haven't got reftests working yet.

If you still wish to use a current version of iceweasel (i.e. non-beta), but want to try this beta, here is the nice trick: Instead of installing iceweasel from the above mentioned repository,

  • Install xulrunner-2.0,
  • Download the iceweasel package (don't install),
  • Run the following command: dpkg-deb -x iceweasel_4.0b1-0_*.deb /some/directory,
  • Create a necessary symbolic link: ln -s /usr/lib/xulrunner-2.0 /some/directory/usr/lib.

Now you can start the Iceweasel beta with /some/directory/usr/bin/iceweasel. This trick should work with older versions of iceweasel, too.

2010-07-09 20:59:08+0900

firefox, xulrunner

You can leave a response, or trackback from your own site.

46 Responses to “Iceweasel 4.0 beta 1 preliminary packages for Debian, and a nice trick”

  1. Christoph Anton Mitterer Says:

    “copyright issues with the Firefox logos that have been solved recently.”
    => Tell us more please :)

  2. glandium Says:

    Christoph: http://glandium.org/blog/?p=933

  3. Anonymous Says:

    Minor bug: the “Additional plugins are required” bar has come back in this version.

  4. Anonymous Says:

    Another minor bug: right-clicking on a bookmark in the bookmark and choosing “properties” doesn’t do anything.

  5. Anonymous Says:

    (Happy to report these kinds of issues to upstream bugzilla too, but I figured I’d start here in case they don’t apply to upstream. In particular, the plugin issue seemed likely to interact with Debian-specific changes.)

  6. Paquetes preliminares de IceWeasel 4.0 beta 1 en Debian. Probando -;) – debianHackers Says:

    […] estaba pegándome con la beta de Firefox y hoy me encuentro con esta gran noticia en Planet Debian. Ya tenemos disponible para nuestras Debian los paquetes preliminares de la flamante (en beta, […]

  7. Christoph Anton Mitterer Says:

    So when’s Debian moving back to non-ice* branding?

  8. Planeta jakilinux.org » Iceweasel 4.0 beta 1 dla Debiana Says:

    […] Hommey rozpoczÄ…Å‚ prace nad wydaniem Iceweasela 4.0 w ciÄ…gu kilku miesiÄ™cy. PrzygotawaÅ‚ wstÄ™pne pakiety (nadal wymagajÄ… kilku technicznych […]

  9. oscar Says:

    _please_ include the fix for https://bugzilla.mozilla.org/show_bug.cgi?id=422179 (bilinear filtering of upscaled images) for Linux

    AFAICS all driver problems have been fixed, but noone bothers to include the fix for this in xulrunner.

  10. Iceweasel, el Firefox de Debian, sigue mejorando | MuyLinux Says:

    […] comportamiento perfecto. Muchas extensiones, sin ir más lejos, aún no están soportadas. Por eso han dejado un truquillo para probar esta 4.0 sin necesidad de […]

  11. tim Says:

    Thanks again for the work. Will the change to firefox make any practical difference for debian? (example, much less effort to make debian packages?); in other recent blogs you’ve mentioned that the gap between iceweasel and upstream is much less now, and I guess the speed with which the Debian iceweasel team is following upstream is proof of that.

  12. Firefox^Iceweasel 4.0beta1 | elmig Says:

    […] – http://glandium.org/blog/?p=1032 Share/Bookmark var a2a_config = a2a_config || {}; a2a_config.linkname="Firefox^Iceweasel […]

  13. Iceweasel 4.0 beta 1 preliminary packages for Debian Says:

    […] […]

  14. glandium Says:

    Anonymous: If you don’t have the necessary plugin, that’s not unexpected. As for bookmarks properties, works for me.

    Christoph: When it’s ready.

    oscar: Apparently not as simple as it looks, since X drivers may not be behaving correctly. (and we currently have several problems already with cairo 1.9.x)

    tim: It would only simplify a small amount of work, actually.
    The current number of patches against xulrunner 1.9.2 (ffx 3.6) is 100+, the number of patches against xulrunner 2.0 (ffx 4.0) is less than 50. Packaging 4.0beta1 took much less time than first packaging 3.6.

  15. Grzes Says:

    Hi, maybe a bit of topic, but when do you think 3.6 and/or 4.0 will be available in unstable?

  16. Anonymous Says:

    glandium: The bookmarks properties thing seems to have magically fixed itself; no idea why.

    However, regarding plugins: that behavior has regressed from 3.5/3.6 in Debian, which did not prompt me about plugins at all. 4.0 pops up the “Additional plugins are required” bar every time a site has any flash on it, a serious annoyance.

  17. glandium Says:

    Grzes: after squeeze is released.

    Anonymous: I just tested both 3.5 and 3.6, and they both are displaying the “additional plugins are required” bar.

    Now, maybe what really happens for you is that you had set plugins.hide_infobar_for_missing_plugin in your 3.5/3.6 profile and not in the 4.0 one.

  18. Anonymous Says:

    glandium: I don’t have separate profiles for 4.0 and 3.6, and I haven’t touched that setting.

    However, investigating, I *do* have this in user.js:
    user_pref(“plugin.default_plugin_disabled”, false);
    That preference solves this problem for 3.6 but not 4.0, an annoying incompatibility.

    (Now that I think of it, I think Debian’s packages used to do something equivalent to this, like not installing the default plugin, and I made this change when they stopped doing so.)

  19. glandium Says:

    Anonymous: the difference then is that 4.0 doesn’t have the default plugin at all, and the plugin.default_plugin_disabled pref has now no effect. plugins.hide_infobar_for_missing_plugin is what you want, and works on 3.x and 4.0.

  20. TecnoAmigo Blog » Blog Archive » Probar la nueva versión de Iceweasel 4.0 Beta 1 Says:

    […] 1 semana de haber lanzado la beta de Iceweasel, si aun no la han probado les dejo la guía que ellos mismos publicaron. La primer forma es si desean instalarlo en consola y como […]

  21. Eero Tamminen Says:

    > Will the change to firefox make any practical difference for debian?

    Some stupid (e.g. internal corporate) sites check Browsers based on what name Browser gives and refuse to work with an unknown entity called Iceweasel. I know that one can change user-agent from about:config, but many people don’t know it (or that this can cause issues)…

  22. glandium Says:

    Eero Tamminen: the Iceweasel UA includes “like Firefox/x.y” since 3.5.5-1, which solves most of these problems.

  23. Mathieu Says:

    I just tried it out, with unfortunately a failure. I’m running Debian Squeeze on amd64, with xulrunner-1.9.2 installed as specified.

    # apt-cache policy xulrunner-1.9.2
    xulrunner-1.9.2:
    Installé : 1.9.2.4-2
    Candidat : 1.9.2.4-2
    Table de version :
    1.9.2.8-2 0
    1 http://ftp.ca.debian.org experimental/main Packages
    *** 1.9.2.4-2 0
    100 /var/lib/dpkg/status

    I installed Iceweasel 4 (beta 4 from August 24) in /usr/lib/iceweasel4:

    # mkdir /usr/lib/iceweasel4
    # dpkg-deb -x iceweasel_4.0~b4-0_amd64.deb /usr/lib/iceweasel4/
    # ln -s /usr/lib/xulrunner-2.0 /usr/lib/iceweasel4/usr/lib/

    And then, as root or regular user:

    # /usr/lib/iceweasel4/usr/bin/iceweasel
    exec: 193: /usr/lib/iceweasel4/usr/lib/iceweasel/firefox-bin: not found

    The file exists, though:

    # ls /usr/lib/iceweasel4/usr/lib/iceweasel
    application.ini components iceweasel searchplugins
    blocklist.xml defaults iceweasel-xremote-client xulrunner
    chrome extensions icons
    chrome.manifest firefox-bin modules

    Did I miss something? Is there any information that could be useful?

    Thx for all the good work,
    Mathieu.

  24. glandium Says:

    I corrected the procedure, you need to install xulrunner-2.0, not xulrunner-1.9.2. My bad.

  25. Mathieu Says:

    Now it works! (and the use of xulrunner-2.0 makes much more sense to me…)

    For the record, here is what I did in the end (with Debian Squeeze and some apt pining):

    1) download from http://mozilla.debian.net/packages/
    * iceweasel_4.0~b4-0_amd64.deb
    * libmozjs4d_2.0~b4-0_amd64.deb
    * xulrunner-2.0_2.0~b4-0_amd64.deb

    2) install or update the dependencies:
    # dpkg –install libmozjs4d_2.0~b4-0_amd64.deb
    # aptitude install -t unstable libsqlite3-0
    # dpkg –install xulrunner-2.0_2.0~b4-0_amd64.deb

    3) finally install iceweasel 4 as previously explained:
    # mkdir /usr/lib/iceweasel4
    # dpkg-deb -x iceweasel_4.0~b4-0_amd64.deb /usr/lib/iceweasel4/
    # ln -s /usr/lib/xulrunner-2.0 /usr/lib/iceweasel4/usr/lib/

    And then to launch iceweasel4:
    # /usr/lib/iceweasel4/usr/bin/iceweasel

    I still have to figure out why it only works as root, and not as a regular user (it launches the regular iceweasel 3.6). I also get the following warning:

    (firefox-bin:9710): GnomeUI-WARNING **: While connecting to session manager:
    None of the authentication protocols specified are supported.

    Seems to work like a charm, though (I already love WebM). Thx for the help, and thank you a lot for providing iceweasel 4!
    Mathieu.

  26. Iceweasel 4.0 beta 4 || El Historias Says:

    […] de instalarlo, y por mi parte lo recomendable. Muy sencillo de instalar en Debian y similares, como indican en Glandium [en inglés]. A mi me han funcionado estos pasos en Debian […]

  27. Phil Says:

    Thanks for creating 4.0b builds for us – I’m really enjoying the latest and greatest.

    I haven’t been too concerned about each new beta build – until now. b6 has JaegerMonkey, which I’d really like to try. Any chance of getting a b6 build?

    Thanks again!

  28. glandium Says:

    > Any chance of getting a b6 build?

    When it is released. Which is not yet.

  29. Phil Says:

    > When it is released. Which is not yet.

    Ah – all the articles about “b6-pre” confused me. Indeed, you’re correct, sorry about that.

    Thanks again for all your work!

  30. glandium Says:

    And now b6 is going to be a regression fix for b5. Only b7 will have JägerMonkey.

  31. Phil Says:

    Yeah, saw that. And the fixes are (afaict) Windows and Mac, but unrelated to Linux. I’ll be keeping an eye out for b7.

    Thanks!

  32. Anonymous Says:

    Beta 5 (4.0~b5-0) seems to lack the “like Firefox” in the user agent; it just says “Mozilla/5.0 (X11; Linux x86_64; rv:2.0b5) Gecko/20100907 Iceweasel/4.0b5”. I haven’t done anything to change this.

  33. LXer: HOWTO: Install Firefox 4 on Ubuntu or any Linux Distro Says:

    […] Debian you can use the Iceweasel 4 beta. # Iceweasel 4.0 beta packages for Debian http://glandium.org/blog/?p=1032 # deb http://mozilla.debian.net/packages/ ./ There is nothing to running Firefox, download, […]

  34. ML Says:

    I tried to install iceweasel 4 to Linux Mint but i get error:
    “iceweasel: Depends: xulrunner-2.0 (>= 2.0~b5) but it is not going to be installed” If i try to install Xulrunner 2 then it says no can do as it’s depend on something else.
    Damn it’s difficult to install one web browser.

  35. Hongzheng Wang Says:

    Hi Glandium,

    As we all noticed, Firefox 4 beta 7 was just released. I also found that a new iceweasel package had been built at
    deb http://mozilla.debian.net/packages ./
    Thank you very much for your great work.

    The only problem I found with the new version is that iceweasel 4.0~b7-1 requires xulrunner-2.0 >= 2.0~b8~pre. As a result, the new iceweasel cannot be installed due to the unsatisfied dependency. Is there any special reason why iceweasel needs this version of xulrunner-2.0?

  36. glandium Says:

    Hongzheng: No other reason than a mistake. I’ll push a fixed version once it’s built. Thanks for the heads-up.

  37. Hongzheng Wang Says:

    Great! Thank you very much.

  38. [Hilo Oficial] Debian GNU/Linux - Page 22 - Foros Softonic Says:

    […] […]

  39. Phil Says:

    I came to request b7 and it’s already done. You rule, as always. Thanks!

  40. Installing Firefox 4 Beta on Debian Squeeze « Biboroku Says:

    […] Installing Firefox 4 Beta on Debian Squeeze Filed under: Debian,Linux,Squeeze — nomo17k @ 12:53 Tags: admin, Debian/Squeeze, install procedure, Linux Firefox 3.5 (a.k.a. Iceweasel in Debian) on Squeeze is a bit old, so I wish to install Firefox 4 (still beta) as well.  I’d like to keep an option of running stable Firefox 3.5, so what I do here is to install version 4 as a separate install.  Much of this note follows the information found in this article and its comments. […]

  41. mas Says:

    Thanks for the packaging. I am seeing these errors(?) on the terminal :

    ###!!! [Parent][RPCChannel] Error: Channel error: cannot send/recv

    Searching leads to some info about problems/issues with a java plugin. I am waiting for debian way of fixing things :-)

    Regards.

  42. Installing Firefox 4 Beta on Debian Squeeze | Biboroku Says:

    […] Firefox 3.5 (a.k.a. Iceweasel in Debian) on Squeeze is a bit old, so I wish to install Firefox 4 (still beta) as well.  I’d like to keep an option of running stable Firefox 3.5, so what I do here is to install version 4 as a separate install.  Much of this note follows the information found in this article and its comments. […]

  43. Cae Says:

    Since Firefox4 is now officially out, any idea what’s the time for Iceweasel 4?

    Or are we going to finally get Firefox4 officially?

  44. glandium Says:

    Cae: http://packages.debian.org/experimental/iceweasel

  45. Shmerl Says:

    Any progress on getting originally branded Firefox into Debian?

  46. Iceweasel, el Firefox de Debian, sigue mejorando | Tutoriales de Informática Says:

    […] comportamiento perfecto. Muchas extensiones, sin ir más lejos, aún no están soportadas. Por eso han dejado un truquillo para probar esta 4.0 sin necesidad de […]

Leave a Reply