Hi Michael, I am finding that links are still not being removed from published repo directories after the packages have been removed from the repository. It does seem to remove them from the yum metadata, but if you browse to the repo they are still there. If the package is orphaned and has actually been completely deleted from the server, then the link is dead and Apache doesn't show it, but if the package still exists, the link still works and the package shows up.
$ pulp-admin rpm repo content rpm --repo-id=q1-ol5-x86_64 --match name="oracle-validated" $ ls -la /var/lib/pulp/published/http/repos/Q1/ol5/oracle-validated* lrwxrwxrwx. 1 apache apache 144 Mar 7 22:54 /var/lib/pulp/published/http/repos/Q1/ol5/oracle-validated-1.0.0-22.el5.x86_64.rpm -> /var/lib/pulp/content/rpm/oracle-validated/1.0.0/22.el5/x86_64/59d664376c50be109d1ed0d2b1bf4294db93d08c/oracle-validated-1.0.0-22.el5.x86_64.rpm lrwxrwxrwx. 1 apache apache 144 Mar 11 18:45 /var/lib/pulp/published/http/repos/Q1/ol5/oracle-validated-1.0.0-34.el5.x86_64.rpm -> /var/lib/pulp/content/rpm/oracle-validated/1.0.0/34.el5/x86_64/230cfe2e13afa1af6426700427aeb2956444e7e8/oracle-validated-1.0.0-34.el5.x86_64.rpm In this case, the -34 is orphaned and -22 still exists but only in another repository. Is there still an open bug for this? Thanks, Christina On Tue, Dec 3, 2013 at 8:24 AM, Michael Hrivnak <[email protected]> wrote: > Arnold, > > I believe this has been fixed in our upcoming 2.3 release, which will be > out very soon. For now, they will have to be manually removed if need be. > > Michael Hrivnak > > ----- Original Message ----- > From: "Arnold Bechtoldt" <[email protected]> > To: [email protected] > Sent: Tuesday, December 3, 2013 4:15:40 AM > Subject: [Pulp-list] How to remove defect links > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hey, > > As I already asked on #pulp (unfortunately UTC+1 is far away from > UTC-5) I would like to know whether it is possible to remove (public) > links in /var/lib/pulp/published/ or /var/www/pub/ of deleted/ > orphaned repositories, after they have been deleted using pulp-admin? > > Thanks for any replies in advance. > > > Arnold > > - -- > Arnold Bechtoldt > IT Engineering & Operations > > inovex GmbH > > Zur Gießerei 16 > D-76227 Karlsruhe > Tel: 07231 31 91 0 > Fax: 07231 31 91 91 > Mobil: 0173 3181 117 > [email protected] > www.inovex.de > > Sitz der Gesellschaft: Pforzheim > AG Mannheim, HRB 502126 > Geschäftsführer: Stephan Müller > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (Darwin) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJSnaE8AAoJEHgwgAQjZOwkuUIIAM/QEoNK5QTPX/hSOicfeXY2 > oV2gULCMkOh7pGYqACTqjqrvMSQJWt/UDogeN3Pfh0LebbhnGWZvnDTpbSOhHjJu > B60odoFgKJ6qMP/IsZwqOJqOlXgJZygXjTPDhxEt4AZvJOPDOP5pk+d/T+0tojAz > g+DhXOLNb4Bm58xfQ87KcWL3lHHPUpCw2R5w3ib6tD1/jVEInjj24BJpjrcNx39T > MOgsyqEysh+XYAiw2pyWLxvohSdOES9fLTC5TQbC/A7nPdhT3F9RC3MxQHMs04/2 > i8UKF8eXXu7pwS23v/GGtMlIqzJ3ruholPWEPH85R9tyMjTmccPAwH0+4EHaEpA= > =i1BG > -----END PGP SIGNATURE----- > > _______________________________________________ > 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
