Solved Downgrading a package

Last upgrade of water fox broke it now I'm trying to revert to the previous version, but I seem to be stocked :

man of pkg add doesn't help.
The handbook doesn't speak about downgrading packages.
Searching for a solution online didn't find any

The problematic package is the following:
Code:
waterfox 
Version        : 6.6.1,1
I want to install this one:
Code:
ls /var/cache/pkg | grep waterfox 
waterfox-6.6.0.b.5,1.pkg 
waterfox-6.6.0.b.5,1~a5464ca3a5.pkg
waterfox-6.6.0.b.6,1.pkg
waterfox-6.6.0.b.6,1~e7d22c385f.pkg 
waterfox-6.6.1,1.pkg 
waterfox-6.6.1,1~dba32d9f7c.pkg
how do I proceed?
 
So what could have taken me the all day searching the web or days for getting proper support took me 2 seconds using Gemini.

pkg remove the installed waterfox
pkg install /var/cache/pkg/oldwaterfoxversion.pkg
pkg lock oldpackage

pkg info waterfox
waterfox-6.6.0.b.6,1
 
That said, I can also confirm that there is a problem with the last version of water fox. It is using too much CPU, doesn't load any pages and is not responsive. No problem with any other browser and since downgrading water fox, it works as it used to.
 
pkg remove the installed waterfox
pkg install /var/cache/pkg/oldwaterfoxversion.pkg
pkg add -f /var/cache/pkg/oldwaterfoxversion.pkg

No need to uninstall the other one, which might also remove other packages that depend on it. Although in this case there's probably nothing depending on it.

Code:
     -f, --force
                Force the reinstallation of the package if already installed.
pkg-add(8)
 
pkg add -f /var/cache/pkg/oldwaterfoxversion.pkg

No need to uninstall the other one, which might also remove other packages that depend on it. Although in this case there's probably nothing depending on it.

Code:
     -f, --force
                Force the reinstallation of the package if already installed.
pkg-add(8)
Yes, it as reinstalled one dependency, which I don't remember what it is. or maybe not a dependency, but a package was reinstalled.
 
Back
Top