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 …