Chinaunix首页 | 论坛 | 博客
  • 博客访问: 538895
  • 博文数量: 102
  • 博客积分: 950
  • 博客等级: 准尉
  • 技术积分: 1094
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-28 16:07
文章分类

全部博文(102)

文章存档

2020年(2)

2016年(5)

2015年(15)

2014年(25)

2013年(18)

2012年(19)

2011年(18)

我的朋友

分类: LINUX

2014-05-12 14:56:42

常用命令:

yum -y install puppet

yum search puppet

yum erase puppet

yum update

yum makecache


安装问题:

1.

# yum install  puppet
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package puppet.noarch 0:2.7.9-1.el6.rf will be installed

--> Finished Dependency Resolution

--> Processing Dependency: pciutils-libs = 3.1.4-11.el6 for package: pciutils-3.1.4-11.el6.x86_64
--> Running transaction check
---> Package pciutils-libs.i686 0:3.1.4-11.el6 will be installed
--> Finished Dependency Resolution


Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:
      
         1. You have an upgrade for pciutils-libs which is missing some
            dependency that another package requires. Yum is trying to


            solve this by installing an older version of pciutils-libs of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude pciutils-libs.otherarch ... this should give you an error
            message showing the root cause of the problem.
      
         2. You have multiple architectures of pciutils-libs installed, but
            yum can only see an upgrade for one of those arcitectures.


            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.

解决方法:

yum update +包pciutils-libs
yum erase +包
yum install + 包


使用代理的方法:
gedit /etc/yum.conf

请加入以下内容

proxy=:XXXX 前面为代理的地址,后面为端口 
这里请再注意,如果你是用PP等代理服务器软件的话,请再璔加以下的内容 proxy=FTP://XXX.XXX.XXX.XXX:XXXX   一般的代理服务器的地址都是一样的,只是http跟ftp的代理端口不同
 
如果你的代理有用户名跟密码,请再增加以下的内容 proxy_username=你的用户名 proxy_password=你的用户名的密码

阅读(1024) | 评论(0) | 转发(0) |
0

上一篇:hadoop调试

下一篇:python技巧知识点

给主人留下些什么吧!~~