I realized what was going on finally... I had removed the packages from the channels through the web GUI but that didn't actually remove the packages from the database, it just unassigned the packages from the channel and kept the entries lingering around. I finally noticed that in the package management page, there was a giant list of unassigned packages including the ones that I had thought I deleted. After deleting all of those, the spacewalk-data-fsck wasn't complaining any more and I was able to run a repo-sync and see the packages available for download on the GUI.
So my biggest question now is this... I want to keep my repo's relatively light weight, with only the most recent packages available. I.E. right now the CentOS 5 base repo shows it has 3566 packages in it and that's all I want to have. When new versions of packages come out, I don't want to keep the old ones. I realize this can cause problems if I need to downgrade a package if something breaks during and upgrade, however if that happens I'm fine with re-imaging machines. What is the best way to go about doing that? Is there a setting somewhere that I can set to tell spacewalk not to keep any old revisions of packages? If not, what commands could I use to clear the package contents in spacewalk and let it re-sync the repos on something like a weekly basis using cron? -----Original Message----- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Glennie, Jonathan - 0443 - MITLL Sent: Tuesday, September 27, 2011 10:39 AM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] Unable to Download Packages from Spacewalk Server I used the -r option before but it only seems to remove packages on the file system and not entries in the database. I gave it a try with -d and -r but it doesn't remove entries in the database. -----Original Message----- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Miroslav Suchý Sent: Tuesday, September 27, 2011 9:52 AM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] Unable to Download Packages from Spacewalk Server On 09/27/2011 03:24 PM, Glennie, Jonathan - 0443 - MITLL wrote: > Is there a way to run the spacewalk-data-fsck command or something similar and tell it to remove packages listed in the DB that aren't in the file system? # spacewalk-data-fsck --help usage: spacewalk-data-fsck [options] options: -v, --verbose Increase verbosity -S, --no-size Don't check package size -C, --no-checksum Don't check package checksum -O, --no-nevrao Don't check package name, epoch, version, release, arch, org -d, --db-only Check only if packages from database are present on filesystem -f, --fs-only Check only if packages from filesystem are in the database -r, --remove Automaticaly remove packages from filesystem not present in database -h, --help show this help message and exit So it would be: spacewalk-data-fsck -d -r -- Miroslav Suchy Red Hat Satellite Engineering _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list