Hi, Can you try removing orphan.
Regwrds, > >Hello. > >I'm trying to remove some rpm packages from pulp repository. I've used command: > >pulp-admin -u admin -p pass rpm repo remove rpm --repo-id=myapps >--match 'name=mypackage' --match 'version=0.00.00.10' > >Then I published repository using command: > >pulp-admin node repo publish --repo-id in4x-apps > >Package disappeared from output of rpm repo content command: > ># pulp-admin -u admin -p pass rpm repo content rpm --repo-id=myapps >--match 'name=mypackage' --match 'version=0.00.00.10' > >But it still published via http: > ># ls -l /var/www/pub/http/repos/myapps/mypackage-0.00.00.10-1.noarch.rpm >lrwxrwxrwx 1 apache apache 152 May 24 17:29 >/var/www/pub/http/repos/myapps/mypackage-0.00.00.10-1.noarch.rpm -> >/var/lib/pulp/content/rpm/mypackage/0.00.00.10/1/noarch/e67d98cedfc3eca20e2911837032be902dde07a04889843cd78f8e028217b066/mypackage-0.00.00.10-1.noarch.rpm > >And still uses disk space. > >How can I completely remove packages from pulp? > > >Rushan Shaymardanov > > > >------------------------------ > >Message: 2 >Date: Wed, 5 Jun 2013 08:52:12 -0400 (EDT) >From: Michael Hrivnak <[email protected]> >To: Shaymardanov Rushan <[email protected]> >Cc: [email protected] >Subject: Re: [Pulp-list] Removing rpm packages from pulp repository >Message-ID: > <[email protected]> >Content-Type: text/plain; charset=utf-8 > >Doing a "node" publish is probably not what you want. See here for an overview >of what the node concept is: > >https://pulp-user-guide.readthedocs.org/en/pulp-2.1/nodes.html > >And in the mean time, try this publish command: > >$ pulp-admin rpm repo publish --repo-id in4x-apps > >Michael > >----- Original Message ----- >From: "Shaymardanov Rushan" <[email protected]> >To: [email protected] >Sent: Wednesday, June 5, 2013 5:30:20 AM >Subject: [Pulp-list] Removing rpm packages from pulp repository > >Hello. > >I'm trying to remove some rpm packages from pulp repository. I've used command: > >pulp-admin -u admin -p pass rpm repo remove rpm --repo-id=myapps >--match 'name=mypackage' --match 'version=0.00.00.10' > >Then I published repository using command: > >pulp-admin node repo publish --repo-id in4x-apps > >Package disappeared from output of rpm repo content command: > ># pulp-admin -u admin -p pass rpm repo content rpm --repo-id=myapps >--match 'name=mypackage' --match 'version=0.00.00.10' > >But it still published via http: > ># ls -l /var/www/pub/http/repos/myapps/mypackage-0.00.00.10-1.noarch.rpm >lrwxrwxrwx 1 apache apache 152 May 24 17:29 >/var/www/pub/http/repos/myapps/mypackage-0.00.00.10-1.noarch.rpm -> >/var/lib/pulp/content/rpm/mypackage/0.00.00.10/1/noarch/e67d98cedfc3eca20e2911837032be902dde07a04889843cd78f8e028217b066/mypackage-0.00.00.10-1.noarch.rpm > >And still uses disk space. > >How can I completely remove packages from pulp? > > >Rushan Shaymardanov > >_______________________________________________ >Pulp-list mailing list >[email protected] >https://www.redhat.com/mailman/listinfo/pulp-list > > > >------------------------------ > >Message: 3 >Date: Wed, 05 Jun 2013 09:42:22 -0500 >From: Jeff Ortel <[email protected]> >To: [email protected] >Subject: Re: [Pulp-list] Removing rpm packages from pulp repository >Message-ID: <[email protected]> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Once you have removed an rpm from all repositories it becomes an orphan. > Once orphaned, you can delete the rpm itself (recover the disk space) >by removing orphans as described here: >https://pulp-user-guide.readthedocs.org/en/pulp-2.1/admin-client/orphan.html. > >On 06/05/2013 07:52 AM, Michael Hrivnak wrote: >> Doing a "node" publish is probably not what you want. See here for an >> overview of what the node concept is: >> >> https://pulp-user-guide.readthedocs.org/en/pulp-2.1/nodes.html >> >> And in the mean time, try this publish command: >> >> $ pulp-admin rpm repo publish --repo-id in4x-apps >> >> Michael >> >> ----- Original Message ----- >> From: "Shaymardanov Rushan" <[email protected]> >> To: [email protected] >> Sent: Wednesday, June 5, 2013 5:30:20 AM >> Subject: [Pulp-list] Removing rpm packages from pulp repository >> >> Hello. >> >> I'm trying to remove some rpm packages from pulp repository. I've used >> command: >> >> pulp-admin -u admin -p pass rpm repo remove rpm --repo-id=myapps >> --match 'name=mypackage' --match 'version=0.00.00.10' >> >> Then I published repository using command: >> >> pulp-admin node repo publish --repo-id in4x-apps >> >> Package disappeared from output of rpm repo content command: >> >> # pulp-admin -u admin -p pass rpm repo content rpm --repo-id=myapps >> --match 'name=mypackage' --match 'version=0.00.00.10' >> >> But it still published via http: >> >> # ls -l /var/www/pub/http/repos/myapps/mypackage-0.00.00.10-1.noarch.rpm >> lrwxrwxrwx 1 apache apache 152 May 24 17:29 >> /var/www/pub/http/repos/myapps/mypackage-0.00.00.10-1.noarch.rpm -> >> /var/lib/pulp/content/rpm/mypackage/0.00.00.10/1/noarch/e67d98cedfc3eca20e2911837032be902dde07a04889843cd78f8e028217b066/mypackage-0.00.00.10-1.noarch.rpm >> >> And still uses disk space. >> >> How can I completely remove packages from pulp? >> >> >> Rushan Shaymardanov >> >> _______________________________________________ >> Pulp-list mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/pulp-list >> >> _______________________________________________ >> Pulp-list mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/pulp-list >> > > > >------------------------------ > >_______________________________________________ >Pulp-list mailing list >[email protected] >https://www.redhat.com/mailman/listinfo/pulp-list > >End of Pulp-list Digest, Vol 43, Issue 3 >**************************************** _______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
