[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] Removing rpm packages from pulp repository



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]