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)
Posted by: Saeed Nobakht - Thu, Feb 2, 2023 at 2:20 AM. This article has been viewed 543 times.
Online URL: https://www.navel.ir/article/tell-yum-to-ignore-a-single-dependency-nodeps-123.html

Powered by PHPKB Knowledge Base Software