Tell yum to ignore a single dependency - nodeps


Generally yum doesn't have options to ignore a single package from the dependencies. Option --skip-broken ignores all unresolved dependences.

You can try yum --exclude=packagename but it excludes a specific package by name or glob from updates on all repositories, not from dependencies.

 

rpm -Uvh --nodeps $(repoquery --location winswitch)


Article ID: 123
Created On: Thu, Feb 2, 2023 at 2:20 AM
Last Updated On: Thu, Feb 2, 2023 at 2:21 AM
Authored by: Saeed Nobakht [[email protected]]

Online URL: https://www.navel.ir/article/tell-yum-to-ignore-a-single-dependency-nodeps-123.html