[Spacewalk-list] Unable to Download Packages from Spacewalk Server

Miroslav Suchý msuchy at redhat.com
Tue Sep 27 13:51:58 UTC 2011


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




More information about the Spacewalk-list mailing list