解决 rpmbuild 打包后安装错误

rpmbuild 打包后安装所打的包出现错误:

# rpm -ivh my-test-3.3.i386.rpm
rpm: rpmte.c:530: rpmteColorDS: Assertion `ix < Count' failed.
Aborted

找到一解决方法  %define _use_internal_dependency_generator  0  至 spec 文件
如下:

Name:my-test
Version:3.3
Release:1
Summary:my test 3.3
Group:Applications/Tools
License:Commercial
Vendor: No name
Packager:www.no-name.com
Autoreq: no
Requires:bash,libxml2,openssl

%define _use_internal_dependency_generator 0

%description
My test

%files
........

重新打包 !! 然后安装



参考:

http://adrian.heissler.at/blog/2010/05/index.html


rhel 5 与  rhel 6 之 rpmbuild 差别:

http://www.centos.bz/2012/06/file-not-found-root-rpmbuild-buildroot/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值