YUM Segmentation Fault

General support questions
User avatar
TrevorH
Forum Moderator
Posts: 23447
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: YUM Segmentation Fault

Post by TrevorH » 2018/01/13 10:29:04

Put the last 100 lines or so up on http://pastebin.centos.org and post the link to it here.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

DateMike
Posts: 26
Joined: 2016/12/07 06:24:03

Re: YUM Segmentation Fault

Post by DateMike » 2018/01/14 09:39:48

Hi Guys,

Pastbin: http://pastebin.centos.org/495816/

It's a lot more than the last 100, but the last 100 all seem the same to me?

Cheers,

User avatar
avij
Forum Moderator
Posts: 2648
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: YUM Segmentation Fault

Post by avij » 2018/01/14 12:31:10

Seems like yum crashes while reading /var/cache/yum/x86_64/7/opennms-repo-stable-common/gen/primary.xml

Try rm -rf /var/cache/yum/*

User avatar
avij
Forum Moderator
Posts: 2648
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: YUM Segmentation Fault

Post by avij » 2018/01/14 12:54:47

In case the above does not work..

I see from your output that yum tries to use some libraries from /opt/VDC/tomcat/lib and those may cause problems for yum. Perhaps LD_LIBRARY_PATH="" yum install putty would work.

User avatar
TrevorH
Forum Moderator
Posts: 23447
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: YUM Segmentation Fault

Post by TrevorH » 2018/01/14 15:58:40

Does it still do it if you run yum --disablerepo=opennms\* update ?
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

DateMike
Posts: 26
Joined: 2016/12/07 06:24:03

Re: YUM Segmentation Fault

Post by DateMike » 2018/01/15 05:51:29

Hi Guys,

Running:

Code: Select all

yum --disablerepo=opennms\* install putty
worked, would I need to run the disablerepo command every time from now on?

Cheers,

User avatar
TrevorH
Forum Moderator
Posts: 23447
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: YUM Segmentation Fault

Post by TrevorH » 2018/01/15 07:13:05

You need to report the problem to opennms - something in their repodata is bad and causing the crash.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

DateMike
Posts: 26
Joined: 2016/12/07 06:24:03

Re: YUM Segmentation Fault

Post by DateMike » 2018/01/15 07:28:02

Thanks guys, will report to opennms on this, at least it is temporarily fixed for the time being.

Cheers,

Post Reply