https://pulp.plan.io/https://pulp.plan.io/favicon.ico2020-06-18T12:42:18ZPulpRPM Support - Issue #7000: Impossible to update a comps.xmlhttps://pulp.plan.io/issues/7000?journal_id=584422020-06-18T12:42:18Zmichele.santuari@wuerth-phoenix.com
<ul></ul><p>I tried also with:</p>
<pre><code class="bash syntaxhl" data-language="bash">pulp-admin rpm repo publish run <span class="nt">--force-full</span> <span class="nt">--repo-id</span><span class="o">=</span>extras
</code></pre>
<p>and tried to remove the group and recreate:</p>
<pre><code class="bash syntaxhl" data-language="bash">pulp-admin rpm repo publish run <span class="nt">--force-full</span> <span class="nt">--repo-id</span><span class="o">=</span>extras
pulp-admin rpm repo uploads comps <span class="nt">--repo-id</span><span class="o">=</span>extras <span class="nt">--file</span><span class="o">=</span>/root/comps/comps.xml
pulp-admin rpm repo content group <span class="nt">--repo-id</span><span class="o">=</span>extras
Conditional Package Names:
Default Package Names:
Description: <span class="nb">test </span>Packages
Id: <span class="nb">test
</span>Mandatory Package Names: neteye-agent
Name: <span class="nb">test
</span>Optional Package Names:
User Visible: True
</code></pre> RPM Support - Issue #7000: Impossible to update a comps.xmlhttps://pulp.plan.io/issues/7000?journal_id=584722020-06-18T19:11:05Zipanova@redhat.comipanova@redhat.com
<ul></ul><p>You missed one step in between - after you remove the group, please run orphan removal:
$ pulp-admin orphan remove --type package_group</p>
<p>Then upload an updated comps.xml</p> RPM Support - Issue #7000: Impossible to update a comps.xmlhttps://pulp.plan.io/issues/7000?journal_id=584912020-06-19T11:51:05Zmichele.santuari@wuerth-phoenix.com
<ul></ul><p>Thanks, that worked.
The procedure to add an rpm to a group is:</p>
<ol>
<li>remove the group</li>
<li>remove orphan</li>
<li>upload the updated comps.xml</li>
<li>publish the repo</li>
</ol>
<p>Is that correct?</p> RPM Support - Issue #7000: Impossible to update a comps.xmlhttps://pulp.plan.io/issues/7000?journal_id=590102020-07-02T15:38:59Zipanova@redhat.comipanova@redhat.com
<ul></ul><p>That's correct. I am closing this issue, please re-open if you still have problems :)</p> RPM Support - Issue #7000: Impossible to update a comps.xmlhttps://pulp.plan.io/issues/7000?journal_id=590182020-07-02T18:23:51Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - WORKSFORME</i></li></ul> RPM Support - Issue #7000: Impossible to update a comps.xmlhttps://pulp.plan.io/issues/7000?journal_id=641942020-10-26T13:05:32Zmichele.santuari@wuerth-phoenix.com
<ul></ul><p>I would like to have a user that has permissions to update the yum groups only with "update" permission and not "delete" permission.
I need delete permission to update the comps.xml.
Is that the wanted behavior?</p>