# Update path from CentOS 7.9 to Rocky 9

**URL:** <https://forums.rockylinux.org/t/update-path-from-centos-7-9-to-rocky-9/8948>\
**Category:** Rocky Linux Help & Support\
**Created:** [February 18, 2023, 3:23pm UTC](https://forums.rockylinux.org/t/update-path-from-centos-7-9-to-rocky-9/8948 "2023-02-18T15:23:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tux](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@tux](https://forums.rockylinux.org/u/tux)\
**Post date:** [February 18, 2023, 3:23pm UTC](https://forums.rockylinux.org/t/update-path-from-centos-7-9-to-rocky-9/8948/1 "2023-02-18T15:23:31Z")

</div>

Hello,  
I have found that the official tool used by RedHat for this will be called “ELevate”.

> **[Upgrading from RHEL 7 to RHEL 8 Red Hat Enterprise Linux 8 | Red Hat Customer...](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/upgrading_from_rhel_7_to_rhel_8/index)**
>
> This document provides instructions on how to perform an in-place upgrade from Red Hat Enterprise Linux 7 to Red Hat Enterprise Linux 8 using the Leapp utility. During the in-place upgrade, the existing RHEL 7 operating...

The developers of Alma has build the needed data packages for Rocky 8.

So my path will be CentOS 7.9 → Rocky 8 → Rocky 9.

The manual are here:

> **[ELevate Quickstart Guide | AlmaLinux Wiki](https://wiki.almalinux.org/elevate/ELevate-quickstart-guide.html)**
>
> AlmaLinux OS Documentation

I have try it, but it fails with many errors about Python 2 and utf-8 strings.

> leapp preupgrade

will fails with:

> ====\> \* vendor\_signed\_rpm\_scanner  
> Provide data about installed RPM Packages signed by Red Hat.  
> Process Process-250:  
> 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/redhatsignedrpmscanner/actor.py”, line 125, in process  
> “Package {} is unsigned, packager: {}, signature: {}”.format(pkg.name, pkg.packager, pkg.pgpsig)  
> UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xfc’ in position 7: ordinal not in range(128)

Have any one any experience with it?

---

<div class="post-metadata">

**Author:** ![tux](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@tux](https://forums.rockylinux.org/u/tux)\
**Post date:** [February 18, 2023, 5:49pm UTC](https://forums.rockylinux.org/t/update-path-from-centos-7-9-to-rocky-9/8948/2 "2023-02-18T17:49:15Z")

</div>

Some news about it.  
The python error comes from the fact, that several fields in the rpm package database can contains utf-8 strings. But the tool currently have problems with this fields. So I have informed the developers about it.  
As an workaround, remove all packages which contains utf-8 chars. Here an sample call, to find the problematic one(s):  
`rpm -qa --queryformat="%{=NAME} Version %{=VERSION} packager: %{=PACKAGER} \n"`

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:24am UTC](https://forums.rockylinux.org/t/update-path-from-centos-7-9-to-rocky-9/8948/3 "2023-08-25T03:24:33Z")

</div>

Closed on August 25, 2023, 3:24am UTC


