redhat-release-server-6Server-6.3.0.3.el6.x86_64(在我的系统上)似乎是一个很好的先决条件。请参阅http://rhn.redhat.com/errata/RHEA-2012-0971.html。对于查看软件包名称的新手来说,不明显的是“6Server”实际上是软件包版本。但是,“rpm -q --info”可以清楚地说明这一点:
$ rpm -q redhat-release-server-6Server --info
Name : redhat-release-server Relocations: (not relocatable)
Version : 6Server Vendor: Red Hat, Inc.
Release : 6.3.0.3.el6 Build Date: Wed 30 May 2012 11:19:03 AM PDT
Install Date: Tue 02 Oct 2012 09:48:26 AM PDT Build Host: x86-003.build.bos.redhat.com
Group : System Environment/Base Source RPM: redhat-release-server-6Server-6.3.0.3.el6.src.rpm
Size : 38585 License: GPLv2
Signature : RSA/8, Wed 30 May 2012 12:19:55 PM PDT, Key ID 199e2f91fd431d51
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : Red Hat Enterprise Linux Server release file
Description :
Red Hat Enterprise Linux Server release files
所以正确的指令是:
Requires: redhat-release-server >= 6Server-6.3