Skip to content
Felix Dewaleyne edited this page Jan 9, 2014 · 1 revision

Usage

Usage: usage : check-varsat.py [-f]
 checks if the rpms stored on the satellite match their checksums

Options:
  -h, --help   show this help message and exit
  -f, --force  does not ask for confirmation before removing bad files

Practical usage

This script should be used if you get download issues where the packages are being rejected by the clients because their checksum is incorrect and you don't have duplicate packages in your satellite and the correct package is in the channel (correct signature as per the Red Hat list of gpg keys for instance)

Standard usage

This needs to be ran from the satellite directly

$python check-varsat.py

content removed can be re-added by satellite-sync or re-adding the package through the means you added it ; if you suspect a cache issue remember to clean that first (/var/cache/rhn/reposync or relevant cache folder depending on the method used, remember to take into consideration CDN and proxies when relevant as well)

Clone this wiki locally