rhn-applet does not list glibc for update

Daniel Veillard veillard at redhat.com
Wed Nov 19 21:09:52 UTC 2003


On Wed, Nov 19, 2003 at 09:30:34PM +0100, shrek-m at gmx.de wrote:
> shrek-m at gmx.de wrote:
> 
> >rhn-applet does not list glibc for update 
> 
> 
> happened only on this system (perhaps only on this fedora-installation)
>  nforce1, athlon xp1800+
> not on other sytems i had tested.
> 
> sorry

  No problem, this can be explained by the following code extract from
the YUM support of rhn-applet:

    def __check_architecture(self, n, a):
        score = rpm.archscore(a)
        if score <= 0:
            return 0
        if n == 'kernel' or n == 'kernel-smp' or n == 'kernel-uml' or \
           n == 'kernel-unsupported' or n == 'glibc':
             if score != 1:
                 return 0
        return 1

  Basically I don't want to misinstall a glibc compiled for i386 on
an i686, rpm.archscore() returning 1 means that it's the closest architecture
matching possible, i386 won't match on an i686, but also i686 won't match
on an athlon ... That's where some distro specific informations starts
hitting package dependancy resolvers and in a limited way the applet...
 Please bugzilla this, I will need to get this fixed the proper way,
somehow I'm afraid that this can become messy on x86_64 for example.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/





More information about the fedora-test-list mailing list