Changes between Version 6 and Version 7 of Development/YumAndSPMA
- Timestamp:
- Mar 29, 2013, 6:17:09 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Development/YumAndSPMA
v6 v7 81 81 [[Image(deps.png)]] 82 82 83 Both smithers and mrburns are specified directly in the profile. But the distribution recalls that smithers depends on mrburns, so it adds a dependency. At the same time, we decide mrburns is not a critical part of our infrastructure, so we remove it from the profile :83 Both smithers and mrburns are specified directly in the profile. But the distribution recalls that smithers depends on mrburns, so it adds a dependency. At the same time, we decide mrburns is not a critical part of our infrastructure, so we remove it from the profile. This is what we'd like to see: 84 84 85 85 [[Image(deps-updated.png)]] … … 112 112 We'll start again: 113 113 114 [[Image(deps.png)]] 115 114 116 and distro-sync will leave our system: 115 117 116 and we'll be happy! 118 [[Image(deps-updated.png)]] 117 119 120 Only now we may install new packages and remove old ones reliably, in a single transaction. 121 122 === Drawbacks === 123 124 1. `distro-sync` may introduce or update packages that will be removed immediately. This is a small overhead, but I don't see the harm to the system. 125 1. The next transaction may fail, leaving the system in an intermediate state. It's possible to recover from this one using only Quattor, so I don't think we should worry too much about it.