Nan Xiao's Blog

A system software / performance engineer's home

Tag: RPM

Get SLES needed RPM from OpenSuse

When you build software on SLES, if there is no need RPM provided, you can try to download it from OpenSuse website: . E.g.:

# rpmbuild -bp xen.spec
error: Failed build dependencies:
    figlet is needed by xen-4.5.1_10-1.9.x86_64

When build Xen source code, the SLES doesn’t provide figlet RPM. Download and install this RPM from this link: Then it works!


Fix “not an rpm package (or package manifest):” error

On RHEL 7.0, if mountRHEL 7.1 iso and install RPM package, rpm command will complain:

[root@root Packages]# rpm -ivh xxxx.x86_64.rpm
error: xxxx.x86_64.rpm: not an rpm package (or package manifest):

So you should mount RHEL 7.0 iso, then all is OK。

Powered by WordPress & Theme by Anders Norén