Login or sudo su - fails after Leapp upgrade from RHEL 7.9 to 9.4/9.6 with errors: /opt/rh/rh-python38/enable: No such file, Can't read /etc/scl/conf/rh-postgresql10
Issue
-
After performing a Leapp upgrade from RHEL 7.9 to RHEL 8.10 and finally to RHEL 9.6/RHEL 9.4, switching to the root user or any other user using
sudo su -orsu -fails with the following errors:-bash: /opt/rh/rh-python38/enable: No such file or directory Unable to get file status /etc/scl/conf/rh-python38: No such file or directory Can't read /etc/scl/conf/rh-postgresql10, rh-postgresql10 is probably not installed
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- leapp
- SCL (Software Collections) packages such as:
- rh-python38
- rh-postgresql10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.