Ending the Firefox “needs to be restarted” Loop

Scenario: You install the latest Firefox update, restart as requested, and then get stuck in a loop where the popup window at the top of the browser keeps telling you to restart.

That bug (270303 “your browser has been updated and needs to be restarted”) and its ilk have been repeatedly fixed, on every version since about 3.0.2, and (it seems) to no avail.

What worked for me after updating to Firefox 3.0.11 was to close the browser and then:

touch ~/.mozilla/firefox/your-own-uuid-here.default/localstore.rdf

That’s on Ubuntu 9.04, of course…

Update: Same problem with the 3.0.12 update. Same hack-job fix. Makes you go hmmm.