leapp-repository icon indicating copy to clipboard operation
leapp-repository copied to clipboard

Deal with python36 packages

Open opoplawski opened this issue 2 years ago • 0 comments

Actual behavior Trying to upgrade a EL7 machine with a number of python36 packages from EPEL installed:

Error: Transaction test error:
  file /usr/lib/python3.6/site-packages/__pycache__/six.cpython-36.opt-1.pyc from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch
  file /usr/lib/python3.6/site-packages/__pycache__/six.cpython-36.pyc from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch
  file /usr/lib/python3.6/site-packages/six.py from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch
  file /usr/lib/python3.6/site-packages/urllib3/__init__.py from install of python3-urllib3-1.24.2-5.el8.noarch conflicts with file from package python36-urllib3-1.25.6-2.el7.noarch
  file /usr/lib/python3.6/site-packages/urllib3/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-urllib3-1.24.2-5.el8.noarch conflicts with file from package python36-urllib3-1.25.6-2.el7.noarch
  file /usr/lib/python3.6/site-packages/urllib3/__pycache__/__init__.cpython-36.pyc from install of python3-urllib3-1.24.2-5.el8.noarch conflicts with file from package python36-urllib3-1.25.6-2.el7.noarch
...

To Reproduce Steps to reproduce the behavior

  1. install 'python36-urllib3'
  2. run 'leap upgrade (when run leapp, use always the --debug option to provide more data)
  3. See error

Expected behavior Probably should just remove all of the python36-* packages in the transaction, perhaps also installing the python3-* versions.

System information (please complete the following information):

  • OS and version: Scientific Linux 7.9
  • # uname -a Linux vmsl7.cora.nwra.com 3.10.0-1160.76.1.el7.x86_64 #1 SMP Tue Aug 9 08:47:12 CDT 2022 x86_64 x86_64 x86_64 GNU/Linux
  • # rpm -qa "*leapp*" (or shorthashes of commits in case of manual installation):
# rpm -qa "leapp*"
leapp-0.14.0-1.el7.noarch
leapp-upgrade-el7toel8-deps-0.16.0-0.202210212211Z.463e9e4.sl.el7_7.noarch
leapp-upgrade-el7toel8-0.16.0-0.202210212211Z.463e9e4.sl.el7_7.noarch
leapp-deps-0.14.0-1.el7.noarch
leapp-data-almalinux-0.1-6.el7.noarch
python2-leapp-0.14.0-1.el7.noarch

Attach (or provide link to) log files if applicable (optional - may contain confidential information):

  • All files in /var/log/leapp
  • /var/lib/leapp/leapp.db
  • journalctl
  • If you want, you can optionally send anything else would you like to provide (e.g. storage info)

For your convenience you can pack all logs with this command:

# [leapp-logs.tar.gz](https://github.com/AlmaLinux/leapp-repository/files/9890928/leapp-logs.tar.gz)

Then you may attach only the leapp-logs.tar.gz file.


Additional context Add any other context about the problem here.

opoplawski avatar Oct 28 '22 18:10 opoplawski