[zypp-devel] Re: Fixed noarch->anyarch and vice-versa update
On Tue, Mar 10, 2009 at 07:20:52PM +0100, Ján Kupec wrote:
Fixed noarch->anyarch and vice-versa update (bnc #483179).
'zypper up foo' would not find a non-noarch update of foo if the installed arch was noarch, and vice-versa (anyarch->noarch), while zypper 'list-updates' doUpdate() shows the update. [... lots of code ...]
Sorry, but the check if an architecture can replace an installed architecture belongs in libzypp, not zypper. If libzypp is lacking functions, they have to be added. It makes no sense to clutter all applications using libzypp with some implementations that have to be kept up to date. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Schroeder wrote:
On Tue, Mar 10, 2009 at 07:20:52PM +0100, Ján Kupec wrote:
Fixed noarch->anyarch and vice-versa update (bnc #483179).
'zypper up foo' would not find a non-noarch update of foo if the installed arch was noarch, and vice-versa (anyarch->noarch), while zypper 'list-updates' doUpdate() shows the update. [... lots of code ...]
Sorry, but the check if an architecture can replace an installed architecture belongs in libzypp, not zypper. If libzypp is lacking functions, they have to be added. It makes no sense to clutter all applications using libzypp with some implementations that have to be kept up to date.
Fully agreed :O) see the "Some needed (zypp) solver API additions" mail i just posted. I just fixed it, so that it behaves until that code is in libzypp, and so that it can potentially be fixed in SLE11 SP1 or so, if needed. - -- cheers, jano Ján Kupec YaST team - ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 - ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz - ---------------------------------------------------------(EOF)--- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkm3qH0ACgkQgEhGpmN+6QFIdwCdFSv3wcVbBSGWzCaTo1Bd1NYU 5UEAnj6NA5ftjBcFGVfHTu/2O/PN1x4A =vw3C -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Jan Kupec
-
Michael Schroeder