Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I started using the firefox nightlies a while ago. I would get updates for both versions 4 (Minefield) and 3.7 (Namoroka). Now I want to keep version 4 nightly, but replace the 3.7 nightly with 3.6 stable. I've already removed the 3.7 nightly, but can't figure how to install 3.6 stable (systemwide). Trying to install it using apt-get starts downloading the nightly again. Where do I need to make the necessary changes?

Edit for further clarification:

Installing version 3.6 stable is not a problem. Adding the mozilla ppa is not a problem either. Getting version 4 nightlies is, likewise, not a problem. Installing and running both verstions simultaneously does not cause a profile overlap -- they each have their individual profiles. I have no problems with profiles whatsoever.

What is the problem then? This -> After you add the mozilla ppa, you also start getting the 3.7 nightlies. So? The process overwrites the stable version of 3.6 with a nightly of 3.7 -- this is what I do not want.

Temporary solution that I have -> Before installing updates everyday, I deselect the 3.7 updates, which keeps the 3.6 intact. I just don't want to have to do this. I want to stop getting updates for 3.7 nightly.

It isn't a big thing at all. I'll probably just have to uncheck some box somewhere, or make a little change to some config file.

But thanks to everyone trying to help. It is much appreciated.

share|improve this question

closed as off-topic by Eric Carvalho, waltinator, Mitch Apr 27 at 9:38

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Eric Carvalho, waltinator, Mitch
If this question can be reworded to fit the rules in the help center, please edit the question.

    
You can just download only the package "firefox-4.0-core and firefox-4.0" and install it without adding the mozilla ppa repository. –  lukasz Jan 14 '11 at 17:18
    
That would also get me updates for it? –  Mussnoon Jan 14 '11 at 18:34

4 Answers 4

up vote 2 down vote accepted

Indeed, if you add the PPA, it will update Firefox 4 nightlies (which is what you want), and Firefox 3.6 to some nightlies (which you don't want, or it will loose its branding and become Namoroka).

What you want to do is to pin firefox so it won't update from the PPA (but firefox-4.0 will).

Create the file /etc/apt/preferences.d/ubuntu-mozilla-daily-pin-400 and add this:

Package: *
Pin: release o=LP-PPA-ubuntu-mozilla-daily
Pin-Priority: 400

Now, the PPA will have lower priority than the official repositories, so firefox will always check from the official repositories, but firefox-4.0, which is only on the PPA, will be updated from it.

(source for the configuration: Pinning the ubuntu-mozilla-daily PPA)


Another way, without using the command line, is to open Synaptic Package Manager, find the firefox package, and on the "Package" menu, check "Lock Version". But then, Firefox 3.6 won't get updates from the official Ubuntu repositories either. :-/

share|improve this answer
1  
Thanks a lot. That's exactly what I needed. Much appreciated. –  Mussnoon Jan 18 '11 at 12:32
    
Glad I could help. :) –  Yann Dìnendal Jan 18 '11 at 17:19

First, remove all firefox versions and all firefox related ppas you maybe have added.

After that type

sudo apt-get update
sudo apt-get install firefox

to install the current stable version of firefox.

To install the current version 4 nightly build type this:

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get install firefox-4.0

Firefox 4 should now appear here: Applications->Internet->Minefield 4.0 Web Browser.

share|improve this answer
    
Thanks, but adding the mozilla ppa causes it to start getting the 3.7 nightlies too. Of course, I can deselect it everytime before hitting "install updates" on update manager, but there must be a better way. –  Mussnoon Jan 14 '11 at 9:13

To install Firefox 4 without updating the stable default Firefox version, use SilverWave ppa.

You can also use my FoxTester extension, which allows to easily install any number of Firefox versions and launch them simultaneously. However, you won't get automatic updates.

Take a look at my tutorial if you need more info about those methods.

share|improve this answer
    
The firefox-4.0 package from the "ppa:ubuntu-mozilla-daily/ppa " does not update the stable default Firefox version! Only you have to run firefox or firefox-4 with a profile created for the appropriate version of firefox –  lukasz Jan 14 '11 at 11:56
    
@lukasz is not the firefox-4.0 package that update the stable default, is the ppa tha does that. The ppa allows to install firefox-4.0 package, but also updates firefox package with the latest unstable updates. –  lovinglinux Jan 14 '11 at 18:23

Follow these steps:

  1. Remove all versions of firefox and all profiles
  2. Remove the "ppa:ubuntu-mozilla-daily/ppa" repository if you have and run sudo apt-get update
  3. Install the firefox 3.6 (stable) sudo apt-get install firefox and make a profile for this version
  4. Install the Firefox-4.0 nightly:
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get install firefox-4.0
  1. Run the command firefox-4.0 -ProfileManager -no-remote and create a new profile "ff-4.0" and start the firefox
  2. Make an activator and set the command as: firefox-4.0 -P "ff-4.0" -no-remote
  3. Done! ;)

Remember! If you want to run the firefox stable and nightly version at the same time, always first run the stable version.

Result:

alt text

share|improve this answer
    
Firefox 4 and 3.7 already use different profiles. So that is not of concern. –  Mussnoon Jan 14 '11 at 12:50
    
OK, I edited my answer, look at it again goo.gl/qePg0 –  lukasz Jan 14 '11 at 16:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.