RHEL обновление лицензии

Материал из Bas Wiki
Перейти к навигации Перейти к поиску

Если возникают какие-то проблемы с обновлением системы или пакетов, наподобие следующей:

# dnf check-update
Updating Subscription Management repositories.

This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.

*** WARNING ***
The subscription for following product(s) has expired:
...
You no longer have access to the repositories that provide these products.  It is important that you apply an active subscription in order to resume access to security and other critical updates. If you don't have other active subscriptions, you can renew the expired subscription.

Необходимо выполнить следующие команды:

# subscription-manager remove --all
# subscription-manager clean
# subscription-manager register
# subscription-manager attach --auto

https://access.redhat.com/solutions/4078831