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