Hi all,

My home desktop machine runs Centos 7.9
Due to the Centos issues I want to migrate to Almalinux (8 or later).
I updated Centos 7.9
I found a/the site with the Elevate/Leapp route, so I started there.
After making steps as in the description (on that page), in
Leapp I did the preupgrade check, and that returns some issues which
seem to block the process:

>>> start of last part of screen output:

Complete!
==> Processing phase `TargetTransactionCheck`
====> * local_repos_inhibit
        Inhibits the upgrade if local repositories were found.
====> * dnf_transaction_check
        This actor tries to solve the RPM transaction to verify the all package 
dependencies can be successfully resolved.
Applying transaction workaround - yum config fix

Last metadata expiration check: 0:03:06 ago on Sat Dec  3 09:53:09 2022.
Process Process-464:
Traceback (most recent call last):

  File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in 
_bootstrap
    self.run()
  File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", 
line 72, in _do_run
    actor_instance.run(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/leapp/actors/__init__.py", line 290, 
in run
    self.process(*args)

  File 
"/usr/share/leapp-repository/repositories/system_upgrade/common/actors/dnftransactioncheck/actor.py",
 line 44, in process
    xfs_info=xfs_info, storage_info=storage_info, plugin_info=plugin_info
  File 
"/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/dnfplugin.py",
 line 371, in perform_transaction_check
    context=context, stage='check', target_repoids=target_repoids, 
plugin_info=plugin_info, tasks=tasks
  File 
"/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/dnfplugin.py",
 line 219, in _transaction
    e.stdout = e.stdout.encode('utf-8', 'xmlcharrefreplace')

AttributeError: can't set attribute


======================================================================================================
Actor dnf_transaction_check unexpectedly terminated with exit code: 1 - Please 
check the above details
======================================================================================================

>>> end of screen output.

I guess, something in python-2.7 is a problem;
I guess, something in leapp-repositories is a problem.
and maybe the AttributeError...

Being a simple and old Centosuser, I do not know how to solve this.
Can any member give the help to overcome this blocking?

Note: my Centos 7.9 uses 'yum' and not 'dnf' as a manager.

Reply via email to