Open mkondratev opened 1 month ago
if using shell module and changed the php version the task Enable crb and DNF module for CentOS 8+ crashes with an error:
dnf module enable -y php:remi-8.0
Last metadata expiration check: 1:36:47 ago on Tue 08 Oct 2024 01:56:42 PM MSK.
Dependencies resolved.
The operation would result in switching of module 'php' stream 'remi-7.4' to stream 'remi-8.0'
Error: It is not possible to switch enabled streams of a module unless explicitly enabled via configuration option module_stream_switch.
It is recommended to rather remove all installed content from the module, and reset the module using 'dnf module reset <module_name>' command. After you reset the module, you can install the other stream.
for example:
-- php_version: "7.4"
++ php_version: "8.0"
Setting up a repository of the crb and dnf module without using the shell.