This morning a regular software update brought in an update to Firefox that broke some important functionality in an app I run on top of it (with firefox -app
). I checked my upgrade history and found that the previous version of Firefox was 52.0.2+build1-0ubuntu0.16.04.1
, installed on April 1. So I tried:
~$ sudo aptitude install firefox=52.0.2+build1-0ubuntu0.16.04.1
Unable to find a version "52.0.2+build1-0ubuntu0.16.04.1" for the package "firefox"
And then just:
~$ sudo aptitude install firefox=52.0.2
Unable to find a version "52.0.2" for the package "firefox"
Is a package version less than a month old really out of reach, or is there some way to get it?
If you run:
You will get:
You can also use something like:
To get available version for install.
The idea is that in
release-updates
only the last version of a software is available for installation.You can either install a software from
release
which is the start point and frozen (in our case is 45.0.2), or fromrelease-updates
/security
which last version (53.0) is there.If you want to install Firefox 52, you can download it from here, or have access to all versions from here.
You can also check the cache:
If you didn't used something like
apt autoclean
orapt clean
there should be at least previous version of firefoxdeb
package:Then first unistall the current version of firefox and after that use
dpkg
orgdebi
to install the downloadeddeb
file:or
Remember that you can always use
apt-mark hold
to prevent a package from updating:You can run the following to see the available versions of firefox:
Then install an older version by running
For example, when I run the first command, I get the following output:
... and a bunch of other stuff about dependencies.
So I can downgrade firefox using: