YUM是基于RPM的软件包管理器

YUM is an RPM-based package manager

补充说明

Supplementary note

yum命令 是在Fedora和RedHat以及SUSE中基于rpm的软件包管理器,它可以使系统管理人员交互和自动化地更新与管理RPM软件包,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软体包,无须繁琐地一次次下载、安装。yum提供了查找、安装、删除某一个、一组甚至全部软件包的命令,而且命令简洁而又好记。

The yum command is a rpm-based package manager in Fedora, RedHat and SUSE. It enables system administrators to interactively and automatically update and manage RPM packages. It can automatically download and install RPM packages from a specified server, and can be processed automatically Dependency relationship, and install all dependent software packages at one time, no need to download and install tediously again and again. Yum provides commands to find, install, delete a certain, a group or even all packages, and the commands are concise and easy to remember.

问题:

在使用yum安装时,卡死并且无法Ctrl+c终止,需要将其杀死才能停止。

如下图:

When using yum to install, it is stuck and cannot be terminated by Ctrl+c. You need to kill it to stop.

As shown below:

解决方案一:

Solution 1:

删除rpm数据文件后再重建rpm数据文件:

Rebuild the rpm data file after deleting the rpm data file:

删除rpm数据文件

Delete rpm data file

rm -f /var/lib/rpm/__db.00*

重建rpm数据文件

Rebuild rpm data file

rpm -vv --rebuilddb

清空缓存后再重新缓存

Re-cache after clearing the cache

yum clean all
yum makecache

执行完一般情况就可以正常使用了,若依旧无法使用请参考以下方式二

After executing the general situation, it can be used normally, if it still cannot be used, please refer to the following method two

解决方案二:

Solution two:

将这俩个文件删除后在进行测试

Test after deleting these two files

最新文章

  1. [转]MongoDB密码设置(基于windows)
  2. Java中的 WeakReference 和 SoftReference
  3. QGraphicsEffect介绍(十分漂亮)
  4. Windows 驱动开发 - 5
  5. Java Se 基础系列(笔记) -- OO
  6. Git 详细命令集
  7. strstr()与find()
  8. wpf 无缝滚动
  9. 【原创】Linux基础之linux常用命令之文本替换
  10. [leetcode]58. Length of Last Word最后一个词的长度
  11. Instruments leak黑魔法定位内存泄漏
  12. JVM各垃圾收集器对比
  13. 设置IE浏览器指定的功能
  14. LeetCode-Maximal Rectangle [学以致用] ZZ
  15. python基础训练营02
  16. 【BZOJ2002】【HNOI2010】弹飞绵羊 [分块]
  17. hdu 5111 树上求交
  18. [暑假集训--数论]poj3518 Prime Gap
  19. JNA 相关问题
  20. 数组dome

热门文章

  1. nuxt中asyncData和fetch的区别
  2. SpringCloud设置随机端口后的问题
  3. wampserver APACHE配置文件 和 单独安装APACHE 的配置文件 的区别
  4. vue npm安装指令汇总
  5. Selenium 自动化中实现双击操作
  6. LeetCode 之 108. 将有序数组转换为二叉搜索树
  7. RabbitMQ身份验证、授权、访问控制
  8. 算法学习01—Java底层的正整数与负整数
  9. Go_day02
  10. nvm的下载安装