Problem during yum update

General support questions including new installations
User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Problem during yum update

Post by toracat » 2008/07/25 14:58:41

Richard,

I'm not sure how exactly you got the i386 version of perl on your x86_64 installation. Try removing it and see what happens.

rpm -e perl.i386

If it complains with some dependencies, try

yum remove perl.i386

and [b]inspect the list of packages to be removed[/b]. Make sure you check the arch (i386 vs x86_64). If you are sure they all can go, say Y to to the inquiry (y/N). This way you can delete perl i386.

[EDIT] error in the yum command corrected (Aug 2008)

richard_chapman
Posts: 252
Joined: 2006/09/08 02:54:11

Re: Problem during yum update

Post by richard_chapman » 2008/07/27 06:55:54

Thanks Toracat

The first command worked without errors - and the problem is now solved. All updates are now installed properly. Thank you very much for your help.

Richard.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Problem during yum update

Post by toracat » 2008/07/27 11:30:29

Richard,

I'm glad to hear the problem is gone. Now, I am more curious about the fact you had perl i386 on your x86_64 system. Any idea how this got installed? It could be related to the yum problem I'm trying to figure out, so your info would be valuable.

richard_chapman
Posts: 252
Joined: 2006/09/08 02:54:11

Re: Problem during yum update

Post by richard_chapman » 2008/07/28 02:32:12

Hi Toracat

I'm not at all sure how I got the i386 perl installed - but here is the most obvious possibility. Quoting from my notes....
---------
I instlled sarg 2.2.3.1-1.el5 via yum ? but the X86_64 seamed to have a ?segmentation fault? bug. I uninstalled it via webmin yum ? then installed the 1386 architecture of the same version from the DAG website (Browse and open with firefox on Centos).
-------

The thing which is a bit strange here is that according to my notes - I installed the i386 version of sarg by just "opening" the rpm file in a browser - so I assume that would just install with rpm. If so - it is a little hard to see how any dependencies would have been installed. If perl i386 was a dependency - it is a bit hard to see how it allowed me to remove perl i386. Also - sarg still appears to be working even after removing the perl i386.

The only other thing I have done involving i386 was to install some sort of "wrapper" for firefox which allows the x86_64 version of firefox to run 32 bit plug ins - because several plugins don't have an x86-64 version. (Flashplayer for one I think).

Not sure that this helps - but I can't think of anything else I have done related to i386. If I think of anything else - I'll post it here - but I'm off overseas for 3 weeks - so probably wont do anything more for a while.

Regards and thanks.

Richard.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Problem during yum update

Post by toracat » 2008/07/28 03:55:08

Hi Richard,

Thanks for the detailed description. So, something apparently "pulled" the i386 version of perl. When you get a chance, would you check /var/log/yum.log or yum.log.1 etc and see if you can find perl there? And if you find it, what else was installed on the same day?

Thanks again for your response.

richard_chapman
Posts: 252
Joined: 2006/09/08 02:54:11

Re: Problem during yum update

Post by richard_chapman » 2008/07/28 06:55:20

Hi Toracat

Here is all the stuff I can find from my logs - and I think the yum logs probably go back to when I first installed the system:

[root@C5 ~]# cd /var/log
[root@C5 log]# grep perl yum.log.2
Jun 29 15:52:29 Updated: mod_perl.x86_64 2.0.2-6.3.el5
Jul 30 11:52:01 Updated: perl-Net-DNS.x86_64 0.59-3.el5
Nov 15 18:22:24 Updated: perl.i386 5.8.8-10.el5_0.2
Nov 15 18:22:31 Updated: perl.x86_64 5.8.8-10.el5_0.2
[root@C5 log]# grep perl yum.log.1
Apr 15 18:51:29 Installed: perl-Net-CIDR-Lite.noarch 0.20-2.1.el5
Apr 15 18:51:30 Installed: perl-Mail-SPF-Query.noarch 1.999.1-3.el5
Apr 20 17:03:05 Installed: perl-XML-Parser.x86_64 2.34-6.1.2.2.1
Apr 20 17:03:06 Installed: perl-XML-Simple.noarch 2.14-4.fc6
Apr 20 17:03:06 Installed: perl-XML-NamespaceSupport.noarch 1.09-1.2.1
Apr 20 17:03:08 Installed: perl-XML-SAX.noarch 0.14-5
Apr 20 17:03:09 Installed: perl-XML-Filter-BufferText.noarch 1.01-2.el5
Apr 20 17:03:10 Installed: perl-XML-Validator-Schema.noarch 1.10-1.el5.rf
Jul 25 15:33:33 Installed: perl-XML-LibXML-Common.x86_64 0.13-8.2.2
Jul 25 15:33:48 Installed: perl-XML-LibXML.x86_64 1.58-5
[root@C5 log]# grep perl yum.log
Jul 27 12:19:37 Updated: perl - 4:5.8.8-10.el5_2.3.x86_64
[root@C5 log]# ll yum*
-rw------- 1 root root 115 Jul 27 12:19 yum.log
-rw------- 1 root root 38850 Jul 25 16:44 yum.log.1
-rw-r--r-- 1 root root 37024 Dec 4 2007 yum.log.2
[root@C5 log]#

This seems to suggest (to me at least) that it wasn't yum who installed the perl i386. It looks like it was installed quite a while back - and I can't figure out how it got installed...!

Hope this helps. I'm guessing that my problem is not related to our yum problem??

Regards

Richard.

richard_chapman
Posts: 252
Joined: 2006/09/08 02:54:11

Re: Problem during yum update

Post by richard_chapman » 2008/07/28 07:15:57

Hi again Toracat

My previous comments were based on the observation that the first reference I could find to perl i386 in the yum log was an "update". The file yum.log.2 starts on June 28 2007. I can't find exactly when I first installed Centos 5 but it was around that time. I did observer that the same day as these updates occurred - another i386 update occurred. Coincidence? I'm not sure what 'pcre" is.

From yum.log.2:

Nov 15 18:22:06 Updated: pcre.x86_64 6.6-2.el5_0.1
Nov 15 18:22:07 Updated: pcre.i386 6.6-2.el5_0.1
Nov 15 18:22:08 Updated: pcre-devel.x86_64 6.6-2.el5_0.1
Nov 15 18:22:24 Updated: perl.i386 5.8.8-10.el5_0.2
Nov 15 18:22:31 Updated: perl.x86_64 5.8.8-10.el5_0.2

Hope this helps.

Richard

NedSlider
Forum Moderator
Posts: 2897
Joined: 2005/10/28 13:11:50
Location: UK

Re: Problem during yum update

Post by NedSlider » 2008/07/28 09:06:03

Hi Richard,

It's normal (well, at least it is on my machine) to have both i386 and x86_64 versions of pcre installed.

PCRE = Perl-Compatible Regular Expression library :-)

richard_chapman
Posts: 252
Joined: 2006/09/08 02:54:11

Re: Problem during yum update

Post by richard_chapman » 2008/07/28 10:42:28

Thanks Nedslider...

OK. So I haven't dons something completely daft.. That's reassuring....:-) I think Toracat thought it was abnormal to have both - and having both seemed to cause me a problem with the Centos 5.2 updates. I had to remove the i386 perl so the 5.2 update for perl would install without errors.

I might have to leave this for you and Toracat to solve the mystery - because I'm off overseas in a few hours - and wont be around for 3 weeks. Please keep posting - and I'll try to pick up the threads when I get back

Thanks to all for your help

Richard.

NedSlider
Forum Moderator
Posts: 2897
Joined: 2005/10/28 13:11:50
Location: UK

Re: Problem during yum update

Post by NedSlider » 2008/07/28 12:18:26

[quote]
richard_chapman wrote:
Thanks Nedslider...

OK. So I haven't dons something completely daft.. That's reassuring....:-) I think Toracat thought it was abnormal to have both - and having both seemed to cause me a problem with the Centos 5.2 updates. I had to remove the i386 perl so the 5.2 update for perl would install without errors.

I might have to leave this for you and Toracat to solve the mystery - because I'm off overseas in a few hours - and wont be around for 3 weeks. Please keep posting - and I'll try to pick up the threads when I get back

Thanks to all for your help

Richard.[/quote]

Yes, it's normal to have some packages present in both i386 and x86_64 - just not perl that was causing you the problem.

Have a safe trip and we'll see what toracat has figured out by the time you return :-)

Post Reply