Hi, On Tue, 12 Feb 2008, Klaus Kaempf wrote:
* Michael Matz
[Feb 12. 2008 17:17]: But that 'best' architecture needs to be at least compatible with the system. That isn't checked anywhere.
Well, thats bad. libzypp checked when parsing repository metadata and discarded solvables incompatible with the target system. repo_add_solv() could (should?) do this.
Yeah, this is what ma now implemented.
My hack checks the wrong thing (but conservatively correct) and I mentioned this. But that's only because I don't know how to retrieve the system Arch. If somebody tells me, I can change the lines to
"candidate.arch().compatibleWidth (systemArch())"
sat-solver shouldn't try to detect the architecture.
I was talking about libzypp code, specifically the current implementation of of distupgrade in Resolver::doUpgrade. That certainly should know the system architecture (or better it's compatibility set). The point is mood, though, since we're not seeing incompatible solvables anymore. Ciao, Michael. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org