File conflict on update

I update my FreePBX install every month via an automated script:

/usr/bin/yum update -y
/usr/sbin/fwconsole ma updateall
/usr/sbin/fwconsole r

Last night the script didn’t have seen to have ran, so I ran it manually. When first login into the console, I was told there were 266 (!) updates. This surprised me, but you never know right.

When first running the script I was presented with the following errors:

Error: Package: sangoma-pbx-1904-1.sng7.noarch (sng-pkgs)
Requires: kmod-via-rhine
Removing: kmod-via-rhine-1.5.2-1.sng7.x86_64 (@anaconda/1707)
kmod-via-rhine = 1.5.2-1.sng7
Available: kmod-via-rhine-1.5.1-4.sng7.x86_64 (sng-pkgs)
kmod-via-rhine = 1.5.1-4.sng7
Available: kmod-via-rhine-1.5.1-5.sng7.x86_64 (sng-pkgs)
kmod-via-rhine = 1.5.1-5.sng7
Available: kmod-via-rhine-1.5.1-6.sng7.x86_64 (sng-pkgs)
kmod-via-rhine = 1.5.1-6.sng7
Error: Package: sangoma-pbx-1904-1.sng7.noarch (sng-pkgs)
Requires: kmod-via-velocity
Removing: kmod-via-velocity-1.16-1.sng7.x86_64 (@anaconda/1707)
kmod-via-velocity = 1.16-1.sng7
Available: kmod-via-velocity-1.15-2.sng7.x86_64 (sng-pkgs)
kmod-via-velocity = 1.15-2.sng7
Available: kmod-via-velocity-1.15-3.sng7.x86_64 (sng-pkgs)
kmod-via-velocity = 1.15-3.sng7
Available: kmod-via-velocity-1.15-4.sng7.x86_64 (sng-pkgs)
kmod-via-velocity = 1.15-4.sng7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
No repos specified, using: [standard,unsupported,commercial,extended] from last GUI settings

When running it with --skip-broken the update ended up in lots of the following errors:

file /usr/lib64/python3.6/xml/sax/pycache/saxutils.cpython-36.opt-1.pyc from install of python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package python36u-libs-3.6.4-1.ius.centos7.x86_64
file /usr/lib64/python3.6/xml/sax/pycache/saxutils.cpython-36.opt-2.pyc from install of python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package python36u-libs-3.6.4-1.ius.centos7.x86_64
file /usr/lib64/python3.6/xml/sax/pycache/saxutils.cpython-36.pyc from install of python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package python36u-libs-3.6.4-1.ius.centos7.x86_64
file /usr/lib64/python3.6/xml/sax/pycache/xmlreader.cpython-36.opt-1.pyc from install of python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package python36u-libs-3.6.4-1.ius.centos7.x86_64
file /usr/lib64/python3.6/xml/sax/pycache/xmlreader.cpython-36.opt-2.pyc from install of python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package python36u-libs-3.6.4-1.ius.centos7.x86_64
file /usr/lib64/python3.6/xml/sax/pycache/xmlreader.cpython-36.pyc from install of python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package python36u-libs-3.6.4-1.ius.centos7.x86_64

When running rpm -Va --nofiles --nodigest nothing seems to happen.

Help?

Ran the command twice, then the update but am still running into the following errors:

–> Processing Dependency: kmod-via-velocity for package: sangoma-pbx-1904-1.sng7.noarch
–> Finished Dependency Resolution
Error: Package: sangoma-pbx-1904-1.sng7.noarch (sng-pkgs)
Requires: kmod-via-velocity
Removing: kmod-via-velocity-1.16-1.sng7.x86_64 (@anaconda/1707)
kmod-via-velocity = 1.16-1.sng7
Available: kmod-via-velocity-1.15-2.sng7.x86_64 (sng-pkgs)
kmod-via-velocity = 1.15-2.sng7
Available: kmod-via-velocity-1.15-3.sng7.x86_64 (sng-pkgs)
kmod-via-velocity = 1.15-3.sng7
Available: kmod-via-velocity-1.15-4.sng7.x86_64 (sng-pkgs)
kmod-via-velocity = 1.15-4.sng7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
No repos specified, using: [standard,unsupported,commercial,extended] from last GUI settings

Do I need to downgrade even more?

I went through this post and found I also might had to downgrade kmod-via-velocity. After doing this, my system is currently updating.

Fingers crossed.

[edit] All done, no issues! [/edit]

1 Like

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