convert2rhel fails with "ValueError: need more than 1 value to unpack"
Issue
-
convert2rhelfails with message:[12/07/2022 09:23:06] TASK - [Prepare: Checking if the installed packages are up-to-date] ******* Loaded plugins: fastestmirror Repo convert2rhel-for-rhel-7-rpms forced skip_if_unavailable=True due to: /etc/rhsm/ca/redhat-uep.pem Loading mirror speeds from cached hostfile * base: mirror.myfahim.com * extras: mirrors.nhanhoa.com * updates: mirror.myfahim.com System is up-to-date. [12/07/2022 09:23:13] TASK - [Prepare: Checking if the loaded kernel version is the most recent] No changes were made to the system. -
Traceback can be seen in the
/var/log/convert2rhel/convert2rhel.logfile:[12/07/2022 09:23:13] TASK - [Prepare: Checking if the loaded kernel version is the most recent] [12/07/2022 09:23:13] FILE - Calling command 'repoquery --quiet --qf "%{BUILDTIME}\t%{VERSION}-%{RELEASE}\t%{REPOID}" kernel' [12/07/2022 09:23:13] FILE - Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/convert2rhel/main.py", line 94, in main checks.perform_pre_checks() File "/usr/lib/python2.7/site-packages/convert2rhel/checks.py", line 68, in perform_pre_checks is_loaded_kernel_latest() File "/usr/lib/python2.7/site-packages/convert2rhel/checks.py", line 661, in is_loaded_kernel_latest _, latest_kernel, repoid = packages[0] ValueError: need more than 1 value to unpack
Environment
- CentOS Linux 7
convert2rhel-1.0-1.el7.noarch
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.