Yum Update Transaction Error!


(Brian) #1

Hello,

I’m getting the following error:

file /usr/lib64/python3.6/dbm/pycache/ndbm.cpython-36.opt-2.pyc from install of python3-libs-3.6.8-13.el7.x86_64 conflicts with file from package python36u-libs-3.6.7-1.ius.centos7.x86_64
file /usr/lib64/python3.6/dbm/pycache/ndbm.cpython-36.pyc from install of python3-libs-3.6.8-13.el7.x86_64 conflicts with file from package

Any ideas a work around this issue?

Thanks!


Yum updtaes fail with blank Error Summary
(Scristopher7) #2

Try to update your repos with

yum clean all
yum update sangoma-release

Then see if you continue to have the transaction problem.
Edit: Fixed typo in sangoma-release, my dash was removed by formatting for some reason :\


(Brian) #3

No luck here is the result:

[root@efax ~]# yum clean all
Loaded plugins: fastestmirror, versionlock
Cleaning repos: sng-base sng-epel sng-extras sng-pkgs sng-updates veeam
Cleaning up list of fastest mirrors
Other repos take up 736 M of disk space (use --verbose for details)
[root@efax ~]# yum update sangoma-release
Loaded plugins: fastestmirror, versionlock
Existing lock /var/run/yum.pid: another copy is running as pid 4506.
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 43 M RSS (440 MB VSZ)
Started: Mon Nov 16 17:19:10 2020 - 00:01 ago
State : Sleeping, pid: 4506
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 43 M RSS (440 MB VSZ)
Started: Mon Nov 16 17:19:10 2020 - 00:03 ago
State : Sleeping, pid: 4506
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 43 M RSS (440 MB VSZ)
Started: Mon Nov 16 17:19:10 2020 - 00:05 ago
State : Sleeping, pid: 4506
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 43 M RSS (440 MB VSZ)
Started: Mon Nov 16 17:19:10 2020 - 00:07 ago
State : Sleeping, pid: 4506
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 43 M RSS (440 MB VSZ)
Started: Mon Nov 16 17:19:10 2020 - 00:09 ago
State : Running, pid: 4506
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 43 M RSS (440 MB VSZ)
Started: Mon Nov 16 17:19:10 2020 - 00:11 ago
State : Running, pid: 4506
Loading mirror speeds from cached hostfile
No packages marked for update


(Scristopher7) #4

There is another application using yum at this time, youll either need to wait for it to finish or kill it off manually (kill -9 4506)


(Brian) #5

After running yum update sangoma-release:

[root@efax ~]# yum update sangoma-release
Loaded plugins: fastestmirror, versionlock
Determining fastest mirrors
sng-base | 3.6 kB 00:00
sng-epel | 2.9 kB 00:00
sng-extras | 2.9 kB 00:00
sng-pkgs | 3.4 kB 00:00
sng-updates | 2.9 kB 00:00
veeam | 3.3 kB 00:00
(1/7): sng-base/7-8.2003.3.el7.sangoma/x86_64/group_gz | 153 kB 00:00
(2/7): sng-extras/7-8.2003.3.el7.sangoma/x86_64/primary_db | 206 kB 00:00
(3/7): sng-pkgs/7-8.2003.3.el7.sangoma/x86_64/primary_db | 782 kB 00:00
(4/7): veeam/primary_db | 15 kB 00:00
(5/7): sng-base/7-8.2003.3.el7.sangoma/x86_64/primary_db | 6.1 MB 00:01
(6/7): sng-updates/7-8.2003.3.el7.sangoma/x86_64/primary_d | 4.5 MB 00:01
(7/7): sng-epel/7-8.2003.3.el7.sangoma/x86_64/primary_db | 7.3 MB 00:01
No packages marked for update


(Scristopher7) #7

this was after you upgraded sangoma-release or did it not need an update?


(Jared Busch) #8

You have some non-distro package installed that is using the ius repo. That repo is not native.

Aside from the repo zerotier this is what you should see with the command yum repolist enabled


(Scristopher7) #9

@sorvani this has happened to me before without any non distro repos setup for this exact package, I cant remember how I fixed it but I believe it had something to do with the sng repos, but fixing it was so minor that I’ve completely forgotten how to fix it. I know it says IUS but for some reason it was in the repo at some point in time. If you google search that package and freepbx you’ll see a few other threads on this issue. Looking at the packages included in SNG7-FPBX-64bit-1904-2 it seems that python36u-libs-3.6.7-1.ius.centos7.x86_64 was included for whatever reason.


(Brian) #10

Yes that is correct:

[root@efax ~]# yum repolist enabled
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
repo id repo name status
!sng-base/7-8.2003.3.el7.sangoma/x86_64 Sangoma-7-8.2003.3.el7.sangoma 10,070
!sng-epel/7-8.2003.3.el7.sangoma/x86_64 Sangoma-7-8.2003.3.el7.sangoma 15,649
!sng-extras/7-8.2003.3.el7.sangoma/x86_64 Sangoma-7-8.2003.3.el7.sangoma 413
!sng-pkgs/7-8.2003.3.el7.sangoma/x86_64 Sangoma-7-8.2003.3.el7.sangoma 1,412
!sng-updates/7-8.2003.3.el7.sangoma/x86_64 Sangoma-7-8.2003.3.el7.sangoma 1,127
!veeam Veeam Backup for GNU/Linux - x 39
repolist: 28,710

Still not sure how to resolve this problem. :confused:


(Brian) #12

No Upgrade Needed…


(Scristopher7) #13

I found a machine today that has the same package on it and am working on getting it upgraded, I can confirm it is from the sng repo

[root@freepbx ~]# yum info python36u-libs-3.6.7-1.ius.centos7.x86_64
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
Installed Packages
Name        : python36u-libs
Arch        : x86_64
Version     : 3.6.7
Release     : 1.ius.centos7
Size        : 40 M
Repo        : installed
From repo   : sng-pkgs
Summary     : Python runtime libraries
URL         : https://www.python.org/
License     : Python
Description : This package contains runtime libraries for use by Python:
            : - the majority of the Python standard library
            : - a dynamically linked library for use by applications that embed Python as
            :   a scripting language, and by the main "python3" executable

Strangely I had no issue updating this machine though so now I’m at a loss here unless I can find one that has the same issue again.