No sudo Permissions
Symptoms
The following log information is displayed.
"stderr": "error: cannot open Packages index using db5 - Permission denied (13)\nerror: cannot open Packages database in /var/lib/rpm\nCRITICAL:yum.main:\ Error: rpmdb open failed"
Cause Analysis
The user does not have the sudo permission and cannot use yum to download related dependencies.
Solution
Grant higher permissions to the user by adding 'user ALL=(ALL) ALL' to the /etc/sudoers file. user indicates the user to grant higher permissions to.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot