Hi! At first thanks for the clue with "spacewalk-remove-old-packages.py", but in my case a dryrun told me only 1 file it would reduce, and to be honest, that one exists still in my repository :-)
I have a selfmade repository with our own packed/repacked rpms, called e.g. "chnl-metzler-os-6" I got 56 Packages in it, and rebuild the repolist (to be sure I deleted the old directory), and run a [root@lvasp-swmain CentOSRHEL6]# /usr/bin/createrepo /MetzlerRepo/CentOSRHEL6 Spawning worker 0 with 56 pkgs Workers Finished Gathering worker results Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete thats okay... and exact the number of RPMs in that Directory, after that I did a [root@lvasp-swmain ~]# /usr/bin/spacewalk-repo-sync --channel chnl-metzler-os-6 ====================================== | Channel: chnl-metzler-os-6 ====================================== () Repo URL: file:///MetzlerRepo/CentOSRHEL6 Packages in repo: 56 No new packages to sync. Repo file:///MetzlerRepo/CentOSRHEL6 has 0 errata. Sync completed. Total time: 0:00:39 Looks also not bad... But I have still 68 Packages in my Spacewalk [root@lvasp-swmain CentOSRHEL6]# spacecmd -u admin softwarechannel_listallpackages chnl-metzler-os-6 | wc -l INFO: Connected to https://lvasp-swmain.metzler.com/rpc/api as admin 68 I checked if an old package I removed is propably still installed somewhere, but SpaceWalk told me "nope", and personally I am quite sure it is really nowhere installed anymore. I am working on that problem since several weeks, and also did a spacewalk-data-fsck -r -S -C -O with no change in that behaviour. Thats an SpaceWalk 2.5 on a CentOS6 Did I missed something or get crossed up with something, personally I would expect that a softwarechannle_listallpackages should deliver 56 Files.? Any clues are welcome. Cheers Matthias ------------------------------------------------------------------------------------ METZLER Informationstechnologie Matthias Gruber IT-Infrastruktur & -Betrieb B. Metzler seel. Sohn & Co. Kommanditgesellschaft auf Aktien Untermainanlage 1 60329 Frankfurt am Main Telefon (0 69) 21 04 - 43 30 Telefax (0 69) 21 04 - 40 40 mgru...@metzler.com www.metzler.com Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von Metzler, Emmerich Müller, Gerhard Wiesheu Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen und die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine Haftung hierfür wird ausgeschlossen. This message is confidential. If you are not the intended recipient, we kindly ask you to inform the sender and delete the information. Any unauthorised dissemination or copying hereof is prohibited. As we cannot guarantee or assure the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. Accordingly we cannot accept any liability for their contents.
PGP.sig
Description: PGP signature
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list