I want to prevent installation of lower version of the package over higher version using dpkg.
Asked
Active
Viewed 1,350 times
5
jokerdino
- 41,732
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