I want to prevent installation of lower version of the package over higher version using dpkg.
Asked
Active
Viewed 1,163 times
5
jokerdino
- 41,000
- 24
- 132
- 201
hemanta pathak
- 51
- 2
1 Answers
7
dpkg has option --refuse-downgrade which will do just that.
(The apt tools have a different, more complex mechanism for managing version preferences, which resides in /etc/apt/preferences and /etc/apt/preferences.d.)
taneli
- 2,629
- 21
- 33