Making the following package dependency tree: Legend: ------------- req = Requires pro = Provides rec = Recommends sup = Supplements sug = Suggests enh = Enhances ------------- +--------+ v--sug--+ Parent + | +--------+ | ^ ^ | sup sup | | | v---------+ +---------v | Child A | | Child B | +---------+ +---------+ Use the following command to test: sudo yum install Parent --assumeno --disablerepo=* --repofrompath=example7,http://people.redhat.com/kwalker/weakdeps/example7/ sudo yum install Parent --assumeno --setopt=install_weak_deps=False --disablerepo=* --repofrompath=example7,http://people.redhat.com/kwalker/weakdeps/example7/ Output: # sudo yum install Parent --assumeno --disablerepo=* --repofrompath=example7,http://people.redhat.com/kwalker/weakdeps/example7/ Updating Subscription Management repositories. Added example7 repo from http://people.redhat.com/kwalker/weakdeps/example7/ Last metadata expiration check: 0:00:06 ago on Tue 19 Feb 2019 01:35:03 PM EST. Dependencies resolved. ======================================================================================================================= Package Arch Version Repository Size ======================================================================================================================= Installing: Parent x86_64 0.1-1 example7 6.1 k Installing weak dependencies: ChildA x86_64 0.1-1 example7 6.1 k ChildB x86_64 0.1-1 example7 6.1 k Transaction Summary ======================================================================================================================= Install 3 Packages Total download size: 18 k Installed size: 0 Operation aborted. # sudo yum install Parent --assumeno --setopt=install_weak_deps=False --disablerepo=* --repofrompath=example7,http://people.redhat.com/kwalker/weakdeps/example7/ Updating Subscription Management repositories. Added example7 repo from http://people.redhat.com/kwalker/weakdeps/example7/ Last metadata expiration check: 0:00:08 ago on Tue 19 Feb 2019 01:35:03 PM EST. Dependencies resolved. ======================================================================================================================= Package Arch Version Repository Size ======================================================================================================================= Installing: Parent x86_64 0.1-1 example7 6.1 k Transaction Summary ======================================================================================================================= Install 1 Package Total download size: 6.1 k Installed size: 0 Operation aborted.