免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4555 | 回复: 4
打印 上一主题 下一主题

[系统安装] Centos Yum 插件 的一点点疑问 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-01-15 17:27 |只看该作者 |倒序浏览
本帖最后由 renfeide112 于 2014-01-15 17:27 编辑

今天在用yum装python的包的时候,提示要更新openssl的包,于是装了yum-plugin-replace-0.2.6-1.ius.el6.noarch 这个包 但是问题来了,不管怎么搞,yum replace 命令就是用不了。可以确定yum-plugin-replace-0.2.6-1.ius.el6.noarch这个包已经装上了。
错误提示是
yum replace
No such command: replace. Please use /usr/bin/yum --help
请遇到过这个问题的朋友 帮帮忙看下哈
谢谢了

论坛徽章:
9
2015亚冠之阿尔纳斯尔
日期:2015-09-10 16:21:162015亚冠之塔什干火车头
日期:2015-07-01 16:23:022015年亚洲杯之巴勒斯坦
日期:2015-04-20 17:19:46子鼠
日期:2014-11-13 09:51:26未羊
日期:2014-08-28 18:13:36技术图书徽章
日期:2014-02-21 09:30:15酉鸡
日期:2014-01-14 11:12:49天蝎座
日期:2013-12-09 17:56:53平安夜徽章
日期:2015-12-26 00:06:30
2 [报告]
发表于 2014-01-15 17:38 |只看该作者
  1. [root@test ~]# yum --help
  2. Loaded plugins: rhnplugin
  3. Usage: yum [options] COMMAND

  4. List of Commands:

  5. check          Check for problems in the rpmdb
  6. check-update   Check for available package updates
  7. clean          Remove cached data
  8. deplist        List a package's dependencies
  9. distribution-synchronization Synchronize installed packages to the latest availa                                                                                                                                                             ble versions
  10. downgrade      downgrade a package
  11. erase          Remove a package or packages from your system
  12. groupinfo      Display details about a package group
  13. groupinstall   Install the packages in a group on your system
  14. grouplist      List available package groups
  15. groupremove    Remove the packages in a group from your system
  16. help           Display a helpful usage message
  17. history        Display, or use, the transaction history
  18. info           Display details about a package or group of packages
  19. install        Install a package or packages on your system
  20. list           List a package or groups of packages
  21. localinstall   Install a local RPM
  22. makecache      Generate the metadata cache
  23. provides       Find what package provides the given value
  24. reinstall      reinstall a package
  25. repolist       Display the configured software repositories
  26. resolvedep     Determine which package provides the given dependency
  27. search         Search package details for the given string
  28. shell          Run an interactive yum shell
  29. update         Update a package or packages on your system
  30. upgrade        Update packages taking obsoletes into account
  31. version        Display a version for the machine and/or available repos.


  32. Options:
复制代码
LZ在哪看得到replace命令???

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
3 [报告]
发表于 2014-01-15 19:15 |只看该作者
楼主有两个问题, 第一, 提示你更新 openssl, 跟你的yum plugin 有啥关系?
第二, 如楼主所说, 你的 replace 命令是哪来学来的?  

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
4 [报告]
发表于 2014-01-20 10:07 |只看该作者
yum命令没有那个参数,与插件无关

论坛徽章:
0
5 [报告]
发表于 2014-01-23 14:42 |只看该作者
回复 3# q1208c
在网上找到的一个帖子说可以同过替换也就是replace 本机上的openssl 来解决
我下载了插件 在自己的电脑上 可以安装 并且安装以后 出现了 replace的参数
但是在服务器上 通过同样的方法安装这个插件,提示安装成功 但是就是用不了

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

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP