Hi, I am using RPM to deploy our product to customers, and I want to start using YUM. I created a test repository with group and it works fine, expect one issue:
Suppose I have the following RPMs, created with attached spec: foo-1.0-1.x86_64.rpm foo-2.0-1.x86_64.rpm bar-1.0-1.x86_64.rpm bar-2.0-1.x86_64.rpm And I have the group xml below. When I run yum groupinstall Test, it installs foo-2.0, bar-2.0, as expected. But when I run yum groupinstall 'Test 1.0', I get: No packages in any requested group available to install or update yum groupinfo 'Test 1.0' shows foo-1.0 and bar-1.0, and if I run
yum install foo-1.0 it works. In the YUM man page for groupinstall it states: this works as if you'd taken each of those package names and put them on the command line for a "yum install" command Does anyone knows what is the reason for this behavior, or what is the best practice to allow group install to specific version? Thanks, Eran. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd"> <comps> <group> <id>test</id> <default>false</default> <uservisible>true</uservisible> <display_order>1024</display_order> <name>Test</name> <description></description> <packagelist> <packagereq type="mandatory">foo</packagereq> <packagereq type="mandatory">bar</packagereq> </packagelist> </group> <group> <id>test_1.0</id> <default>false</default> <uservisible>true</uservisible> <display_order>1024</display_order> <name>Test 1.0</name> <description></description> <packagelist> <packagereq type="mandatory">foo-1.0</packagereq> <packagereq type="mandatory">bar-1.0</packagereq> </packagelist> </group> </comps> |
Attachment:
yum.spec
Description: yum.spec
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list