yum 安装时报错 由于yum的时候意外退出造成的,虽然也给出提示当前占用进行的id,但是执行kill -9  强制杀死进程后,情况没能改变. 解决方法:rm -f /var/run/yum.pid然后重新执行yum就可以了…
在使用redhat linux的yum来安装或者更新软件的时候会有如下提示: [root@node1 home]# yum install package_name Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to regist…
系统中缺少一个lib库 libz.so.1文件,使用yum安装会自动找到相关的rpm包,如下命令 # yum -y install libz.so.1 Resolving Dependencies--> Running transaction check---> Package zlib.i686 0:1.2.3-29.el6 will be installed--> Finished Dependency ResolutionError: Protected multilib vers…
背景:我使用yum方式安装软件时,比如zabbix这种软件,我们在安装时一般都是直接到zabbix官网,按照官方的步骤进行安装,但是有一个问题,官方的服务器不在国内,时常会在安装时导致超时报错.此时解决思路就因该是将官方源替换成国内的镜像源,例如阿里云.163的镜像源.要点就是网络问题!网络问题!网络问题! 注意安装zabbix时也要选择阿里云的镜像repo,地址如下: rpm -Uvh https://mirrors.aliyun.com/zabbix/zabbix/4.4/rhel/7/x8…
yum 安装报错 "Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 153 M RSS (266 MB VSZ) Started: Thu Jul 12 00:03:05 2012 - 06:17 ago State : Sleeping, pid: 4018Another app is currently…
yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-fileinfo-1.0.4-2.el6.rf.x86 64 and php-common-5.3.3-46.el6 6.x86 64   遇到这个情况的时候  是库冲突了 需要修改文件        vim /etc/yum.repos.d/rpmforge.repo 将里面的enable=1  …
安装时报错:Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (site) on project hadoop-hdfs: An Ant BuildException has occured: input file /usr/local/hadoop-2.6.0-stable/hadoop-2.6.0-src/hadoop-hdfs-project/hadoop-hdfs/target/find…
BT_20.120.2_64_Win7.exe 安装时报错. 把系统补丁打全,就可以安装 了.…
redhat默认自带的yum源需要注册,才能更新,报错:This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.可替换为centos对应的源. 操作如下:1.检查是否安装yum包.查看RHEL是否安装了yum,若是安装了,那么又有哪些yum包:    rpm -qa |grep yum2 删除redhat自带的yum包    rpm…
1.yum源repodata配置文件repomd.xml无法找到: Couldn't open file /mnt/cdrom/repodata/repomd.xml 先找到repomd.xml的路径 find / -type f -name "repomd.xml" 我们看到路径是:/mnt 而报错的路径是:/mnt/cdrom 查看挂载点有mnt,故,我们需要找到这个路径,将 /mnt/cdrom修改为/mnt 去配置repodata/repomd.xml路径 cd /etc/yu…