YUM Segmentation Fault

General support questions
User avatar
TrevorH
Site Admin
Posts: 33218
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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

DateMike
Posts: 27
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
Retired Moderator
Posts: 3046
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
Retired Moderator
Posts: 3046
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
Site Admin
Posts: 33218
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 ?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

DateMike
Posts: 27
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
Site Admin
Posts: 33218
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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

DateMike
Posts: 27
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