分享

python-keystone-auth-token 安装不上求解释

sjp 发表于 2015-4-7 11:35:48 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 7 35360
我安装swift的时候总是不行 后来我排查发现官网上给的教程里面有一个包找不到   如果这个包不安装我怎么才能安装swift那




[root@controller swift]# yum install openstack-swift-proxy memcached python-swiftclient python-keystone-auth-token
Loaded plugins: fastestmirror, priorities
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* epel: mirrors.yun-idc.com
* extras: mirrors.btte.net
* updates: mirrors.aliyun.com
170 packages excluded due to repository priority protections
Package openstack-swift-proxy-1.13.1-1.el6.noarch already installed and latest version
Package memcached-1.4.4-3.el6.x86_64 already installed and latest version
Package python-swiftclient-2.1.0-1.el6.noarch already installed and latest version
No package python-keystone-auth-token available.
Nothing to do
[root@controller swift]#

已有(7)人评论

跳转到指定楼层
xuanxufeng 发表于 2015-4-7 13:16:52
首先更新yum仓库:
  1. #yum -y update
复制代码


如果还不行

执行下面命令查找下:
  1. yum search  python-keystone-auth-token
复制代码




回复

使用道具 举报

sjp 发表于 2015-4-7 13:29:01
xuanxufeng 发表于 2015-4-7 13:16
首先更新yum仓库:

更新完之后还是不行,找不到这个包  是不是包改名了  我去openstack源里面也没找到这个包

Warning: No matches found for: python-keystone-auth-token
No Matches found

回复

使用道具 举报

xuanxufeng 发表于 2015-4-7 13:57:24
sjp 发表于 2015-4-7 13:29
更新完之后还是不行,找不到这个包  是不是包改名了  我去openstack源里面也没找到这个包

Warning: No ...
  1. yum search  python-keystone-auth-token
复制代码



上面命令是否运行,例如下面:
# yum search vim
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.hosting90.cz
* extras: mirror.hosting90.cz
* updates: mirror.hosting90.cz
===================== Matched: vim ===================
vim-X11.x86_64 : The VIM version of the vi editor for the X Window System.
vim-common.x86_64 : The common files needed by any version of the VIM editor.
vim-enhanced.x86_64 : A version of the VIM editor which includes recent
: enhancements.
vim-minimal.x86_64 : A minimal version of the VIM editor.

通过查看,我们可以看到,yum列出了详细的vim相关的包名,这样就可以顺利的安装vim了:
#yum -y install vim-enhanced.x86_64
以上命令就能执行成功了不仅仅vim安装,其他程序也同样只要先进行yum查找,再通过匹配详细包名来进行安装

回复

使用道具 举报

sjp 发表于 2015-4-7 14:17:03
xuanxufeng 发表于 2015-4-7 13:57
上面命令是否运行,例如下面:
# yum search vim
Loaded plugins: fastestmirror

我明白你的意思 但是我查找返回来的结果是空[root@controller swift-1.13.1]# yum search python-keystone-auth-token
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* epel: mirrors.yun-idc.com
* extras: mirrors.btte.net
* updates: mirrors.aliyun.com
170 packages excluded due to repository priority protections
Warning: No matches found for: python-keystone-auth-token
No Matches found
[root@controller swift-1.13.1]#

回复

使用道具 举报

bioger_hit 发表于 2015-4-7 16:58:04
sjp 发表于 2015-4-7 14:17
我明白你的意思 但是我查找返回来的结果是空[root@controller swift-1.13.1]# yum search python-keyston ...

是按照官网文档,还是哪的文档,最好按照官网。
还有确定下自己的Linux版本等。
回复

使用道具 举报

sjp 发表于 2015-4-7 17:10:34
bioger_hit 发表于 2015-4-7 16:58
是按照官网文档,还是哪的文档,最好按照官网。
还有确定下自己的Linux版本等。

安装官方文档,  centos6.5 升级之后现在6.6     
回复

使用道具 举报

bioger_hit 发表于 2015-4-7 23:57:21
sjp 发表于 2015-4-7 17:10
安装官方文档,  centos6.5 升级之后现在6.6

那应该有这个包,官网应该不会出现这种问题。没有的话,自己看看能不能加上。或则比较粗暴的方式,换个Linux镜像。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条