Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I expect this would still be a problem for this .deb. The package manger is doing the updating which is what causes the problem for Firefox.

The restart notice provides a way for Firefox to signal to the user that the binary on disk doesn't match the binary running. Without the warning Firefox used to randomly crash when creating new processes. The warning allows the user to perform an orderly restart (not great but neither are crashes).

As the parent states the tar.gz will avoid the problem as it uses Mozilla's update process that is used across platform. A minimum set of steps to use the tar.gz are

* Extract tar.gz to somewhere like /opt/firefox/

* Set the permissions so that the user or a group can read, write and execute /opt/firefox/

* Create or copy a Firefox.desktop file [1] and place it in the correct folder [2] so it shows up in your launcher

[1] https://specifications.freedesktop.org/desktop-entry-spec/de... [2] https://specifications.freedesktop.org/menu-spec/latest/ar01...



Mozilla implemented a fork server to fix this issue. It is enabled in the new deb packages, but not yet in "normal" Firefox:

https://bugzilla.mozilla.org/show_bug.cgi?id=1609882

https://bugzilla.mozilla.org/show_bug.cgi?id=1850026


Shameless plug: I wrote a tiny script to install Firefox from their tar.gz, without requiring root access: https://github.com/agateau/tmfi.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: