[Yum] Obsoletes package gets updated?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Seth et al,

We're trying to implement yum groups for certain types of hosts or 
classes of hosts.  For example, we might have a Cisco-Workstation 
yumgroup and it contains certain RPMs.  Between updates of RHEL, that 
yumgroup might also need to obsolete a few packages we no longer want in 
a workstation.  The same applies to our Cisco-DMZ-Server yumgroup.  It 
may be that we included a proprietary RPM a few updates ago named foo.  
We now have an RPM Cisco-DMZ-Server-meta contained inside 
Cisco-DMZ-Server yumgroup that has a "obsoletes: foo".

We only want the -meta RPM installed as part of the Cisco-DMZ-Server 
yumgroup.  If RPM foo is installed on another server profile, 
Cisco-DMZ-Server-meta should not be seen as a natural upgrade path to foo.

We have an upgrade script that detects which yumgroups should be 
installed on a given host and groupinstall's each one; it then runs yum 
update for good measure.  During this yum update, we are currently 
excluding *-meta RPMs from the update.  This works around the behavior 
we found earlier today in that Cisco-DMZ-Server-meta RPM was a logical 
upgrade on any host that had foo installed.

/Brian/

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux