[SOLVED] how to update the repository's firefox package?

Archived topics about LMDE 1 and LMDE 2
Locked
TomRoche

[SOLVED] how to update the repository's firefox package?

Post by TomRoche »

Forked this from Re: Update pack 4? per lmdeman:
lmdeman wrote:rename this thread to "Firefox updates for LMDE" or something like that, because "Update pack 4" appears quite misleading
The issue is
tatewatkins wrote:big packages like firefox are now two versions behind and [the current mint firefox package version=5.0] seems to have a problem with syncing :(
dritzominous wrote:Why care about having the latest firefox version?

1. Speed/memory usage/bugfixes

2. Security
Also

3. Some of us are heavy users of firefox add-ons (e.g., zotero), and when one is debugging a problem with an add-on, it's often useful to be able to say, "I'm on the latest firefox."
dritzominous wrote:Ubuntu gets it, so why shouldn't we? Even WINDOWS gets the latest version of Firefox.
So I'm wondering, what would need to be done to update the mint firefox package to, e.g., 7.0.1? What could be done to help get this done?

Just to spike out an easy objection: yes, I know I can do a manual firefox install, but I'd much prefer to stay with managed packages if I can.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
TomRoche

Re: how to update the repository's firefox package?

Post by TomRoche »

Note also that Firefox currently (Mon Oct 24 18:29:50 EDT 2011) lists the following requirements:
  • Firefox will not run at all without the following libraries or packages:
    • GTK+ 2.10 or higher
    • GLib 2.12 or higher
    • Pango 1.14 or higher
    • X.Org 1.0 or higher (1.7 or higher is recommended)
    • libstdc++ 4.3 or higher
  • For optimal functionality, we recommend the following libraries or packages:
    • NetworkManager 0.7 or higher
    • DBus 1.0 or higher
    • HAL 0.5.8 or higher
    • GNOME 2.16 or higher
TomRoche

Re: how to update the repository's firefox package?

Post by TomRoche »

Correct me if wrong, but ISTM current LMDE satisfies the build requirements/recommendations for the current firefox=7.0.1:

Current firefox demands:

* GTK+ 2.10 or higher

I (who have LMDE Update Pack 3 installed) see on my box

$ aptitude show "?name(^libgtk2.0-0)" | grep -e 'Package:\|Version:'
Package: libgtk2.0-0-dbg
Version: 2.24.4-3
Package: libgtk2.0-0
Version: 2.24.4-3

* GLib 2.12 or higher

$ aptitude show "?name(^libglib2.0)" | grep -e 'Package:\|Version:' # results tidied
...
Package: libglib2.0-0
Version: 2.28.6-1
Package: libglib2.0-bin
Version: 2.28.6-1
Package: libglib2.0-dev
Version: 2.28.6-1
...

* Pango 1.14 or higher

$ aptitude show "?name(^libpango1.0)" | grep -e 'Package:\|Version:'
Package: libpango1.0-0-dbg
Version: 1.28.4-1
Package: libpango1.0-common
Version: 1.28.3-1 # ??? why is this version different?
Package: libpango1.0-dev
Version: 1.28.4-1
Package: libpango1.0-doc
Version: 1.28.4-1
Package: libpango1.0-0
Version: 1.28.4-1

* X.Org 1.0 or higher (1.7 or higher is recommended)

$ aptitude show "?name(^xorg)" | grep -e 'Package:\|Version:' # results tidied
Package: xorg-dev
Version: 1:7.6+8
...
Package: xorg
Version: 1:7.6+8

* libstdc++ 4.3 or higher

$ aptitude show "?name(^libstdc\+\+)" | grep -e 'Package:\|Version:' # results tidied
Package: libstdc++5
Version: 1:3.3.6-24
Package: libstdc++6
Version: 4.6.1-4
Package: libstdc++6-4.4-dbg
Version: 4.4.6-8
Package: libstdc++6-4.4-dev
Version: 4.4.6-8
Package: libstdc++6-4.4-doc
Version: 4.4.6-8
Package: libstdc++6-4.4-pic
Version: 4.4.6-8
Package: libstdc++6-4.5-dbg
Version: 4.5.3-5
Package: libstdc++6-4.5-dev
Version: 4.5.3-5
Package: libstdc++6-4.5-doc
Version: 4.5.3-5
Package: libstdc++6-4.5-pic
Version: 4.5.3-5
Package: libstdc++6-4.6-dbg
Version: 4.6.1-4
Package: libstdc++6-4.6-dev
Version: 4.6.1-4
Package: libstdc++6-4.6-doc
Version: 4.6.1-4
Package: libstdc++6-4.6-pic
Version: 4.6.1-4

Current firefox recommends:

* NetworkManager 0.7 or higher

$ aptitude show "?name(^network-manager)" | grep -e 'Package:\|Version:' # results tidied
Package: network-manager-gnome
Version: 0.8.4-3
Package: network-manager-vpnc-gnome
Version: 0.8.4-1
Package: network-manager-pptp
Version: 0.8.4-1
Package: network-manager-dbg
Version: 0.8.4.0-2
Package: network-manager
Version: 0.8.4.0-2
Package: network-manager-dev
Version: 0.8.4.0-2
Package: network-manager-openvpn
Version: 0.8.4-1
...

* DBus 1.0 or higher

tlroche@tlrPanP5:~$ aptitude show "?name(^dbus)" | grep -e 'Package:\|Version:'
Package: dbus
Version: 1.4.14-1
Package: dbus-1-dbg
Version: 1.4.14-1
Package: dbus-1-doc
Version: 1.4.14-1
Package: dbus-java-bin
Version: 2.8-1
Package: dbus-x11
Version: 1.4.14-1

* HAL 0.5.8 or higher

tlroche@tlrPanP5:~$ aptitude show "?name(^hal)" | grep -e 'Package:\|Version:' # results tidied
Package: hal-doc
Version: 0.5.14-7
Package: hal
Version: 0.5.14-7
Package: hal-info
Version: 20091130-1

* GNOME 2.16 or higher

$ aptitude show "?name(^gnome-)" | grep -e 'Package:\|Version:' | less

looks like mostly 2.3x, e.g. (heavily edited)

Package: gnome-media-common
Version: 2.30.0-1
Package: gnome-media
Version: 2.30.0-1
Package: gnome-panel
Version: 2.30.2-4
Package: gnome-power-manager
Version: 2.32.0-3

Am I missing something?
davy51

Re: how to update the repository's firefox package?

Post by davy51 »

Firefox 7and 8 and 9 work on lmde

9 doesn't support all my add ons but 7 and 8 do

I did a manual download of a tar file and installed that way
Last edited by davy51 on Tue Oct 25, 2011 3:21 pm, edited 1 time in total.
gavinhc

Re: how to update the repository's firefox package?

Post by gavinhc »

As was mentioned in the other thread, where this discussion started, you can install Iceweasel from the Debian testing repos (or if you are pointing to the latest or incoming repos from there). From what I've seen, the version in testing lags behind the official Firefox releases by about a week or so, since it has to spend some time in Sid first, so the Update pack versions may be a couple weeks behind that, but it should still update faster than the Firefox packages from the Mint repo. If you want something that updates even faster, you can always use the http://mozilla.debian.net/ repo, which is maintained by the same people who maintain the Mozilla packages in Debian.

Iceweasel is simply an unbranded version of Firefox because the Mozilla trademarks on the Firefox name were incompatible with the Debian Free Software Guidelines. I have been using this as my primary browser for some time now and it is identical to using Firefox, all the same add-ons work, websites requiring Firefox work with it, etc.
TomRoche

Re: how to update the repository's firefox package?

Post by TomRoche »

gavinhc wrote:you can install Iceweasel from the Debian testing repos (or if you are pointing to the latest or incoming repos from there).
So what do I need to do in order to get a newer iceweasel (e.g., 7.x)? Why I ask: I did

Code: Select all

$ sudo aptitude update ; sudo aptitude -s full-upgrade
to ensure I was up-to-date (except WRT foomatic-db-engine, about which more in another thread), then

Code: Select all

$ sudo aptitude install iceweasel
...
The following NEW packages will be installed:
iceweasel
libmozjs5d{a}
xulrunner-5.0{a} 
> 0 packages upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
...
> Adding 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'
> Setting up libmozjs5d (5.0-6) ...
> Setting up xulrunner-5.0 (5.0-6) ...
> Setting up iceweasel (5.0-6) ...
$ which firefox
/usr/bin/firefox
$ firefox --version
Mozilla Firefox 5.0
$ which iceweasel
/usr/bin/iceweasel
$ iceweasel --version
Mozilla Iceweasel 5.0
and when I fire it up, it looks, as one would expect from the previous, exactly like firefox 5.0. I'm guessing I need to change something in my /etc/apt/sources.list, which is currently:

Code: Select all

deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
#deb http://security.debian.org/ testing/updates main contrib non-free
# Per recommendation for Update Pack 3
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
#deb http://www.debian-multimedia.org testing main non-free
# Per recommendation for Update Pack 3
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/debian squeeze-cran/
Is that correct? If so, what to change in sources.list? If not, what to change, and where?
zerozero

Re: how to update the repository's firefox package?

Post by zerozero »

Tom, as you are following the UP, there's a delay between the pkgs in testing and the pkgs in latest;
this UP3 was frozen around end of august and at that time, that was the iceweasel v. available, not anymore

Code: Select all

amadeu@amadeu ~ $ apt-cache policy iceweasel
iceweasel:
  Installed: 7.0.1-2
  Candidate: 7.0.1-2
  Version table:
 *** 7.0.1-2 0
        500 http://ftp.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
gavinhc

Re: how to update the repository's firefox package?

Post by gavinhc »

Tom, as zz said, when UP3 was frozen, Iceweasel 5 was the most recent version in the testing repos so that is what is available in the latest repo currently. When UP4 is released, I would suspect that at least version 7 will be included. I also suggested you could get the package straight from the source in my previous post, since the new latest repo tends to lag a few weeks to a month behind testing. It is a standard Debian repo and offers Iceweasel packages for the stable, beta, and aurora releases giving a choice of how bleeding edge you wish to be.
TomRoche

Re: how to update the repository's firefox package?

Post by TomRoche »

TomRoche wrote:

Code: Select all

$ sudo aptitude install iceweasel
[gives me]
$ iceweasel --version
Mozilla Iceweasel 5.0
[so] I'm guessing I need to change something in my /etc/apt/sources.list, which is currently:

Code: Select all

deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
#deb http://security.debian.org/ testing/updates main contrib non-free
# Per recommendation for Update Pack 3
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
#deb http://www.debian-multimedia.org testing main non-free
# Per recommendation for Update Pack 3
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/debian squeeze-cran/
Is that correct? If so, what to change in sources.list?
zerozero wrote:Tom, as you are following the UP, there's a delay between the pkgs in testing and the pkgs in latest;
this UP3 was frozen around end of august and at that time, that was the iceweasel v. available,
Yes, this I understand.
gavinhc wrote:you could get the package straight from the source
This I also understand, but my question is, what do I need to change in sources.list order to get the appropriate package for Iceweasel 7? That page wants to know which Debian I'm running: should I choose oldstable, stable, testing, or unstable? (given that I'm running LMDE UP3) I thought I should choose testing/Wheezy, but when I choose

Code: Select all

«I am running Debian testing (Wheezy) and I want to install Iceweasel version release»
it advises

Code: Select all

You can install it with the following command:
apt-get install iceweasel
which is obviously not working for me (since that gives me Iceweasel 5, not Iceweasel 7).
zerozero

Re: how to update the repository's firefox package?

Post by zerozero »

if you change

Code: Select all

deb http://debian.linuxmint.com/latest testing main contrib non-free
to

Code: Select all

deb http://ftp.debian.org/debian testing main contrib non-free
(has been down for me all day)
you don't need
http://mozilla.debian.net/
to install iceweasel7, because
http://packages.debian.org/search?suite ... =iceweasel
(but remember that doing that as a full-upgrade, you are no more tracking the relative safety of the UP, but wild testing itself, so install iceweasel7 and the required deps and revert to the previous sources.list- well, just a word of advise)
TomRoche

Re: how to update the repository's firefox package?

Post by TomRoche »

OK, so to paraphrase zerozero, the procedure to update from the iceweasel in UP3 to iceweasel 7 is:
  1. backup sources.list and package list
  2. create new sources.list, changing from

    Code: Select all

    deb http://debian.linuxmint.com/latest testing main contrib non-free
    to

    Code: Select all

    deb http://ftp.debian.org/debian testing main contrib non-free
  3. Code: Select all

    sudo aptitude install iceweasel
    and dependencies (except it looks like UP3 already has the dependencies)
  4. revert to the backed-up sources.list
  5. don't re-install iceweasel until UP4 arrives
gavinhc

Re: how to update the repository's firefox package?

Post by gavinhc »

TomRoche wrote:
gavinhc wrote:you could get the package straight from the source
This I also understand, but my question is, what do I need to change in sources.list order to get the appropriate package for Iceweasel 7? That page wants to know which Debian I'm running: should I choose oldstable, stable, testing, or unstable? (given that I'm running LMDE UP3) I thought I should choose testing/Wheezy, but when I choose

Code: Select all

«I am running Debian testing (Wheezy) and I want to install Iceweasel version release»
it advises

Code: Select all

You can install it with the following command:
apt-get install iceweasel
which is obviously not working for me (since that gives me Iceweasel 5, not Iceweasel 7).
It looks like they have changed the structure of their repos a bit since I started using them. The line I would recommend using in your sources.list is

Code: Select all

deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
and this should give you the most recent releases of Iceweasel more quickly than you can get them through the update packs.
zerozero

Re: how to update the repository's firefox package?

Post by zerozero »

Tom, i was making things a lot more complicated than they should be, and gavinhc was spot-on

Code: Select all

Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://packages.linuxmint.com/ debian main upstream import backport romeo
           deb http://debian.linuxmint.com/incoming testing main contrib non-free
           deb http://debian.linuxmint.com/incoming/security testing/updates main contrib non-free
           deb http://debian.linuxmint.com/incoming/multimedia testing main non-free
           deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
           deb-src http://mozilla.debian.net/ squeeze-backports iceweasel-release
amadeu@amix ~ $ apt-cache policy iceweasel
iceweasel:
  Installed: 7.0.1-4~bpo60+1
  Candidate: 7.0.1-4~bpo60+1
  Version table:
 *** 7.0.1-4~bpo60+1 0
        500 http://mozilla.debian.net/ squeeze-backports/iceweasel-release amd64 Packages
        100 /var/lib/dpkg/status
     5.0-6 0
        500 http://debian.linuxmint.com/incoming/ testing/main amd64 Packages
nevermind the incoming, latest atm is exactly the same.
craigevil

Re: how to update the repository's firefox package?

Post by craigevil »

1) Install Iceweasel from http://mozilla.debian.net just follow the directions, you can even install the current beta or alphas.
Some Iceweasel info:
Mozilla Corporation software rebranded by the Debian project - Wikipedia, the free encyclopedia - https://secure.wikimedia.org/wikipedia/ ... an_project
glandium.org » Blog Archive » Facts about Debian and Mozilla® Firefox® - http://glandium.org/blog/?p=97
Also see /usr/share/doc/iceweasel/README.Debian

Code: Select all

$ apt-cache policy iceweasel
iceweasel:
  Installed: 9.0~a2+20111028042025-1
  Candidate: 9.0~a2+20111028042025-1
  Version table:
 *** 9.0~a2+20111028042025-1 0
        500 http://mozilla.debian.net/ experimental/iceweasel-aurora i386 Packages
        100 /var/lib/dpkg/status
     8.0~b5-1 0
          1 http://ftp.us.debian.org/debian/ experimental/main i386 Packages
     7.0.1-4 0
        500 http://ftp.us.debian.org/debian/ unstable/main i386 Packages
or
2) Download Firefox from Mozilla, extract, create a shortcut and you are good to go.
or
3) See Switching from Debian Iceweasel to Firefox, permanently - http://techpatterns.com/forums/about1435.html
or
4) Use the Mepis repo and grab Firefox from there.
Brian49

Re: how to update the repository's firefox package?

Post by Brian49 »

Iceweasel 8 final is now in the Unstable repository.
TomRoche

[SOLVED] how to update the repository's firefox package?

Post by TomRoche »

Thanks gavinhc and zerozero:

Code: Select all

$ sudo cp /etc/apt/sources.list /etc/apt/sources.list_20111112_1312
$ sudo chmod 444 /etc/apt/sources.list_20111112_1312
$ sudo emacs -nw -q /etc/apt/sources.list
$ diff -uw /etc/apt/sources.list_20111112_1312 /etc/apt/sources.list
...
+# to get iceweasel==debian firefox more up-to-date than LMDE's: see 
+# http://forum.linuxmint.com/viewtopic.php?f=190&t=84123
+deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
$ sudo aptitude update ; sudo aptitude -s full-upgrade
...
> The following NEW packages will be installed:
libmozjs8d{a}
xulrunner-8.0{a} 
> The following packages will be REMOVED:
libmozjs5d{u}
xulrunner-5.0{u} 
> The following packages will be upgraded:
foomatic-db-engine{b}
iceweasel
libsqlite3-0 
...
> Abort.
(Note to self: gotta post regarding foomatic-db-engine)

Code: Select all

$ sudo aptitude install libmozjs8d xulrunner-8.0 iceweasel libsqlite3-0
> The following NEW packages will be installed:
libmozjs8d
xulrunner-8.0 
> The following packages will be REMOVED:
libmozjs5d{u}
xulrunner-5.0{u} 
> The following packages will be upgraded:
iceweasel
libsqlite3-0 
> 2 packages upgraded, 2 newly installed, 2 to remove and 1 not upgraded.
...
$ apt-cache policy iceweasel
> iceweasel:
>   Installed: 8.0-3~bpo60+1
>   Candidate: 8.0-3~bpo60+1
>   Version table:
>  *** 8.0-3~bpo60+1 0
>         500 http://mozilla.debian.net/ squeeze-backports/iceweasel-release amd64 Packages
>         100 /var/lib/dpkg/status
>      5.0-6 0
>         500 http://debian.linuxmint.com/latest/ testing/main amd64 Packages
iceweasel-8 is much more performant than firefox-5.
Locked

Return to “LMDE Archive”