pyther / upstream_sync

script to help mirror upstream repositories
MIT License
47 stars 16 forks source link

reposync command no longer works as expected in RHEL8 #16

Open viniciusferrao opened 5 years ago

viniciusferrao commented 5 years ago

reposync have changed in RHEL8 rendering the script broken.


WARNING:root:unable to detect architecture for OpenHPC-1.0
INFO:root:syncing OpenHPC-1.0
Updating Subscription Management repositories.
usage: dnf reposync [-c [config file]] [-q] [-v] [--version]
                    [--installroot [path]] [--nodocs] [--noplugins]
                    [--enableplugin [plugin]] [--disableplugin [plugin]]
                    [--releasever RELEASEVER] [--setopt SETOPTS]
                    [--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C]
                    [-R [minutes]] [-d [debug level]] [--debugsolver]
                    [--showduplicates] [-e ERRORLEVEL] [--obsoletes]
                    [--rpmverbosity [debug level name]] [-y] [--assumeno]
                    [--enablerepo [repo]] [--disablerepo [repo] | --repo
                    [repo]] [--enable | --disable] [-x [package]]
                    [--disableexcludes [repo]] [--repofrompath [repo,path]]
                    [--noautoremove] [--nogpgcheck] [--color COLOR]
                    [--refresh] [-4] [-6] [--destdir DESTDIR] [--downloadonly]
                    [--comment COMMENT] [--bugfix] [--enhancement]
                    [--newpackage] [--security] [--advisory ADVISORY]
                    [--bzs BUGZILLA] [--cves CVES]
                    [--sec-severity {Critical,Important,Moderate,Low}]
                    [--forcearch ARCH] [-a [arch]] [--delete] [-m]
                    [--download-metadata] [-n] [-p DOWNLOAD_PATH]
                    [--metadata-path METADATA_PATH] [--source]
dnf reposync: error: unrecognized arguments: -r OpenHPC-1.0 --tempcache --norepopath
WARNING:root:sync failed: OpenHPC-1.0
WARNING:root:unable to detect architecture for OpenHPC-1.0-updates
INFO:root:syncing OpenHPC-1.0-updates```