MrMEEE / awx-rpm-v2

AWX-RPM Reignited
GNU Affero General Public License v3.0
33 stars 9 forks source link

install faild Error: Transaction test error #22

Closed wooyoungAhn closed 4 months ago

wooyoungAhn commented 4 months ago

Hello I get error when try install AWX in readhat 9.3 would you plz help me?

Total                                                                                                       874 kB/s | 420 MB     08:11     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Transaction test error:
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/__init__.cpython-39.opt-1.pyc conflicts between attempted installs of python3-receptorctl-1.4.2-1.el9.noarch and receptorctl-1.4.4-2.el9.x86_64
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/__init__.cpython-39.pyc conflicts between attempted installs of python3-receptorctl-1.4.2-1.el9.noarch and receptorctl-1.4.4-2.el9.x86_64
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/__main__.cpython-39.opt-1.pyc conflicts between attempted installs of python3-receptorctl-1.4.2-1.el9.noarch and receptorctl-1.4.4-2.el9.x86_64
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/__main__.cpython-39.pyc conflicts between attempted installs of python3-receptorctl-1.4.2-1.el9.noarch and receptorctl-1.4.4-2.el9.x86_64
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/cli.cpython-39.opt-1.pyc conflicts between attempted installs of python3-receptorctl-1.4.2-1.el9.noarch and receptorctl-1.4.4-2.el9.x86_64
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/cli.cpython-39.pyc conflicts between attempted installs of python3-receptorctl-1.4.2-1.el9.noarch and receptorctl-1.4.4-2.el9.x86_64
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/socket_interface.cpython-39.opt-1.pyc conflicts between attempted installs of python3-receptorctl-1.4.2-1.el9.noarch and receptorctl-1.4.4-2.el9.x86_64
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/socket_interface.cpython-39.pyc conflicts between attempted installs of python3-receptorctl-1.4.2-1.el9.noarch and receptorctl-1.4.4-2.el9.x86_64
  file /usr/lib/python3.9/site-packages/receptorctl/cli.py conflicts between attempted installs of python3-receptorctl-1.4.2-1.el9.noarch and receptorctl-1.4.4-2.el9.x86_64
  file /etc/receptor/receptor.conf conflicts between attempted installs of awx-rpm-23.8.1-5.el9.x86_64 and receptor-1.4.4-2.el9.x86_64
MrMEEE commented 4 months ago

Try to remove receptorctl, that is not something that I package...

wooyoungAhn commented 4 months ago

Hello @MrMEEE Thanks for your reply. I try remove and clean but I have same issue.

I think I found the cause. There appears to be a problem where the dnf package manager updates version 1.4.4-2 before installing AWX-RPM, and when installing AWX-RPM, 1.4.4-2 is already installed, preventing the installation of 1.4.2-1.

test : yum -y install awx-rpm-23.8.1-5.el9.x86_64

**[SKIPPED] python3-urllib3-1.26.17-1.el9.noarch.rpm: Already downloaded                                                                     
(292/294): python3-receptor-python-worker-1.4.4-2.el9.x86_64.rpm                                             62 kB/s |  17 kB     00:00    
(293/294): receptorctl-1.4.4-2.el9.x86_64.rpm                                                                89 kB/s |  28 kB     00:00    
(294/294): receptor-1.4.4-2.el9.x86_64.rpm                                                                  9.9 MB/s | 9.7 MB     00:00**    
--------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                       4.1 MB/s | 9.7 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Transaction test error:
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/__init__.cpython-39.opt-1.pyc from install of receptorctl-1.4.4-2.el9.x86_64 conflicts with file from package python3-receptorctl-1.4.2-1.el9.noarch
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/__init__.cpython-39.pyc from install of receptorctl-1.4.4-2.el9.x86_64 conflicts with file from package python3-receptorctl-1.4.2-1.el9.noarch
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/__main__.cpython-39.opt-1.pyc from install of receptorctl-1.4.4-2.el9.x86_64 conflicts with file from package python3-receptorctl-1.4.2-1.el9.noarch
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/__main__.cpython-39.pyc from install of receptorctl-1.4.4-2.el9.x86_64 conflicts with file from package python3-receptorctl-1.4.2-1.el9.noarch
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/cli.cpython-39.opt-1.pyc from install of receptorctl-1.4.4-2.el9.x86_64 conflicts with file from package python3-receptorctl-1.4.2-1.el9.noarch
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/cli.cpython-39.pyc from install of receptorctl-1.4.4-2.el9.x86_64 conflicts with file from package python3-receptorctl-1.4.2-1.el9.noarch
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/socket_interface.cpython-39.opt-1.pyc from install of receptorctl-1.4.4-2.el9.x86_64 conflicts with file from package python3-receptorctl-1.4.2-1.el9.noarch
  file /usr/lib/python3.9/site-packages/receptorctl/__pycache__/socket_interface.cpython-39.pyc from install of receptorctl-1.4.4-2.el9.x86_64 conflicts with file from package python3-receptorctl-1.4.2-1.el9.noarch
  file /usr/lib/python3.9/site-packages/receptorctl/cli.py from install of receptorctl-1.4.4-2.el9.x86_64 conflicts with file from package python3-receptorctl-1.4.2-1.el9.noarch
  file /etc/receptor/receptor.conf conflicts between attempted installs of awx-rpm-23.8.1-5.el9.x86_64 and receptor-1.4.4-2.el9.x86_64

is should be required python3-receptorctl-1.4.2-1.el9.noarch?

MrMEEE commented 4 months ago

Where does it get the receptor-1.4.4-2.el9.x86_64.rpm package from??

MrMEEE commented 4 months ago

python3-receptorctl-1.4.2-1.el9.noarch is correct.. but the receptor should be: receptor-1.4.4-1.el9.x86_64.rpm

wooyoungAhn commented 4 months ago

epel...

Available Packages
receptor.x86_64                                                       1.4.4-2.el9                                                       epel
[root@ip-172-30-3-112 ansible]# 
MrMEEE commented 4 months ago

ahh.. they made a new release, that broke mine...

I'll fix and get back to you..

MrMEEE commented 4 months ago

Should be fixed now for 23.8.1 and 23.9.0...

Start by removing receptor and receptorctl and try again :)

Let me know if it helps

MrMEEE commented 4 months ago

Closing due to no feedback, please reopen if this problem turns up again