[root@namenode logs]# vi /etc/resolv.conf
# Generated by NetworkManager
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.co
nameserver 192.168.0.2
[root@namenode logs]# yum install lrzsz -y
[root@localhost ~]# yum install gnuradio usrp
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 15069.
Another app is currently holding the yum lock; waiting for it to exit...
终止后重新运行问题依然
【解决方案】:
在命令行输入:
#rm -f /var/run/yum.pid /sbin/service
#yum-updatesd restart
重新执行,问题解决:)