Error: while running yum repolist database error is coming
#yum repolist
rhel6_vmware-25072016 10/10
rscd-agent-rhel-x86_64-server-6 | 871 B 00:00
rscd-agent-rhel-x86_64-server-6/primary | 1.1 kB 00:00
rscd-agent-rhel-x86_64-server-6 2/2
Error: database is locked
Solution: run yum clean all to clean the cache and run yum repolist again
[u@h w] $ yum clean all
Loaded plugins: product-id, rhnplugin, security, subscription-manager
Cleaning repos: output truncated
Cleaning up Everything
#yum repolist
#yum repolist
rhel6_vmware-25072016 10/10
rscd-agent-rhel-x86_64-server-6 | 871 B 00:00
rscd-agent-rhel-x86_64-server-6/primary | 1.1 kB 00:00
rscd-agent-rhel-x86_64-server-6 2/2
Error: database is locked
Solution: run yum clean all to clean the cache and run yum repolist again
[u@h w] $ yum clean all
Loaded plugins: product-id, rhnplugin, security, subscription-manager
Cleaning repos: output truncated
Cleaning up Everything
#yum repolist
No comments:
Post a Comment