免费注册 查看新帖 |

Chinaunix

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

同名rpm怎么删除呢? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-25 15:38 |只看该作者 |倒序浏览
rpm -q boost出来的结果:

boost-1.32.0-7.rhel4
boost-1.32.0-7.rhel4

rpm -e boost-1.32.0-7.rhel4报错:
错误: "boost-1.32.0-7.rhel4" 指定了多套件

论坛徽章:
0
2 [报告]
发表于 2009-03-25 15:43 |只看该作者
rpm -e boost

卸载的时候不用指定版本号

论坛徽章:
0
3 [报告]
发表于 2009-03-25 15:46 |只看该作者

回复 #2 Celinde 的帖子

好像是指定不指定都是能删除的

问题是rpm -e boost也是报一样的错误

系统无法判断该删哪一个

论坛徽章:
0
4 [报告]
发表于 2009-03-25 15:51 |只看该作者
rpm -e 把名字和 arch 都写全就可以了

论坛徽章:
0
5 [报告]
发表于 2009-03-25 15:52 |只看该作者
如果你本来就是想都删除,那么用 rpm -e --allmatches 就可以了

论坛徽章:
0
6 [报告]
发表于 2009-03-25 15:57 |只看该作者

回复 #5 latteye 的帖子

恩,--allmatches 果然好用

可以再问一下arch一般指的是什么信息呢?
比如我其中一个boost的信息如下:
Name        : boost                        Relocations: (not relocatable)
Version     : 1.32.0                            Vendor: Red Hat, Inc.
Release     : 7.rhel4                       Build Date: 2008Äê03ÔÂ18ÈÕ ÐÇÆÚ¶þ 20ʱ37·Ö41Ãë
Install Date: 2008Äê08ÔÂ20ÈÕ ÐÇÆÚÈý 13ʱ51·Ö33Ãë      Build Host: hs20-bc2-2.build.redhat.com
Group       : System Environment/Libraries   Source RPM: boost-1.32.0-7.rhel4.src.rpm
Size        : 2354756                          License: Boost Software License
Signature   : DSA/SHA1, 2008Äê03ÔÂ19ÈÕ ÐÇÆÚÈý 19ʱ26·Ö10Ãë, Key ID 219180cddb42a60e
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.boost.org/
Summary     : The Boost C++ Libraries
Description :
Boost provides free peer-reviewed portable C++ source libraries.  The
emphasis is on libraries which work well with the C++ Standard
Library.  One goal is to establish "existing practice" and provide
reference implementations so that the Boost libraries are suitable for
eventual standardization. (Some of the libraries have already been
proposed for inclusion in the C++ Standards Committee's upcoming C++
Standard Library Technical Report.)

论坛徽章:
0
7 [报告]
发表于 2009-03-25 16:24 |只看该作者

回复 #6 hisher 的帖子

我理解就是编译的时候不针对处理器优化的制作成rpm包~

论坛徽章:
34
亥猪
日期:2015-03-20 13:55:11戌狗
日期:2015-03-20 13:57:01酉鸡
日期:2015-03-20 14:03:56未羊
日期:2015-03-20 14:18:30子鼠
日期:2015-03-20 14:20:14丑牛
日期:2015-03-20 14:20:31辰龙
日期:2015-03-20 14:35:34巳蛇
日期:2015-03-20 14:35:56操作系统版块每日发帖之星
日期:2015-11-06 06:20:00操作系统版块每日发帖之星
日期:2015-11-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-19 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13
8 [报告]
发表于 2009-03-25 17:23 |只看该作者
两儿不会是同一个吧?

论坛徽章:
0
9 [报告]
发表于 2009-03-25 17:25 |只看该作者
关键是为什么会装上两个一样版本的软件呢?
安装时,遇到已经安装过的软件包都会提示的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP