Author: kkaempf Date: Fri May 4 10:52:19 2007 New Revision: 5478 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5478&view=rev Log: - Dont check for architecture changes in atoms (#266178) - rev 5478 Modified: branches/SuSE-Linux-10_2-Branch/libzypp/package/libzypp.changes branches/SuSE-Linux-10_2-Branch/libzypp/zypp/solver/detail/QueueItemRequire.cc Modified: branches/SuSE-Linux-10_2-Branch/libzypp/package/libzypp.changes URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-10_2-Branch/libzypp/package/libzypp.changes?rev=5478&r1=5477&r2=5478&view=diff ============================================================================== --- branches/SuSE-Linux-10_2-Branch/libzypp/package/libzypp.changes (original) +++ branches/SuSE-Linux-10_2-Branch/libzypp/package/libzypp.changes Fri May 4 10:52:19 2007 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri May 4 10:48:41 CEST 2007 - kkaempf@suse.de + +- Dont check for architecture changes in atoms (#266178) +- rev 5478 + +------------------------------------------------------------------- Wed Apr 25 17:30:40 CEST 2007 - schubi@suse.de - Required kmp packges FOR EACH installed/to_be_installed kernel will be installed. Modified: branches/SuSE-Linux-10_2-Branch/libzypp/zypp/solver/detail/QueueItemRequire.cc URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-10_2-Branch/libzypp/zypp/solver/detail/QueueItemRequire.cc?rev=5478&r1=5477&r2=5478&view=diff ============================================================================== --- branches/SuSE-Linux-10_2-Branch/libzypp/zypp/solver/detail/QueueItemRequire.cc (original) +++ branches/SuSE-Linux-10_2-Branch/libzypp/zypp/solver/detail/QueueItemRequire.cc Fri May 4 10:52:19 2007 @@ -187,7 +187,19 @@ } if ( upgrades - && upgrades.resolvable()->arch() != provider->arch()) { + && upgrades.resolvable()->arch() != provider->arch() + && provider->kind() != ResTraits<Atom>::kind ) // if patch provides arch upgrade, allow it (#266178) + // (because of #168840 and #170098, the patch parser grabs the 'best' atom + // and does not have knowledge about already installed atom with the same name. + // The problem #266178 shows is a previously installed patch (noarch) and atom (ppc) + // conflict with a later patch which offers an arch upgrade (ppc -> ppc64) + // This has no effect on the patch, since the patch is noarch. But is has effect + // on the atom, since it is installed as ppc and the upgrade is ppc64. + // Here, we look at arch changes only if they don't affect an atom. So atoms are + // allowed for arch upgrades. + // However, this only applies to atoms, not to packages. The package will stay + // at its architecture. Not doing arch upgrades was one of the requirements for Code10.) + { MIL << "provider " << provider << " has OTHER arch '" << provider->arch() << "' than the updated item " << upgrades << endl; PoolItemList ignore = _context->getIgnoreArchitectureItem(); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org