Why, when trying to install a new package via pkg, the installer wants to remove or reinstall all important software.
For example, there was a system version 10, the necessary software was installed on it, and it was always successfully updated to the latest versions of Freebsd 13.
For example I need to install openvpn
It demands to delete zabbix и mysq
I understand that there is a library version conflict, but:
1. The question is the norm in the FreeBSD world and everyone lives like this.
What then should be done if it is necessary to save the old zabbix and the old mysql, and installing new programs would become possible?
There were thoughts of using pkg lock , but what about libraries like liblz4
what can help in this situation?
Or is it normal to remove the old and install a new one every three to four years?
2. Did I do something wrong at some stage, and if so, at what stage, is there some kind of “hygiene” to prevent this? Are there any best practices?
For example, there was a system version 10, the necessary software was installed on it, and it was always successfully updated to the latest versions of Freebsd 13.
For example I need to install openvpn
# pkg install openvpn
It demands to delete zabbix и mysq
Code:
Installed packages to be REMOVED:
cmake: 3.13.4
libarchive: 3.3.3,1
mysql80-client: 8.0.14
mysql80-server: 8.0.14
zabbix44-server: 4.4.7
New packages to be INSTALLED:
easy-rsa: 3.1.5
openvpn: 2.6.5
pkcs11-helper: 1.29.0
Installed packages to be UPGRADED:
liblz4: 1.8.3,1 -> 1.9.4,1
Installed packages to be REINSTALLED:
lzo2-2.10_1
I understand that there is a library version conflict, but:
1. The question is the norm in the FreeBSD world and everyone lives like this.
What then should be done if it is necessary to save the old zabbix and the old mysql, and installing new programs would become possible?
There were thoughts of using pkg lock , but what about libraries like liblz4
what can help in this situation?
Or is it normal to remove the old and install a new one every three to four years?
2. Did I do something wrong at some stage, and if so, at what stage, is there some kind of “hygiene” to prevent this? Are there any best practices?