firefox

SOLUTION: Firefox Fails When Upgrading to Ubuntu 10.04 After Using Mozilla PPA

This is a quick fix for a problem I had when upgrading to Ubuntu 10.04, after having used the Mozilla PPA.

The Firefox upgrade failed during the distribution upgrade process (from 9.10 to 10.04). I was told to run `dpkg -a –configure`, and the same error occurred again (it’s in bold).

$ sudo dpkg -a --configure
Setting up firefox (3.6.3+nobinonly-0ubuntu4) ...
update-alternatives: error: alternative path /usr/bin/firefox doesn't exist.
dpkg: error processing firefox (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of firefox-3.5:
firefox-3.5 depends on firefox; however:
Package firefox is not configured yet.
dpkg: error processing firefox-3.5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of firefox-3.0:
firefox-3.0 depends on firefox; however:
Package firefox is not configured yet.
dpkg: error processing firefox-3.0 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of firefox-gnome-support:
firefox-gnome-support depends on firefox (= 3.6.3+nobinonly-0ubuntu4); however:
Package firefox is not configured yet.
dpkg: error processing firefox-gnome-support (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of firefox-3.5-gnome-support:
firefox-3.5-gnome-support depends on firefox-gnome-support; however:
Package firefox-gnome-support is not configured yet.
dpkg: error processing firefox-3.5-gnome-support (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
firefox
firefox-3.5
firefox-3.0
firefox-gnome-support
firefox-3.5-gnome-support

A quick web search brought up a bug report, and I was able to figure out this fix with the help of

$ sudo rm /usr/bin/firefox
$ sudo ln -s /usr/lib/firefox-3.6.3/firefox /usr/bin/firefox
$ sudo dpkg -a –configure

The symlink for /usr/bin/firefox had been pointing to /usr/bin/firefox-3.5, which no longer existed, so the commands above (1) remove the dead-end link; (2) add the proper link (YMMV depending on which version of Firefox you are upgrading to); (3) resume the upgrade process.

Hope that helps!

Is Firefox missing the point in its response to Google Chrome?

[This post originally appeared on Techdirt.]

Seth Godin thinks Firefox is missing the point by launching new features in response to Google Chrome. He says the problem now is that “when your friends switch to Firefox, your life doesn’t get better.” Firefox needs to provide people with an incentive to spread it, so that the more people use it, the better it gets for users (think of a social networking site — you have a better experience if more of your friends join). He suggests new communication and collaboration features that only work if you have Firefox.

I think he’s missing the point.

He ignores the Firefox community. The life of a Firefox user does improve as the user base grows. A more vibrant community means better add-ons, bug fixes, security patches, phishing reports, translations/dictionaries, etc. — all members benefit. Mozilla is already providing the sort of incentive he describes. Sure, there may be ways to improve, but I don’t think they’re missing the point.

Plus, “only for Firefox users” isn’t the Mozilla approach. Mozilla wants to improve the web for everyone — not just Firefox users. Mozilla thinks your browser should be like your phone or your car; it shouldn’t matter if your friends or co-workers are using the same product. You don’t need to consider which phone carrier your friend uses before making a call, or which car your co-worker has before providing directions; you shouldn’t have to think about what browser someone uses before communicating with them online. People don’t need special browser-specific features in order to communicate browser-to-browser, that’s what web services (or add-ons) are for. Those kinds of features would make life on the web more difficult for everyone if they were Firefox specific, and if they weren’t, Google could just implement them in Chrome.

The community is one thing Firefox has that Chrome can’t copy overnight.

If you read some responses to Chrome from people at Mozilla, it doesn’t seem like they’re missing the point. Competition in the browser market is validation of Mozilla’s mission for Firefox, and Mozilla plans to compete by continuing to innovate and to involve the community. Seth Godin makes a great observation about giving people an incentive to spread your product — “people will recommend something if adoption improves their lives” — but he doesn’t mention the ways in which Mozilla has already taken that to heart. How do you think Firefox became popular in the first place?

[Read the comments on Techdirt.]

Yet another missed chance to be saved from MySpace

Why is it that I keep finding these things after it’s too late?

AmIOnMySpace?

Ah well, it’s not so bad after all.

Hotmail discriminates against non-Windows Firefox users

Can you say artificial scarcity? Also, Hotmail’s “customer service” seems to be a poorly implemented bot.

But did you really need another reason not to use Hotmail?

Access Gmail with a secure connection

Did you know that when you’re viewing mail in your Gmail account you’re not using a secure connection by default? That means that anyone who’s sniffing traffic on your network can intercept your packets and essentially read your email or, worse yet, steal your session (ie. login to Gmail as you)!

The chances of this actually happening to you are very slim. But Google actually offers HTTPS (ie. encrypted) access to Gmail, so why not take advantage of it? To use HTTPS, you just need to change the “http://” in the address bar to “https://” once you’re logged in and hit enter.

You need to do this ever time to log into Gmail though, which is a bit annoying. That’s why I’ve begun using the GMailSecure script for Greasemonkey. Greasemonkey is a Firefox add-on which allows you to install scripts that customize websites for you. This script simply replaces “http://” with “https://” for you whenever you’re logged into Gmail.

For any security conscious Firefox+Gmail users out there, this add-on ensures that you’re always viewing your email over a secure connection.

Moving Firefox/Thunderbird Profiles

This example will involve moving a profile from Windows XP to Ubuntu 7.04, but the basic idea can be used to move profiles around in many other scenarios.

Step 1: Find Your Files

In Windows XP, look in:
Firefox: C:\Documents and Settings\<username>\Application Data\Mozilla\Firefox\Profiles
Thunderbird: C:\Documents and Settings\<username>\Application Data\Thunderbird\Profiles

You should find a sufficiently cryptic folder (e.g. “b455b37.default”). You can check inside to see if it has the data you want (ie. bookmarks.html for Firefox, a Mail subfolder for Thunderbird, etc.). That’s your profile folder, the one you’ll need to copy in step two.

Step 2: Copy Your Files

In Ubuntu:
Firefox: ~/.mozilla/firefox/Profiles/
Thunderbird:: ~/.mozilla-thunderbird/

There are two options: (1) replace the contents of the existing profile directory with the contents of the profile directory from your Windows machine; (2) delete the existing profile directory and copy your entire profile directory from Windows in its stead.

The easiest way to copy files is probably to use a USB key, but it doesn’t really matter.

Step 3: Profiles.ini

If you chose option (1) above, then you need to edit ‘profiles.ini’ to update the path to your profile (since the directory name has changed). You’ll need to open up ‘profiles.ini’ in a text editor.

Firefox:
gedit ~/.mozilla/firefox/profiles.ini

Thunderbird:
gedit ~/.mozilla-thunderbird/profiles.ini

(If you’re copying to Windows, just use Notepad to edit the file.)

Inside profiles.ini, you’ll need to update the ‘Path’ to reflect the new name of your profile directory:

[Profile0]
Name=default
IsRelative=1
Path=<path-to-new-profile>

Save the file, open the application and check to make sure your data is there. That’s it!

Creative Commons Attribution-ShareAlike 2.5 Canada
This work by Blaise Alleyne is licensed under a Creative Commons Attribution-ShareAlike 2.5 Canada.