yum command to skip certain (specified) Package upgrade

Today, at the time of the update rhel, he met yum update update fails, some packages have a dependency problem, reported the information needs of rpm_check_debug.

My man do not see what the rpm command options check related, there is no debug information to investigate, but rather another way to solve the problem.

Problems with installation package is only six, but I want to update the package has more than 500, I remember linux system, it was said that he could do anything you wanted, what kind of accessibility on what kind of.

So I thought, either install these packages first excluded, this update will not be successful. End of search results command recorded as follows:

yum -x {package-name} update  

yum --exclude={package-name} update 

 

This is to remove a certain packet format (-x --exclude is shorthand), regular expressions can be used to control

 

yum -x firefox *, ibus *, removed together java * update -y # plurality of packets  

Guess you like

Origin www.cnblogs.com/cnqfz/p/11249488.html