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