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/