mars29200
July 8th, 2011, 07:45 AM
Hi All,
For compatibility reasons, a developer do not always need the newest software version that just poped up on the market.
In my case, right now, the WebDriver Test our Selenium Test framework doesn't work on Firefox5 that i automatically got thanks the Ubuntu Update manager.
I had to search few hours on Internet and finally ask a more experimented college which told me about this solution:
first of all, uninstall firefox5:
sudo aptitude purge firefoxthen, you can list the available software versions : sudo apt-cache policy <software_name>
msauvette@msauvette:~$ sudo apt-cache policy firefox
firefox:
Installed: (none)
Candidate: 4.0+nobinonly-0ubuntu3
Package pin: 4.0+nobinonly-0ubuntu3
Version table:
5.0+build1+nobinonly-0ubuntu0.11.04.2 1000
500 http://de.archive.ubuntu.com/ubuntu/ natty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ natty-security/main amd64 Packages
4.0+nobinonly-0ubuntu3 1000
500 http://de.archive.ubuntu.com/ubuntu/ natty/main amd64 Packageschose the one you need, then, in /etc/apt/ create file "preferences"
Package: firefox
Pin: version 4.0+nobinonly-0ubuntu3
Pin-Priority: 1000
Package: firefox-globalmenu
Pin: version 4.0+nobinonly-0ubuntu3
Pin-Priority: 1000save file and call :
sudo aptitude update
sudo aptitude install firefoxthen start firefox and check the software version.
For compatibility reasons, a developer do not always need the newest software version that just poped up on the market.
In my case, right now, the WebDriver Test our Selenium Test framework doesn't work on Firefox5 that i automatically got thanks the Ubuntu Update manager.
I had to search few hours on Internet and finally ask a more experimented college which told me about this solution:
first of all, uninstall firefox5:
sudo aptitude purge firefoxthen, you can list the available software versions : sudo apt-cache policy <software_name>
msauvette@msauvette:~$ sudo apt-cache policy firefox
firefox:
Installed: (none)
Candidate: 4.0+nobinonly-0ubuntu3
Package pin: 4.0+nobinonly-0ubuntu3
Version table:
5.0+build1+nobinonly-0ubuntu0.11.04.2 1000
500 http://de.archive.ubuntu.com/ubuntu/ natty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ natty-security/main amd64 Packages
4.0+nobinonly-0ubuntu3 1000
500 http://de.archive.ubuntu.com/ubuntu/ natty/main amd64 Packageschose the one you need, then, in /etc/apt/ create file "preferences"
Package: firefox
Pin: version 4.0+nobinonly-0ubuntu3
Pin-Priority: 1000
Package: firefox-globalmenu
Pin: version 4.0+nobinonly-0ubuntu3
Pin-Priority: 1000save file and call :
sudo aptitude update
sudo aptitude install firefoxthen start firefox and check the software version.