I have to install Adobe Flash Player, each time Firefox is updated. I am tired of this .... hectic work. Please tell me how to prevent Firefox from being updated by Update-Manager.
-
1Try using Synaptic Package Manager to lock a package's version. Follow this guide – oaskamay Mar 03 '13 at 00:52
-
Won't that only prevent updating via Synaptic? OP wants to stop updating even by Update Manager. – Mar 03 '13 at 00:57
-
possible dup: http://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package – Mar 03 '13 at 00:59
-
BTW, why do you have to install "Adobe Flash Player" each time Firefox updates? I get the feeling there are more updates to AFP than to Firefox in a given period. And how is it hectic work? Tell us more about your system. – Mar 03 '13 at 04:09
-
Actually ... when I run update-manager, firefox get updated if there is any update for it. Then I start my firefox and find "you need to install Adobe Flash Player". – Kuldeep Mar 06 '13 at 10:57
1 Answers
Open a terminal (Ctrl+Alt+T) and enter this command:
echo "firefox hold" | sudo dpkg --set-selections
This command locks your package and prevents it to be updated.
Undo
If for any reason you change your mind and want to update it, simply replace hold with install:
echo "firefox install" | sudo dpkg --set-selections
Check status
To check the status of a package if it will be updated, enter:
dpkg --get-selections | grep firefox
Note it’s better to lock other packages related to firefox as well, such as firefox-globalmenu, firefox-gnome-support. You can see all of them by checking the status, then enter the lock command for each separately:
echo "firefox-globalmenu hold" | sudo dpkg --set-selections
echo "firefox-gnome-support hold" | sudo dpkg --set-selections
echo "firefox-locale-en hold" | sudo dpkg --set-selections
– these are just examples, on your computer you may have different locale packages.

- 5,874