Troy Dawson wrote:
John Summerfield wrote:
Takashi Ichihara wrote:
David Nitz wrote
Hi,
I did (or tried to do) a yum-update upgrade from 5.2 to 5.3.
The files in /etc/yum.repos.d/ point to the 5.3 repositories,
but /etc/issue still says SL 5.2. Yumex does not show any
available updates.
Is the wrong /etc/issue an oversight in
the upgrade, or does it indicate a problem?
Hi
We have been successfully updated from SL5.0 to SL5.1 and from
SL5.1 to SL5.2 (both i386 and x86_64) so far, by
1) Changing /etc/yum.repos.d/files point to the 5.0 -> 5.1 (or
5.1-> 5.2)
2) yum update yum
3) yum clean all
4) yum update
(This method seems to be not supported officially. So please try at
your own risk)
Over a period of months, or all in a rush just now? Going directly
from 5.0 to 5.3 should work, and a lot more quickly.
However, from SL5.2 to SL5.3, yum update method as mentioned above
for several nodes (in which packages are not fully installed)
succeeded .
But on the several nodes (full-installed node) this method failed
with the
conflicts relating to the Perl modules.
(From SL5.2 to SL5.3)
yum update :
Transaction Summary
================================================================================
Install 14 Package(s) Update 422 Package(s)
Remove 1 Package(s) Total download size: 1.2 G
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /usr/lib/perl5/5.8.8/List/Util.pm from install of
perl-5.8.8-18.el5 conflicts with file from package
perl-5.8.8-10.el5_2.3
I agree with Valery, it's likely to be packages of different
architectures.
Here's how to check:
rpm -q perl
Probably it will be listed twice.
Another check:
20:55 [sum...@bobtail ~]$ rpm -qa perl\* --qf '%{name} %{arch}\n'
perl x86_64
perl-BSD-Resource x86_64
and so on.
I don't know the proper resolution to this, but Troy and Connie will
probably tell us.
I'm looking into this.
The original RHEL5 x86_64 had both perl.i386 and perl.x86_64. I know
we had left the perl.i386 in SL 5.2 because of this upgrade problem.
But with Update 3, there were several packages that changed arch, so I
really need to update the update page, with more than just the perl
update. I'll be doing that today. But for now, here is how to do it
1 - update files in your yum.repos.d directory
2 - yum clean all
3 - yum update yum
4 - yum remove perl.i386
5 - yum update glibc
6 - yum update
There will actually be 3 or 4 more steps because there are some other
packages that are troublesome. I'll reply to this when I have it done.
Troy
Hi, Troy, Valery
Thank you for the useful information. This yum-update problem to SL5.3
occurs on the X86_64 node where both perl x86_64 and i386 are installed.
# rpm -q perl
perl-5.8.8-10.el5_2.3.x86_64
perl-5.8.8-10.el5_2.3.i386
#
We have tested Troy's method as mentioned above for five nodes (x86_64)
which experienced yum-updated problem relating to the conflicts with perl.
All of them are successful. Following is a part of the yum update logs.
# rpm -q perl
perl-5.8.8-10.el5_2.3.x86_64
perl-5.8.8-10.el5_2.3.i386
#
(1 - update files in your yum.repos.d directory to point to 5.3)
(2 - yum clean all )
(3 - yum update yum)
(4 - yum remove perl.i386 )
# yum remove perl.i386
Loaded plugins: kernel-module
Setting up Remove Process
:
Dependencies Resolved
====================================================================
Package Arch Version
Repository Size
====================================================================
Removing:
perl i386 4:5.8.8-10.el5_2.3
installed 28 M
Transaction Summary
=====================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 1 Package(s)
Is this ok [y/N]:y
:
Transaction Test Succeeded
Running Transaction
Erasing : perl [1/1]
Removed: perl.i386 4:5.8.8-10.el5_2.3
Complete!
#
(5 - yum update glibc )
# yum update glibc
Loaded plugins: kernel-module
:
dependencies Resolved
Total download size: 31 M
Is this ok [y/N]: y
:
Downloading Packages:
(1/6): glibc-headers-2.5- 100% |=========================| 602 kB
00:00
(2/6): glibc-devel-2.5-34 100% |=========================| 2.0 MB
00:00
(3/6): glibc-devel-2.5-34 100% |=========================| 2.4 MB
00:00
(4/6): glibc-2.5-34.x86_6 100% |=========================| 4.7 MB
00:00
(5/6): glibc-2.5-34.i686. 100% |=========================| 5.2 MB
00:00
(6/6): glibc-common-2.5-3 100% |=========================| 16 MB
00:00
:
Updated: glibc.i686 0:2.5-34 glibc.x86_64 0:2.5-34 glibc-common.x86_64
0:2.5-34 glibc-devel.x86_64 0:2.5-34 glibc-devel.i386 0:2.5-34
glibc-headers.x86_64 0:2.5-34
Complete!
#
(6 - yum update )
# yum update
Transaction Summary
==========================================================================
Install 14 Package(s)
Update 421 Package(s)
Remove 1 Package(s)
Total download size: 1.2 G
Is this ok [y/N]:y
Downloading Packages:
(1/435): yum-conf-53-1.SL 100% |=========================| 6.3 kB
00:00
(2/435): libutempter-deve 100% |=========================| 6.8 kB
00:00
(3/435): rdate-1.4-8.el5. 100% |=========================| 9.9 kB 00:00
:
(433/435): kdebase-3.5.4- 100% |=========================| 28 MB
00:00
(434/435): kdebase-3.5.4- 100% |=========================| 28 MB
00:03
(435/435): openoffice.org 100% |=========================| 89 MB
00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : bash [ 1/857]
Updating : perl [ 2/857]
Updating : glib2 [ 3/857]
:
Cleanup : mkinitrd [855/857]
Cleanup : system-config-cluster [856/857]
Cleanup : NetworkManager-glib [857/857]
:
Complete!
#
Therefore, the Troy's method,
1 - update files in your yum.repos.d directory (to point to 5.3)
2 - yum clean all
3 - yum update yum
4 - yum remove perl.i386
5 - yum update glibc
6 - yum update
works without any problem in our environments. So far, I have done the
update from SL5.2 to SL5.3 for five nodes of X86_64 which contains
both perl-5.8.8-10.el5_2.3.x86_64 and perl-5.8.8-10.el5_2.3.i386 modules.
All of them are successful.
Thank you for the infomation.
Best Regards,
Takashi Ichihara