您的位置:首页 > 产品设计 > UI/UE

解决 rpmbuild 打包后安装错误

2012-10-11 20:45 549 查看
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/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: