> I am updating my rhel5 system after about six months.  The package
> updater quit with a long list of unresolved dependencies.
>
> I tried cleaning the cache, but that did not help.
>
> I am now trying to do the update with `yum update --skip-broken'.
> After a download of some 675M's the install stalled again because of
> error messages, which I am not sure how to handle.  Here is the
> transcript for `nspr':
>
> [...@cysshd1 mv]$ sudo yum install nspr
> Loaded plugins: downloadonly, rhnplugin
> Setting up Install Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package nspr.i386 0:4.7.6-1.el5_4 set to be updated
> ---> Package nspr.x86_64 0:4.7.6-1.el5_4 set to be updated
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
>
===================================================================================================

>  Package         Arch              Version
> Repository                       Size
>
===================================================================================================

> Updating:
>  nspr            i386              4.7.6-1.el5_4             rhel-
> x86_64-client-5            119 k
>  nspr            x86_64            4.7.6-1.el5_4             rhel-
> x86_64-client-5            118 k
>
> Transaction Summary
>
===================================================================================================

> Install      0 Package(s)
> Update       2 Package(s)
> Remove       0 Package(s)
>
> Total size: 237 k
> Is this ok [y/N]: y
> Downloading Packages:
> Running rpm_check_debug
> ERROR with rpm_check_debug vs depsolve:
> nspr is needed by (installed) nspr-devel-4.7.3-2.el5.i386
> nspr is needed by (installed) nspr-devel-4.7.3-2.el5.i386
> Complete!
> (1, [u'Please report this error in http://yum.baseurl.org/report'])
> [...@cysshd1 mv]$
>
> I am puzzled by that error.  What does it mean.  I also went to the
> website, but I am not sure what is expected there.
>
> I have found the following nspr rpms on my system:
>
>  find /var/cache/yum -name "nspr*"
> /var/cache/yum/rhel-x86_64-client-5/packages/nspr-4.7.6-1.el5_4.x86_64.rpm

> /var/cache/yum/rhel-x86_64-client-5/packages/nspr-4.7.6-1.el5_4.i386.rpm
> [...@cysshd1 mv]$
>
>
> I have also found the following command to force an in-place update:
>
> # rpm -Uvh --replacefiles --replacepkgs /path/to/some.rpm
>
> But I gather that nspr is used by quite a few system packages, and I
> do not want to damage the system.
>
> Is it safe for me to execute the rpm command above.  Also, can
> someone explain to me the need for both i386 and x86_64 libraries?
>

I'm not sure exactly what the error you got entails, I'd rather see your
entire output from the system wide 'yum update' before hazarding a guess.

As for the rpm command you had, I think to is probably not the best route
to take if you can get the yum update working.  I'm not sue I would
recommend it even if you can't.  What do you get if you do this:

rpm
-Uvh /var/cache/yum/rhel-x86_64-client-5/packages/nspr-4.7.6-1.el5_4.*.rpm

Also, the point behind the i386 and the x86_64 is that some application do
not work in 64bit, and so you can run have both architectures on the same
box.  Its my practice to keep the ix86 off my systems unless I must, and
there are ways you can remove just those packages if you are sure you don't
need them.  I've run into upgrade issues on my systems when a ix86 package
snuck into a system that I wasn't aware of.

-greg


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to