I do a lot of installing of Red Hat in a test environment without a RH subscription. I keep getting this error message:
# yum repo list
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
No such command: repo. Please use /usr/bin/yum --help
Today, after a yum update (I am at 7.6) and rebooting, I cannot run any yum commands without hanging. If I add the --noplugins
option to the yum command, the yum command works. I need a more general solution short of removing subscription-manager via rpm command.
Pretty simple.
Edit vim /etc/yum/pluginconf.d/subscription-manager.conf
Change enabled=1
to enabled=0