GNU/Linux >> Linux Esercitazione >  >> Cent OS

Come cambiare i flussi di moduli in CentOS/RHEL 8

Domanda :Durante il passaggio ad AppStream vengono visualizzati gli errori seguenti:

# dnf install @<module-name>:<stream>
Last metadata expiration check: 2:21:43 ago on Thu 05 Aug 2021 05:53:23 PM IST.
Dependencies resolved.
The operation would result in switching of module '<module-name>' stream '<stream>' to stream '<stream>'
Error: It is not possible to switch enabled streams of a module.
It is recommended to 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.

In alto esiste già un altro flusso dello stesso modulo. Come cambiare lo stream del modulo?

1. Reimposta il modulo utilizzando il comando seguente:

# dnf module reset <module-name>

2. Installare i profili di un flusso diverso del modulo come segue:

# dnf install @<module-name>:<stream>

3. Aggiorna o esegui il downgrade di tutti i pacchetti installati dal flusso di moduli precedente che non erano elencati nei profili installati nel passaggio precedente utilizzando il comando seguente:

# dnf distro-sync

4. Rimuovere manualmente tutti i pacchetti rimanenti che sono stati installati dal flusso di moduli precedente.

# dnf remove <package> ...
Nota :assicurati che il canale OL8 AppStream Latest sia abilitato. Il è il nome del modulo e è il flusso desiderato. Ad esempio:@php:7.4


Cent OS
  1. Come installare phpMyAdmin su RHEL 8 / CentOS 8

  2. Come convertire CentOS 8 in CentOS Stream

  3. CentOS / RHEL 7:come passare a iptables da firewalld

  4. Come disabilitare firewalld e passare a iptables in CentOS / RHEL 7

  5. Come cambiare l'algoritmo della password su CentOS/RHEL

Come installare mongodb su RHEL 8 / CentOS 8

Come installare Maven su RHEL 8 / CentOS 8

Come installare cpan su RHEL 8 / CentOS 8

Come installare Ruby su RHEL 8 / CentOS 8

Come installare Docker CE su RHEL 8 / CentOS 8

Come installare Samba su RHEL e CentOS Stream