Skip to content

Commit

Permalink
Remove obsolete recommendation related to switching module streams
Browse files Browse the repository at this point in the history
The approach was obsoleted after implementing module switch-to command.

The recommendation may be harmful, since modules may also contain
packages from base and theirs removal could result in a malfunctioning
system.
  • Loading branch information
pkratoch authored and kontura committed Apr 12, 2024
1 parent 5d8d25c commit 248ce0f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dnf-behave-tests/dnf/module/enable-errors.feature
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Scenario: Fail to enable a different stream of an already enabled module
Failed to resolve the transaction:
The operation would result in switching of module 'nodejs' stream '8' to stream '10'
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.
"""


Expand All @@ -48,7 +47,6 @@ Scenario: Fail to install a different stream of an already enabled module
"""
The operation would result in switching of module 'nodejs' stream '8' to stream '10'
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.
"""


Expand All @@ -72,7 +70,6 @@ Scenario: Fail to install a different stream of an already enabled module using
"""
The operation would result in switching of module 'nodejs' stream '8' to stream '10'
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.
"""

@dnf5
Expand Down

0 comments on commit 248ce0f

Please sign in to comment.