Line 50: |
Line 50: |
| } | | } |
| | | |
− | == Testing 7.3== | + | === Usage === |
− | === Original Configuration ===
| + | #* if you install any contribs or non-sme packages using any form of ''--enablerepo=<xxx>'', update with ''yum --enablerepo=* update'' (or separate --enablerepo=<xxx> arguments for every repo you've ever included using ''--enablerepo='') to make sure you get any available updates for your extra packages |
− | yum update
| + | #* If you get a 'missing dependancy error' from yum, |
− | | + | #** re-run yum manually using "--exclude <pkgname>" on the command line, replacing <pkgname> with the package that is preventing your update |
− | ...
| + | #** If you suspect that the blocked update resolves a security issue, you must decide for yourself whether to compromise the original sme/centos package and force the update of the non-sme/centos package by running ''yum --noplugins --enablerepo=* update <pkgname> |
− | Transaction Summary
| |
− | =============================================================================
| |
− | Install 0 Package(s)
| |
− | Update 8 Package(s)
| |
− | Remove 0 Package(s)
| |
− | | |
− | yum --enablerepo=dag update
| |
− | | |
− | ...
| |
− | Transaction Summary
| |
− | =============================================================================
| |
− | Install 22 Package(s)
| |
− | Update 80 Package(s)
| |
− | Remove 0 Package(s)
| |
− | | |
− | === After modifying /etc/yum.conf ===
| |
− | yum update
| |
− | | |
− | ...
| |
− | Transaction Summary
| |
− | =============================================================================
| |
− | Install 0 Package(s)
| |
− | Update 8 Package(s)
| |
− | Remove 0 Package(s)
| |
− | | |
− | yum --enablerepo=dag update
| |
− | | |
− | ...
| |
− | Error: Missing Dependency: perl(DBD::Pg) >= 1.32 is needed by package perl-DBIx-DBSchema
| |
− | ...
| |
− | | |
− | === To Do ===
| |
− | Figure out why setting priorities results in missing dependcies.
| |
− | | |
− | I tried giving all 'sme' repos higher priority (priority=5) than the centos repos (priority=10) - same result.
| |
− | | |
− | == Testing 7.4==
| |
− | actually 7.4rc1
| |
− | | |
− | yum update (priority=99) | |
− | Install 1 Package(s)
| |
− | Update 26 Package(s)
| |
− | | |
− | yum update enablerepo=dag (priority=99) | |
− | 0 packages excluded due to repository priority protections
| |
− | Install 11 Package(s)
| |
− | Update 42 Package(s)
| |
− | | |
− | | |
− | yum update enablerepo=dag (priority=10)
| |
− | 496 packages excluded due to repository priority protections
| |
− | Install 1 Package(s)
| |
− | Update 28 Package(s)
| |
− | | |
− | the two extra packages I installed from dag, they should be updated | |
− | | |
− | all OK
| |
− | | |
− | === To Do ===
| |
− | try other priorities, ie give sme repos higher priority then centos and see what happens
| |