[Pulp-list] Removing rpm packages from pulp repository

Michael Hrivnak mhrivnak at redhat.com
Wed Jun 5 12:52:12 UTC 2013


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" <rush.ru at gmail.com>
To: pulp-list at redhat.com
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
Pulp-list at redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list