rpm -qa卡住不动
时间: 2023-08-12 19:04:58 浏览: 178
RPM-GPG-KEY-mysql
当执行rpm -qa命令时卡住不动的原因可能是rpm包数据库损坏。这种情况下,可以尝试执行以下命令来修复数据库:
rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb
这将删除损坏的数据库文件并重新构建数据库。执行完毕后,再次尝试执行rpm -qa命令,应该可以正常运行了。\[2\]
#### 引用[.reference_title]
- *1* [rpm -qa 和 rpm -qa | grep 什么区别?谢谢!的相关推荐_ChinaUnix论坛](https://blog.csdn.net/weixin_39771260/article/details/116283301)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [yum卡住/rpm -qa卡住的解决方法](https://blog.csdn.net/jiedushi/article/details/7496940)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [【Linux】Linux之RPM包管理——rpm命令管理](https://blog.csdn.net/qq_36926037/article/details/107782206)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文