Questions tagged «yum»

Yellowdog Updater Modified(yum)是一个基于rpm的交互式程序包管理器。

1
重建的kmod软件包不通过`YUM`更新,而是通过`rpm`更新
我用以下版本构建了一个软件包: kmod-dahdi-linux 10:2.9.1.1-75_shmz65.1.11.2.6.32_431.el6.i686 这应该是系统上已安装的升级: kmod-dahdi-linux 0:2.9.0.1-72_centos6.2.6.32_431.el6.i686 当我做一个yum localupdate我得到以下: Resolving Dependencies --> Running transaction check ---> Package kmod-dahdi-linux.i686 0:2.9.0.1-72_centos6.2.6.32_431.el6.i686 will be updated ---> Package kmod-dahdi-linux.i686 10:2.9.1.1-75_shmz65.1.11.2.6.32_431.el6.i686 will be an update --> Finished Dependency Resolution 但是当它遇到事务检查时,我遇到文件冲突,就像它没有更新软件包,而是并排安装,如下所示: file /lib/modules/2.6.32-431.el6.i686/dahdi/dahdi.ko from install of kmod-dahdi-linux-10:2.9.1.1-75_shmz65.1.11.2.6.32_431.el6.i686.i686 conflicts with file from package kmod-dahdi-linux-2.9.0.1-72_centos6.2.6.32_431.el6.i686.i686 我尝试过时的版本已过时,我尝试过升级时代(如您所见,现在的时代已经是10) 当我做: rpm -Uvh …
2 linux  yum  rpm  rpmbuild 

2
如何找到yum安装的软件包?
我使用yum list php-imap列出php-imap: # yum list php-imap Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.zju.edu.cn * epel: ftp.cuhk.edu.hk * extras: mirrors.zju.edu.cn * updates: mirrors.zju.edu.cn * webtatic: sp.repo.webtatic.com Installed Packages php-imap.x86_64 5.4.16-7.el7 @epel 但是如何找到它的位置?我知道我可以用它find / -name php-imap来搜索,但是它很长一段时间,甚至命令都没有反应性。 在我的CentOS 7中,该/var/tmp/目录为空。并列出/var/cache/yum/x86_64/7/以下内容: base epel extras mysql56-community mysql-connectors-community mysql-tools-community timedhosts timedhosts.txt …
1 yum 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.