Featured post

Quiz: Data PreProcessing

Sunday, 18 September 2016

RedHat 6.7: Yum Repolist: Error: database is locked

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

No comments:

Post a Comment