Centos 7.9 transition blocked, how to solve??
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.
Hi, Doing a transition/upgrade of major versions is IIRC generally not supported. So, what you would probably want to do is backup the existing CentOS 7.9, install AlmaLinux 8.x and then pull your stuff in from backup. Yes, it's cumbersome.. HTH /tony On Sun, 04 Dec 2022 13:53:04 -0000 just4safe@hotmail.com wrote:
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. _______________________________________________ AlmaLinux Users mailing list -- users@lists.almalinux.org To unsubscribe send an email to users-leave@lists.almalinux.org
--
Tony Albers
@Tony, Many thanks for your supportive reply, but: I found the 'elevate/leapp' method on this almalinux-site: "https://wiki.almalinux.org/elevate/ELevate-quickstart-guide.html" On that site is explicitely stated: "This guide contains steps on how to upgrade CentOS 7 to RHEL8 derivatives such as AlmaLinux, EuroLinux, CentOS Stream, Oracle, and Rocky Linux. You need CentOS 7 system installed to use this guide.". I used the steps of just this site, resulting in the blocking described earlier. I took the method for a valid one.. An alternative would be using the "almalinux-deploy.sh" script, but that is applicable only for transitions Centos 8 > Almalinux 8, and -sad enough- I don't get how to upgrade my Centos 7.9 to Centos 8, despite the method using multiple 'sed'-files, being hinted to on the github site offering the deploy script. "https://github.com/AlmaLinux/almalinux-deploy" The steps described for using these sed-commands (only one? which? all?) simply are too big for me. So I am blocked on 2 levels now... oldisnotnice
Hi again, Sorry for the trouble this is causing you. It's always been quite cumbersome to do this kind of upgrade. My best suggestion right now is to join: https://chat.almalinux.org/landing#/ And see if anyone in there can help you out. It looks like your python2.7 installation is broken. And since yum is dependent on that, you're kinda stranded. Unfortunately I only have limited time, so I can't help you out with that. /tony On Mon, 05 Dec 2022 14:38:35 -0000 just4safe@hotmail.com wrote:
@Tony,
Many thanks for your supportive reply, but: I found the 'elevate/leapp' method on this almalinux-site: "https://wiki.almalinux.org/elevate/ELevate-quickstart-guide.html"
On that site is explicitely stated: "This guide contains steps on how to upgrade CentOS 7 to RHEL8 derivatives such as AlmaLinux, EuroLinux, CentOS Stream, Oracle, and Rocky Linux. You need CentOS 7 system installed to use this guide.".
I used the steps of just this site, resulting in the blocking described earlier. I took the method for a valid one..
An alternative would be using the "almalinux-deploy.sh" script, but that is applicable only for transitions Centos 8 > Almalinux 8, and -sad enough- I don't get how to upgrade my Centos 7.9 to Centos 8, despite the method using multiple 'sed'-files, being hinted to on the github site offering the deploy script. "https://github.com/AlmaLinux/almalinux-deploy" The steps described for using these sed-commands (only one? which? all?) simply are too big for me.
So I am blocked on 2 levels now... oldisnotnice _______________________________________________ AlmaLinux Users mailing list -- users@lists.almalinux.org To unsubscribe send an email to users-leave@lists.almalinux.org
--
Tony Albers
I tried to register on that chat-link, system says 'check your email', but nothing arrives. No information as 'must be validated by owner' or alike... This, combined with the invalid information of almalinux (wiki) about the Elevate/Leapp route, and the very low traffic on this help-list, let me wonder how serious the almalinux project is active..... Might be better to use Centos 7.9 'till the e.o.l. date.... :-(
That's bad. I've just asked in the chat for somenone to help you out, stay tuned. /tony On Wed, 07 Dec 2022 09:33:57 -0000 just4safe@hotmail.com wrote:
I tried to register on that chat-link, system says 'check your email', but nothing arrives. No information as 'must be validated by owner' or alike... This, combined with the invalid information of almalinux (wiki) about the Elevate/Leapp route, and the very low traffic on this help-list, let me wonder how serious the almalinux project is active..... Might be better to use Centos 7.9 'till the e.o.l. date.... :-( _______________________________________________ AlmaLinux Users mailing list -- users@lists.almalinux.org To unsubscribe send an email to users-leave@lists.almalinux.org
--
Tony Albers
On Wed, 07 Dec 2022 14:35:12 -0000
"Jonathan Wright"
You should be able to receive emails now after I sorted some stuff on our MTA. _______________________________________________ AlmaLinux Users mailing list -- users@lists.almalinux.org To unsubscribe send an email to users-leave@lists.almalinux.org
Hi Jonathan,
Thanks for the effort, I hope he gets access and can solve the issues.
/tony
--
Tony Albers
participants (3)
-
Jonathan Wright
-
just4safe@hotmail.com
-
Tony Albers