hello,
i have a little problem creating package groups, and i hope someone will be able to help me.

I followed this procedure: https://pulp-rpm-user-guide.readthedocs.org/en/pulp-2.3/recipes.html#package-groups and succeeded to create one:

   pulp-admin rpm repo uploads group \
     --user-visible=true \
     --repo-id=rhel-ebi-package-groups \
     --group-id=package-group-gpfs-client-4.1.0-8 \
     --name="Package Group for GPFS 4.1.0-8 clients" \
     --description="Package Group for GPFS 4.1.0-8 clients" \
     --mand-name=gpfs.docs \
     --mand-name=gpfs.gpl \
     --mand-name=gpfs.msg.en_US \
     --mand-name=gpfs.base \
     --mand-name=gpfs.gskit \
     --mand-name=gpfs.ext

and i can see that the package group its in the repo:

   [root@hx-syr-01 repodata]# pulp-admin rpm repo content group
   --repo-id rhel-ebi-package-groups
   Conditional Package Names:
   Default Package Names:     None
   Description:               Package Group for GPFS 4.1.0-8 clients
   Id:                        package-group-gpfs-client-4.1.0-8
   Mandatory Package Names:   gpfs.docs, gpfs.gpl, gpfs.msg.en_US,
   gpfs.base,
                               gpfs.gskit, gpfs.ext
   Name:                      Package Group for GPFS 4.1.0-8 clients
   Optional Package Names:    None
   User Visible:              True

Now, when i go to the one client that's using the repo, i can see the repo:

     yum group list | grep -i gpfs
       Package Group for GPFS 4.1.0-8 clients

but when i try to install it:

   yum group install package-group-gpfs-client-4.1.0-8
   Loaded plugins: langpacks, product-id, subscription-manager
   This system is not registered to Red Hat Subscription Management.
   You can use subscription-manager to register.
   *Warning: Group package-group-gpfs-client-4.1.0-8 does not have any
   packages to install.*
   Maybe run: yum groups mark install (see man yum)
   No packages in any requested group available to install or update


It seems to me that i created a package group, but have not defined what package are included to the group. Maybe i just misunderstood that the "--mand-name" does. In that case what it does, and how can i add/remove packages from a specific package group? Oddly enough the documentation says nothing about package management in a package group ( how add/remove packages from a package group). ^_^''

thanks in advance,
Salvatore


_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to