[root@hadoopwork3 SPECS]# yum install ruby
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
这是什么原因?
/var/run/ yum.pid我打开看了,只是一个数,其他的
可能是系统自动升级正在运行,所以 yum被锁定了。
可以通过执行rm -rf /var/run/ yum.pid 来强行解除锁定,然后你的 yum就可以运行了。
这是什么原因?
/var/run/ yum.pid我打开看了,只是一个数,其他的
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
这是什么原因?
/var/run/ yum.pid我打开看了,只是一个数,其他的
可能是系统自动升级正在运行,所以 yum被锁定了。
可以通过执行rm -rf /var/run/ yum.pid 来强行解除锁定,然后你的 yum就可以运行了。
这是什么原因?
/var/run/ yum.pid我打开看了,只是一个数,其他的
Cannot retrieve metalink for repository: fedora. Please verify its path and try again 解决方法
执行如下命令:
su -c “sed -i ‘s|^#baseurl|baseurl| ; s|^mirrorlist|#mirrorlist|’ /etc/yum.repos.d/*”