centos szrz

来源:互联网 发布:c 利用java公钥加密 编辑:程序博客网 时间:2024/04/30 20:50

[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...
The other application is: yum-updatesd-he
  Memory :  17 M RSS ( 29 MB VSZ)
  Started: Wed May 25 20:58:54 2011 - 2:10:35 ago
  State  : Sleeping, pid: 15069
终止后重新运行问题依然

【解决方案】:
在命令行输入:
#rm -f /var/run/yum.pid /sbin/service
#yum-updatesd restart
重新执行,问题解决:)