Yum Update errors following upgrade to SNG7

Hi All,

After upgrading from FPBX13 to FPBX14, my system shows there are 193 System updates available. When I attempt to run “yum update” as instructed, yum does its business and then ends with a whole slew of transaction check errors. I’ve tried my best to google this, and pushed my limited linux knowledge to its farthest edges, but can’t seem to resolve the conflicts (without an unacceptable, as I see it, risk at hosing the entire box).

Any insight on what I need to do to clean up whatever is out of sync and causing the conflict? Completing the upgrade I did need to run the fallback script as there were errors the first go-round.

Happy to provide any other info as needed … would just like to be able to get everything up to date!

Thanks in advance :slight_smile:

Relevant yum output::

Transaction check error:
file /usr/share/syslinux/cat.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/chain.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/cmd.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/config.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/cpuid.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/cpuidtest.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/disk.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/dmitest.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/elf.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/ethersel.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/gfxboot.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/gpxecmd.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/gpxelinux.0 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/gpxelinuxk.0 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/hdt.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/host.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/ifcpu.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/ifcpu64.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/ifplop.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/isohdpfx.bin from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/isohdpfx_c.bin from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/isohdpfx_f.bin from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/isohdppx.bin from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/isohdppx_c.bin from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/isohdppx_f.bin from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/isolinux-debug.bin from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/isolinux.bin from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/kbdmap.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/linux.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/ls.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/lua.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/mboot.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/memdisk from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/memdump.com from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/meminfo.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/menu.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/pcitest.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/pmload.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/pwd.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/pxelinux.0 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/reboot.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/rosh.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/sanboot.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/sdi.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/sysdump.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/syslinux.com from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/syslinux.exe from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/syslinux64.exe from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/vesainfo.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/vesamenu.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/vpdtest.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch
file /usr/share/syslinux/whichsys.c32 from install of syslinux-4.05-13.el7.x86_64 conflicts with file from package syslinux-nonlinux-4.04-3.el6.noarch

Error Summary

(full output can be provided, it just won’t let me put it all in a single post)

Did you ever get a fix for this problem?

I upgraded a server today and have the same issue.

No, never heard a peep.

The repair script (on the upgrade page) will fix this, just FYI.

Thanks, Rob, for that info. I wish I’d realized that months ago.
Now, however, there’s a different issues, duplicates and python and perl errors … i have no idea how all this stuff got so jacked up, i haven’t been able to do any updates in months…

Here is the yum update results (26.3 KB) if you or anyone reading this has any clue. The check errors are obviously all listed at the end … of course there’s a good chance that the original errors will pop up once these errors are resolved, but at least i know how to fix those if and when they resurface.

Any help now would be greatly appreciated.

Thanks!

python(abi) = 2.6 is needed by (installed) python-argparse-1.2.1-2.el6.centos.noarch

You’ve still got el6 packages on your machine - the repair script goes through and deletes them explicitly

rpm --erase --nodeps $(for pkg in $(rpm -qa | grep '\.el[56]\.' | grep -v kmod | grep -v kernel); do rpm -q $pkg --qf '%{NAME} ' ; done) 

You can run that command and then yum update and - just to be safe - yum reinstall sangoma-pbx which will make sure everything’s up to date. Or, just run the repair script, which should fix it all up for you. I’m guessing it’s possible you had an old version or something?

As best as I can remember, the initial upgrade failed, so I ran the upgrade script, and ever since then I’ve had the errors. Your command returns an error about duplicates, am i safe to yum remove all of the i686 dup packages (im running in 64) ? or should i just run the repair script? (also, to confirm, the repair script is:
wget http://package1.sangoma.net/post_upgrade
chmod 755 ./post_upgrade
./post_upgrade
this one, correct?

(again, THANK YOU, this been been driving me berserk for months, and my linux skills are, frankly, pathetic)

Hmm, I’m guessing you did the upgrade a LONG time ago - I added detection for 32 bit packages ages ago. Yes, you can PROBABLY delete them, but make sure you’re not deleting anything critical like ‘bash’ or ‘init’ or ‘ssh’ that’s going to terminally kill your machine 8)

Youl should be able to run rpm -qa | grep i686 to get a list, and just rpm --erase --no-deps rpm_name to get rid of them.

2 Likes

THANK YOU!!!
July 23 will forever be celebrated as Rob Thomas day in the Levine household.
Your system is currently up to date! has never looked so good!

2 Likes

Actually my Birthday, so that works out well 8)

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.