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

Glennie, Jonathan - 0443 - MITLL jrglenni at ll.mit.edu
Tue Sep 27 14:39:04 UTC 2011


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-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Miroslav Suchý
Sent: Tuesday, September 27, 2011 9:52 AM
To: spacewalk-list at 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 at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list