Skip to content

Instantly share code, notes, and snippets.

@zhukovgreen
Created February 4, 2021 14:36
Show Gist options
  • Save zhukovgreen/bbe9a306d5d3cc536e9dff264358eb14 to your computer and use it in GitHub Desktop.
Save zhukovgreen/bbe9a306d5d3cc536e9dff264358eb14 to your computer and use it in GitHub Desktop.
failing convertin oracle linux 6 traceback
[02/04/2021 14:18:04] TASK - [Prepare: End user license agreement] ******************************
The following text is a copy of the November 18, 2019 version of Red Hat GPLv2-Based End User License Agreement (EULA) [1].
For up-to-date version of the EULA, visit [2].
[1] https://www.redhat.com/licenses/Red_Hat_GPLv2-Based_EULA_20191118.pdf
[2] https://www.redhat.com/en/about/agreements
END USER LICENSE AGREEMENT
RED HAT GPLv2-BASED
PLEASE READ THIS END USER LICENSE AGREEMENT CAREFULLY BEFORE USING SOFTWARE FROM RED HAT. BY USING RED HAT SOFTWARE, YOU SIGNIFY YOUR ASSENT TO AND ACCEPTANCE OF THIS END USER LICENSE AGREEMENT AND ACKNOWLEDGE YOU HAVE READ AND UNDERSTAND THE TERMS. AN INDIVIDUAL ACTING ON BEHALF OF AN ENTITY REPRESENTS THAT HE OR SHE HAS THE AUTHORITY TO ENTER INTO THIS END USER LICENSE AGREEMENT ON BEHALF OF THAT ENTITY. IF YOU DO NOT ACCEPT THE TERMS OF THIS AGREEMENT, THEN YOU MUST NOT USE THE RED HAT SOFTWARE. THIS END USER LICENSE AGREEMENT DOES NOT PROVIDE ANY RIGHTS TO RED HAT SERVICES SUCH AS SOFTWARE MAINTENANCE, UPGRADES OR SUPPORT. PLEASE REVIEW YOUR SERVICE OR SUBSCRIPTION AGREEMENT(S) THAT YOU MAY HAVE WITH RED HAT OR OTHER AUTHORIZED RED HAT SERVICE PROVIDERS REGARDING SERVICES AND ASSOCIATED PAYMENTS.
This end user license agreement ("EULA") governs the use of any Red Hat software application that includes or refers to this license and any related updates, source code, appearance, structure and organization (the "Programs"), regardless of the delivery mechanism.
1.
License Grant. Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to you a perpetual, worldwide license to the Programs (each of which may include multiple software components) pursuant to the GNU General Public License v.2 (https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html). With the exception of certain image files identified in Section 2 below, each software component is governed by a license located in the software component's source code that permits you to run, copy, modify, and redistribute (subject to certain obligations in some cases) the software component. The license rights for the binary only firmware components are located with the components themselves. This EULA pertains solely to the Programs and does not limit your rights under, or grant you rights that supersede, the license terms of any particular component.
2.
Intellectual Property Rights. The Programs and each of their components are owned by Red Hat and other licensors and are protectedunder copyright law and other laws as applicable. Title to the Programs and any component, or to any copy or modification shall remain with Red Hat and other licensors, subject to the applicable license. The "Red Hat" mark, the individual Program marks, and the "Red Hat" logo are trademarks or registered trademarks of Red Hat and its affiliates in the U.S. and other countries. This EULA does not permit you to distribute the Programs using Red Hat's trademarks, regardless of whether the Programs have been modified. You may make a commercial redistribution of the Programs only if (a) permitted under a separate written agreement with Red Hat authorizing such commercial redistribution or (b) you remove and replace all occurrences of Red Hat trademarks and logos. Modifications to the software may corrupt the Programs. You should read the information found at http://www.redhat.com/about/corporate/trademark/ before distributing a copy of the Programs.
3.
Limited Warranty. Except as specifically stated in this Section 3, a separate agreement with Red Hat, or a license for a particular component, to the maximum extent permitted under applicable law, the Programs and the components are provided and licensed "as is" without warranty of any kind, express or implied, including the implied warranties of merchantability, non-infringement or fitness for a particular purpose. Red Hat warrants that the media on which the Programs and the components are provided will be free from defects in materials and manufacture under normal use for a period of 30 days from the date of delivery to you. Neither Red Hat nor its affiliates warrant that the functions contained in the Programs will meet your requirements or that the operation of the Programs will be entirely error free, appear or perform precisely as described in the accompanying documentation, or comply with regulatory requirements. This warranty extends only to the party that purchases subscription services for the Programs from Red Hat and/or its affiliates or a Red Hat authorized distributor.
4.
Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, your exclusive remedy under this EULA is to return any defective media within 30 days of delivery along with a copy of your payment receipt and Red Hat, at its option, will replace it or refund the money you paid for the media. To the maximum extent permitted under applicable law, under no circumstances will Red Hat, its affiliates, any Red Hat authorized distributor, or the licensor of any component provided to you under this EULA be liable to you for any incidental or consequential damages, including lost profits or lost savings arising out of the use or inability to use the Programs or any component, even if Red Hat, its affiliates, an authorized distributor, and/or licensor has been advised of the possibility of such damages. In no event shall Red Hat's or its affiliates' liability, an authorized distributor's liability or the liability of the licensor of a component provided to you under this EULA exceed the amount that you paid to Red Hat for the media under this EULA.
5.
Export Control. You understand that countries, including the U.S., may restrict the import, use, export, re-export or transfer of encryption products and other controlled materials (which may include the Programs or related technical information licensed hereunder) ("Controlled Materials"). As required by U.S. law, you represent and warrant that you: (a) understand that certain of the Controlled Materials are of U.S. origin and subject to export controls under the U.S. Export Administration Regulations (the "EAR"); (b) are not located in (or owned or controlled by any person or entity located in) any country listed in Country Group E:1 in Supplement No. 1 to part 740 of the EAR; or by any person or entity listed on the U.S. Department of Treasury Office of Foreign Assets Control ("OFAC") list of Specially Designated Nationals and Blocked Persons ("SDNs") (and are not 50% or more owned or controlled by any one or more persons or entities identified on the SDN list); (c) will not export, re-export or transfer the Controlled Materials to (1) any prohibited destination, (2) anyone who has been prohibited from participating in U.S. export transactions by any federal agency of the U.S. government or (3) any end user who you know or have reason to know will use them in the design, development or production of nuclear, chemical or biological weapons, or rocket systems, space launch vehicles, or sounding rockets, or unmanned air vehicle systems or any other prohibited use under the EAR; and (d) understand and agree that if you are in the United States and export, re-export or transfer the Controlled Materials to eligible end users, you will, to the extent required by EAR Section 740.17(e), submit semi-annual reports to the U.S. Commerce Department's Bureau of Industry and Security, that include the name and address (including country) of each transferee.
6.
Third Party Software. The Programs may be provided with third party software that are not part of the Programs. These third party software are not required to run the Programs, are provided as a convenience to you, and are subject to their own license terms. The license terms either accompany the third party software or can be viewed at http://www.redhat.com/licenses/thirdparty/eula.html. If you do not agree to abide by the applicable license terms for the third party software, then you may not install them. If you wish to install the third party software on more than one system or transfer the third party software to another party, then you must contact the licensor of the applicable third party software.
7.
General. If any provision of this EULA is held to be unenforceable, the enforceability of the remaining provisions shall not be affected. Any claim, controversy or dispute arising under or relating to this EULA shall be governed by the laws of the State of New York and of the United States, without regard to any conflict of laws provisions. The rights and obligations of the parties to this EULA shall not be governed by the United Nations Convention on the International Sale of Goods.
Copyright 2019 Red Hat, Inc. All rights reserved. The Program marks, "Red Hat" mark and the Red Hat logo are trademarks or registered trademarks of Red Hat, Inc. All other trademarks are the property of their respective owners.
WARNING - By continuing you accept this EULA.
[02/04/2021 14:18:05] TASK - [Prepare: Gather system information] *******************************
Name: Oracle Linux Server
OS version: 6.10
[02/04/2021 14:18:05] DEBUG - Calling command 'uname -i'
Architecture: x86_64
Config filename: oracle-6-x86_64.cfg
Running the 'rpm -Va' command which can take several minutes. It can be disabled by using the --no-rpm-va option.
[02/04/2021 14:18:05] DEBUG - Calling command 'rpm -Va'
The 'rpm -Va' output has been stored in the /var/log/convert2rhel/rpm_va.log file
[02/04/2021 14:18:20] TASK - [Prepare: Backup System] *******************************************
Backing up /etc/system-release
Copying /etc/system-release to /var/lib/convert2rhel/backup
Backing up /etc/yum.conf
Copying /etc/yum.conf to /var/lib/convert2rhel/backup
[02/04/2021 14:18:20] TASK - [Prepare: Clear YUM/DNF version locks] *****************************
Usage of YUM/DNF versionlock plugin not detected.
[02/04/2021 14:18:20] TASK - [Convert: List third-party packages] *******************************
WARNING - Only packages signed by Oracle Linux Server are to be reinstalled. Red Hat support won't be provided for the following third party packages:
Package Vendor/Packager Repository
------- --------------- ----------
convert2rhel-0.15-1.20210204120551256855.pr100.60.gc85c73e.el6.noarch Fedora Copr - group @oamg copr:copr.fedorainfracloud.org:group_oamg:convert2rhel
[02/04/2021 14:18:54] DEBUG - Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/convert2rhel/main.py", line 77, in main
pre_ponr_conversion()
File "/usr/lib/python2.6/site-packages/convert2rhel/main.py", line 155, in pre_ponr_conversion
pkghandler.list_third_party_pkgs()
File "/usr/lib/python2.6/site-packages/convert2rhel/pkghandler.py", line 314, in list_third_party_pkgs
utils.ask_to_continue()
File "/usr/lib/python2.6/site-packages/convert2rhel/utils.py", line 240, in ask_to_continue
cont = prompt_user("\nContinue with the system conversion? [y/n]: ")
File "/usr/lib/python2.6/site-packages/convert2rhel/utils.py", line 253, in prompt_user
response = moves.input(color_question)
EOFError
WARNING - Abnormal exit! Performing rollback ...
[02/04/2021 14:18:54] TASK - [Rollback: Unregistering the system from RHSM] *********************
[02/04/2021 14:18:54] DEBUG - Calling command 'subscription-manager unregister'
WARNING - subscription-manager not installed, skipping
[02/04/2021 14:18:54] TASK - [Rollback: Removing installed packages] ****************************
No package to remove
[02/04/2021 14:18:54] TASK - [Rollback: Installing removed packages] ****************************
No package to install
[02/04/2021 14:18:54] TASK - [Rollback: Restoring /etc/system-release from backup] **************
File /etc/system-release restored
[02/04/2021 14:18:54] TASK - [Rollback: Restoring /etc/yum.conf from backup] ********************
File /etc/yum.conf restored
[02/04/2021 14:18:54] TASK - [Rollback: Restoring /etc/yum/pluginconf.d/versionlock.list from backup]
WARNING - /etc/yum/pluginconf.d/versionlock.list hasn't been backed up
[02/04/2021 14:19:01] TASK - [Prepare: End user license agreement] ******************************
The following text is a copy of the November 18, 2019 version of Red Hat GPLv2-Based End User License Agreement (EULA) [1].
For up-to-date version of the EULA, visit [2].
[1] https://www.redhat.com/licenses/Red_Hat_GPLv2-Based_EULA_20191118.pdf
[2] https://www.redhat.com/en/about/agreements
END USER LICENSE AGREEMENT
RED HAT GPLv2-BASED
PLEASE READ THIS END USER LICENSE AGREEMENT CAREFULLY BEFORE USING SOFTWARE FROM RED HAT. BY USING RED HAT SOFTWARE, YOU SIGNIFY YOUR ASSENT TO AND ACCEPTANCE OF THIS END USER LICENSE AGREEMENT AND ACKNOWLEDGE YOU HAVE READ AND UNDERSTAND THE TERMS. AN INDIVIDUAL ACTING ON BEHALF OF AN ENTITY REPRESENTS THAT HE OR SHE HAS THE AUTHORITY TO ENTER INTO THIS END USER LICENSE AGREEMENT ON BEHALF OF THAT ENTITY. IF YOU DO NOT ACCEPT THE TERMS OF THIS AGREEMENT, THEN YOU MUST NOT USE THE RED HAT SOFTWARE. THIS END USER LICENSE AGREEMENT DOES NOT PROVIDE ANY RIGHTS TO RED HAT SERVICES SUCH AS SOFTWARE MAINTENANCE, UPGRADES OR SUPPORT. PLEASE REVIEW YOUR SERVICE OR SUBSCRIPTION AGREEMENT(S) THAT YOU MAY HAVE WITH RED HAT OR OTHER AUTHORIZED RED HAT SERVICE PROVIDERS REGARDING SERVICES AND ASSOCIATED PAYMENTS.
This end user license agreement ("EULA") governs the use of any Red Hat software application that includes or refers to this license and any related updates, source code, appearance, structure and organization (the "Programs"), regardless of the delivery mechanism.
1.
License Grant. Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to you a perpetual, worldwide license to the Programs (each of which may include multiple software components) pursuant to the GNU General Public License v.2 (https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html). With the exception of certain image files identified in Section 2 below, each software component is governed by a license located in the software component's source code that permits you to run, copy, modify, and redistribute (subject to certain obligations in some cases) the software component. The license rights for the binary only firmware components are located with the components themselves. This EULA pertains solely to the Programs and does not limit your rights under, or grant you rights that supersede, the license terms of any particular component.
2.
Intellectual Property Rights. The Programs and each of their components are owned by Red Hat and other licensors and are protectedunder copyright law and other laws as applicable. Title to the Programs and any component, or to any copy or modification shall remain with Red Hat and other licensors, subject to the applicable license. The "Red Hat" mark, the individual Program marks, and the "Red Hat" logo are trademarks or registered trademarks of Red Hat and its affiliates in the U.S. and other countries. This EULA does not permit you to distribute the Programs using Red Hat's trademarks, regardless of whether the Programs have been modified. You may make a commercial redistribution of the Programs only if (a) permitted under a separate written agreement with Red Hat authorizing such commercial redistribution or (b) you remove and replace all occurrences of Red Hat trademarks and logos. Modifications to the software may corrupt the Programs. You should read the information found at http://www.redhat.com/about/corporate/trademark/ before distributing a copy of the Programs.
3.
Limited Warranty. Except as specifically stated in this Section 3, a separate agreement with Red Hat, or a license for a particular component, to the maximum extent permitted under applicable law, the Programs and the components are provided and licensed "as is" without warranty of any kind, express or implied, including the implied warranties of merchantability, non-infringement or fitness for a particular purpose. Red Hat warrants that the media on which the Programs and the components are provided will be free from defects in materials and manufacture under normal use for a period of 30 days from the date of delivery to you. Neither Red Hat nor its affiliates warrant that the functions contained in the Programs will meet your requirements or that the operation of the Programs will be entirely error free, appear or perform precisely as described in the accompanying documentation, or comply with regulatory requirements. This warranty extends only to the party that purchases subscription services for the Programs from Red Hat and/or its affiliates or a Red Hat authorized distributor.
4.
Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, your exclusive remedy under this EULA is to return any defective media within 30 days of delivery along with a copy of your payment receipt and Red Hat, at its option, will replace it or refund the money you paid for the media. To the maximum extent permitted under applicable law, under no circumstances will Red Hat, its affiliates, any Red Hat authorized distributor, or the licensor of any component provided to you under this EULA be liable to you for any incidental or consequential damages, including lost profits or lost savings arising out of the use or inability to use the Programs or any component, even if Red Hat, its affiliates, an authorized distributor, and/or licensor has been advised of the possibility of such damages. In no event shall Red Hat's or its affiliates' liability, an authorized distributor's liability or the liability of the licensor of a component provided to you under this EULA exceed the amount that you paid to Red Hat for the media under this EULA.
5.
Export Control. You understand that countries, including the U.S., may restrict the import, use, export, re-export or transfer of encryption products and other controlled materials (which may include the Programs or related technical information licensed hereunder) ("Controlled Materials"). As required by U.S. law, you represent and warrant that you: (a) understand that certain of the Controlled Materials are of U.S. origin and subject to export controls under the U.S. Export Administration Regulations (the "EAR"); (b) are not located in (or owned or controlled by any person or entity located in) any country listed in Country Group E:1 in Supplement No. 1 to part 740 of the EAR; or by any person or entity listed on the U.S. Department of Treasury Office of Foreign Assets Control ("OFAC") list of Specially Designated Nationals and Blocked Persons ("SDNs") (and are not 50% or more owned or controlled by any one or more persons or entities identified on the SDN list); (c) will not export, re-export or transfer the Controlled Materials to (1) any prohibited destination, (2) anyone who has been prohibited from participating in U.S. export transactions by any federal agency of the U.S. government or (3) any end user who you know or have reason to know will use them in the design, development or production of nuclear, chemical or biological weapons, or rocket systems, space launch vehicles, or sounding rockets, or unmanned air vehicle systems or any other prohibited use under the EAR; and (d) understand and agree that if you are in the United States and export, re-export or transfer the Controlled Materials to eligible end users, you will, to the extent required by EAR Section 740.17(e), submit semi-annual reports to the U.S. Commerce Department's Bureau of Industry and Security, that include the name and address (including country) of each transferee.
6.
Third Party Software. The Programs may be provided with third party software that are not part of the Programs. These third party software are not required to run the Programs, are provided as a convenience to you, and are subject to their own license terms. The license terms either accompany the third party software or can be viewed at http://www.redhat.com/licenses/thirdparty/eula.html. If you do not agree to abide by the applicable license terms for the third party software, then you may not install them. If you wish to install the third party software on more than one system or transfer the third party software to another party, then you must contact the licensor of the applicable third party software.
7.
General. If any provision of this EULA is held to be unenforceable, the enforceability of the remaining provisions shall not be affected. Any claim, controversy or dispute arising under or relating to this EULA shall be governed by the laws of the State of New York and of the United States, without regard to any conflict of laws provisions. The rights and obligations of the parties to this EULA shall not be governed by the United Nations Convention on the International Sale of Goods.
Copyright 2019 Red Hat, Inc. All rights reserved. The Program marks, "Red Hat" mark and the Red Hat logo are trademarks or registered trademarks of Red Hat, Inc. All other trademarks are the property of their respective owners.
WARNING - By continuing you accept this EULA.
[02/04/2021 14:19:02] TASK - [Prepare: Gather system information] *******************************
Name: Oracle Linux Server
OS version: 6.10
[02/04/2021 14:19:02] DEBUG - Calling command 'uname -i'
Architecture: x86_64
Config filename: oracle-6-x86_64.cfg
Running the 'rpm -Va' command which can take several minutes. It can be disabled by using the --no-rpm-va option.
[02/04/2021 14:19:02] DEBUG - Calling command 'rpm -Va'
The 'rpm -Va' output has been stored in the /var/log/convert2rhel/rpm_va.log file
[02/04/2021 14:19:18] TASK - [Prepare: Backup System] *******************************************
Backing up /etc/system-release
Copying /etc/system-release to /var/lib/convert2rhel/backup
Backing up /etc/yum.conf
Copying /etc/yum.conf to /var/lib/convert2rhel/backup
[02/04/2021 14:19:18] TASK - [Prepare: Clear YUM/DNF version locks] *****************************
Usage of YUM/DNF versionlock plugin not detected.
[02/04/2021 14:19:18] TASK - [Convert: List third-party packages] *******************************
WARNING - Only packages signed by Oracle Linux Server are to be reinstalled. Red Hat support won't be provided for the following third party packages:
Package Vendor/Packager Repository
------- --------------- ----------
convert2rhel-0.15-1.20210204120551256855.pr100.60.gc85c73e.el6.noarch Fedora Copr - group @oamg copr:copr.fedorainfracloud.org:group_oamg:convert2rhel
[02/04/2021 14:23:16] TASK - [Convert: Remove excluded packages] ********************************
Searching for the following excluded packages:
oracle-logos .................................... 1
yum-plugin-ulninfo .............................. 1
linux-firmware .................................. 0
oracleasm-support ............................... 0
oracle-rdbms-server-* ........................... 0
btrfs-progs-devel ............................... 0
oraclelinux-release-notes ....................... 1
yum-rhn-plugin .................................. 1
rhn-check ....................................... 1
rhn-setup ....................................... 1
rhn-setup-gnome ................................. 0
rhnlib .......................................... 1
rhnsd ........................................... 1
WARNING - The following packages will be removed...
Package Vendor/Packager Repository
------- --------------- ----------
oracle-logos-60.0.14-1.0.5.el6.noarch Oracle America anaconda-OracleLinuxServer-201703241427.x86_64
yum-plugin-ulninfo-0.2-13.el6.noarch Oracle America anaconda-OracleLinuxServer-201703241427.x86_64
oraclelinux-release-notes-6Server-22.0.2.el6.x86_64 Oracle America public_ol6_latest
yum-rhn-plugin-0.9.1-60.2.0.3.el6_8.noarch Oracle America anaconda-OracleLinuxServer-201703241427.x86_64
rhn-check-1.0.0.1-45.0.5.el6.noarch Oracle America public_ol6_latest
rhn-setup-1.0.0.1-45.0.5.el6.noarch Oracle America public_ol6_latest
rhnlib-2.5.22-15.0.2.el6.noarch Oracle America anaconda-OracleLinuxServer-201703241427.x86_64
rhnsd-4.9.3-6.0.1.el6.x86_64 Oracle America public_ol6_latest
Backing up oracle-logos-60.0.14-1.0.5.el6.noarch
[02/04/2021 14:23:21] DEBUG - Downloading the oracle-logos-60.0.14-1.0.5.el6.noarch package.
[02/04/2021 14:23:21] DEBUG - Calling command 'yumdownloader -v --destdir="/var/lib/convert2rhel/backup" --releasever=6.10 oracle-logos-60.0.14-1.0.5.el6.noarch'
[02/04/2021 14:23:21] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the oracle-logos-60.0.14-1.0.5.el6.noarch package.
[02/04/2021 14:23:37] DEBUG - Path of the downloaded package: /var/lib/convert2rhel/backup/oracle-logos-60.0.14-1.0.5.el6.noarch.rpm
Backing up yum-plugin-ulninfo-0.2-13.el6.noarch
[02/04/2021 14:23:37] DEBUG - Downloading the yum-plugin-ulninfo-0.2-13.el6.noarch package.
[02/04/2021 14:23:37] DEBUG - Calling command 'yumdownloader -v --destdir="/var/lib/convert2rhel/backup" --releasever=6.10 yum-plugin-ulninfo-0.2-13.el6.noarch'
[02/04/2021 14:23:37] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the yum-plugin-ulninfo-0.2-13.el6.noarch package.
[02/04/2021 14:23:39] DEBUG - Path of the downloaded package: /var/lib/convert2rhel/backup/yum-plugin-ulninfo-0.2-13.el6.noarch.rpm
Backing up oraclelinux-release-notes-6Server-22.0.2.el6.x86_64
[02/04/2021 14:23:39] DEBUG - Downloading the oraclelinux-release-notes-6Server-22.0.2.el6.x86_64 package.
[02/04/2021 14:23:39] DEBUG - Calling command 'yumdownloader -v --destdir="/var/lib/convert2rhel/backup" --releasever=6.10 oraclelinux-release-notes-6Server-22.0.2.el6.x86_64'
[02/04/2021 14:23:39] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the oraclelinux-release-notes-6Server-22.0.2.el6.x86_64 package.
[02/04/2021 14:23:40] DEBUG - Path of the downloaded package: /var/lib/convert2rhel/backup/oraclelinux-release-notes-6Server-22.0.2.el6.x86_64.rpm
Backing up yum-rhn-plugin-0.9.1-60.2.0.3.el6_8.noarch
[02/04/2021 14:23:40] DEBUG - Downloading the yum-rhn-plugin-0.9.1-60.2.0.3.el6_8.noarch package.
[02/04/2021 14:23:40] DEBUG - Calling command 'yumdownloader -v --destdir="/var/lib/convert2rhel/backup" --releasever=6.10 yum-rhn-plugin-0.9.1-60.2.0.3.el6_8.noarch'
[02/04/2021 14:23:40] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the yum-rhn-plugin-0.9.1-60.2.0.3.el6_8.noarch package.
[02/04/2021 14:23:41] DEBUG - Path of the downloaded package: /var/lib/convert2rhel/backup/yum-rhn-plugin-0.9.1-60.2.0.3.el6_8.noarch.rpm
Backing up rhn-check-1.0.0.1-45.0.5.el6.noarch
[02/04/2021 14:23:41] DEBUG - Downloading the rhn-check-1.0.0.1-45.0.5.el6.noarch package.
[02/04/2021 14:23:41] DEBUG - Calling command 'yumdownloader -v --destdir="/var/lib/convert2rhel/backup" --releasever=6.10 rhn-check-1.0.0.1-45.0.5.el6.noarch'
[02/04/2021 14:23:41] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the rhn-check-1.0.0.1-45.0.5.el6.noarch package.
[02/04/2021 14:23:42] DEBUG - Path of the downloaded package: /var/lib/convert2rhel/backup/rhn-check-1.0.0.1-45.0.5.el6.noarch.rpm
Backing up rhn-setup-1.0.0.1-45.0.5.el6.noarch
[02/04/2021 14:23:42] DEBUG - Downloading the rhn-setup-1.0.0.1-45.0.5.el6.noarch package.
[02/04/2021 14:23:42] DEBUG - Calling command 'yumdownloader -v --destdir="/var/lib/convert2rhel/backup" --releasever=6.10 rhn-setup-1.0.0.1-45.0.5.el6.noarch'
[02/04/2021 14:23:42] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the rhn-setup-1.0.0.1-45.0.5.el6.noarch package.
[02/04/2021 14:23:42] DEBUG - Path of the downloaded package: /var/lib/convert2rhel/backup/rhn-setup-1.0.0.1-45.0.5.el6.noarch.rpm
Backing up rhnlib-2.5.22-15.0.2.el6.noarch
[02/04/2021 14:23:42] DEBUG - Downloading the rhnlib-2.5.22-15.0.2.el6.noarch package.
[02/04/2021 14:23:42] DEBUG - Calling command 'yumdownloader -v --destdir="/var/lib/convert2rhel/backup" --releasever=6.10 rhnlib-2.5.22-15.0.2.el6.noarch'
[02/04/2021 14:23:42] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the rhnlib-2.5.22-15.0.2.el6.noarch package.
[02/04/2021 14:23:45] DEBUG - Path of the downloaded package: /var/lib/convert2rhel/backup/rhnlib-2.5.22-15.0.2.el6.noarch.rpm
Backing up rhnsd-4.9.3-6.0.1.el6.x86_64
[02/04/2021 14:23:45] DEBUG - Downloading the rhnsd-4.9.3-6.0.1.el6.x86_64 package.
[02/04/2021 14:23:45] DEBUG - Calling command 'yumdownloader -v --destdir="/var/lib/convert2rhel/backup" --releasever=6.10 rhnsd-4.9.3-6.0.1.el6.x86_64'
[02/04/2021 14:23:45] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the rhnsd-4.9.3-6.0.1.el6.x86_64 package.
[02/04/2021 14:23:45] DEBUG - Path of the downloaded package: /var/lib/convert2rhel/backup/rhnsd-4.9.3-6.0.1.el6.x86_64.rpm
Removing package: oracle-logos-60.0.14-1.0.5.el6.noarch
[02/04/2021 14:23:45] DEBUG - Calling command 'rpm -e --nodeps oracle-logos-60.0.14-1.0.5.el6.noarch'
Removing package: yum-plugin-ulninfo-0.2-13.el6.noarch
[02/04/2021 14:23:46] DEBUG - Calling command 'rpm -e --nodeps yum-plugin-ulninfo-0.2-13.el6.noarch'
Removing package: oraclelinux-release-notes-6Server-22.0.2.el6.x86_64
[02/04/2021 14:23:46] DEBUG - Calling command 'rpm -e --nodeps oraclelinux-release-notes-6Server-22.0.2.el6.x86_64'
Removing package: yum-rhn-plugin-0.9.1-60.2.0.3.el6_8.noarch
[02/04/2021 14:23:46] DEBUG - Calling command 'rpm -e --nodeps yum-rhn-plugin-0.9.1-60.2.0.3.el6_8.noarch'
Removing package: rhn-check-1.0.0.1-45.0.5.el6.noarch
[02/04/2021 14:23:46] DEBUG - Calling command 'rpm -e --nodeps rhn-check-1.0.0.1-45.0.5.el6.noarch'
Removing package: rhn-setup-1.0.0.1-45.0.5.el6.noarch
[02/04/2021 14:23:46] DEBUG - Calling command 'rpm -e --nodeps rhn-setup-1.0.0.1-45.0.5.el6.noarch'
Removing package: rhnlib-2.5.22-15.0.2.el6.noarch
[02/04/2021 14:23:47] DEBUG - Calling command 'rpm -e --nodeps rhnlib-2.5.22-15.0.2.el6.noarch'
Removing package: rhnsd-4.9.3-6.0.1.el6.x86_64
[02/04/2021 14:23:47] DEBUG - Calling command 'rpm -e --nodeps rhnsd-4.9.3-6.0.1.el6.x86_64'
[02/04/2021 14:23:47] DEBUG - Successfully removed 8 packages
[02/04/2021 14:23:47] TASK - [Convert: Subscription Manager - Download packages] ****************
[02/04/2021 14:23:47] DEBUG - Downloading the subscription-manager package.
[02/04/2021 14:23:47] DEBUG - Calling command 'yumdownloader -v --destdir="/usr/share/convert2rhel/subscription-manager" --setopt=reposdir="/var/lib/convert2rhel/rhsm" --releasever=6.10 subscription-manager'
[02/04/2021 14:23:47] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the subscription-manager package.
[02/04/2021 14:23:49] DEBUG - Path of the downloaded package: /usr/share/convert2rhel/subscription-manager/subscription-manager-1.20.10-8.el6.x86_64.rpm
[02/04/2021 14:23:49] DEBUG - Downloading the subscription-manager-rhsm-certificates package.
[02/04/2021 14:23:49] DEBUG - Calling command 'yumdownloader -v --destdir="/usr/share/convert2rhel/subscription-manager" --setopt=reposdir="/var/lib/convert2rhel/rhsm" --releasever=6.10 subscription-manager-rhsm-certificates'
[02/04/2021 14:23:49] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the subscription-manager-rhsm-certificates package.
[02/04/2021 14:23:50] DEBUG - Path of the downloaded package: /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-certificates-1.20.10-8.el6.x86_64.rpm
[02/04/2021 14:23:50] DEBUG - Downloading the subscription-manager-rhsm package.
[02/04/2021 14:23:50] DEBUG - Calling command 'yumdownloader -v --destdir="/usr/share/convert2rhel/subscription-manager" --setopt=reposdir="/var/lib/convert2rhel/rhsm" --releasever=6.10 subscription-manager-rhsm'
[02/04/2021 14:23:50] DEBUG - Pseudo-PTY columns set to: (0, 120)
Successfully downloaded the subscription-manager-rhsm package.
[02/04/2021 14:23:50] DEBUG - Path of the downloaded package: /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-1.20.10-8.el6.x86_64.rpm
[02/04/2021 14:23:50] TASK - [Convert: Subscription Manager - Replace] **************************
Removing non-RHEL subscription-manager packages.
No packages related to subscription-manager installed.
Installing subscription-manager RPMs.
[02/04/2021 14:23:50] DEBUG - Calling command 'yum install -y /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-1.20.10-7.el6.x86_64.rpm /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-certificates-1.20.10-7.el6.x86_64.rpm /usr/share/convert2rhel/subscription-manager/subscription-manager-1.20.10-8.el6.x86_64.rpm /usr/share/convert2rhel/subscription-manager/subscription-manager-1.20.10-7.el6.x86_64.rpm /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-certificates-1.20.10-8.el6.x86_64.rpm /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-1.20.10-8.el6.x86_64.rpm'
Setting up Install Process
Examining /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-1.20.10-7.el6.x86_64.rpm: subscription-manager-rhsm-1.20.10-7.el6.x86_64
Marking /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-1.20.10-7.el6.x86_64.rpm to be installed
Examining /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-certificates-1.20.10-7.el6.x86_64.rpm: subscription-manager-rhsm-certificates-1.20.10-7.el6.x86_64
Marking /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-certificates-1.20.10-7.el6.x86_64.rpm to be installed
Examining /usr/share/convert2rhel/subscription-manager/subscription-manager-1.20.10-8.el6.x86_64.rpm: subscription-manager-1.20.10-8.el6.x86_64
Marking /usr/share/convert2rhel/subscription-manager/subscription-manager-1.20.10-8.el6.x86_64.rpm to be installed
Examining /usr/share/convert2rhel/subscription-manager/subscription-manager-1.20.10-7.el6.x86_64.rpm: subscription-manager-1.20.10-7.el6.x86_64
Marking /usr/share/convert2rhel/subscription-manager/subscription-manager-1.20.10-7.el6.x86_64.rpm to be installed
Examining /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-certificates-1.20.10-8.el6.x86_64.rpm: subscription-manager-rhsm-certificates-1.20.10-8.el6.x86_64
Marking /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-certificates-1.20.10-8.el6.x86_64.rpm to be installed
Examining /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-1.20.10-8.el6.x86_64.rpm: subscription-manager-rhsm-1.20.10-8.el6.x86_64
Marking /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-1.20.10-8.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package subscription-manager.x86_64 0:1.20.10-7.el6 will be installed
--> Processing Dependency: python-dateutil for package: subscription-manager-1.20.10-7.el6.x86_64
--> Processing Dependency: python-decorator for package: subscription-manager-1.20.10-7.el6.x86_64
--> Processing Dependency: virt-what for package: subscription-manager-1.20.10-7.el6.x86_64
---> Package subscription-manager.x86_64 0:1.20.10-8.el6 will be installed
---> Package subscription-manager-rhsm.x86_64 0:1.20.10-7.el6 will be installed
---> Package subscription-manager-rhsm.x86_64 0:1.20.10-8.el6 will be installed
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.20.10-7.el6 will be installed
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.20.10-8.el6 will be installed
--> Running transaction check
---> Package python-dateutil.noarch 0:1.4.1-7.el6 will be installed
---> Package python-decorator.noarch 0:3.0.1-3.1.el6 will be installed
---> Package virt-what.x86_64 0:1.11-1.3.el6 will be installed
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for subscription-manager-rhsm-certificates which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of subscription-manager-rhsm-certificates of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude subscription-manager-rhsm-certificates.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of subscription-manager-rhsm-certificates installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of subscription-manager-rhsm-certificates installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: subscription-manager-rhsm-certificates-1.20.10-8.el6.x86_64 != subscription-manager-rhsm-certificates-1.20.10-7.el6.x86_64
Error: Protected multilib versions: subscription-manager-rhsm-1.20.10-7.el6.x86_64 != subscription-manager-rhsm-1.20.10-8.el6.x86_64
Error: Protected multilib versions: subscription-manager-1.20.10-8.el6.x86_64 != subscription-manager-1.20.10-7.el6.x86_64
CRITICAL - Failed to install subscription-manager packages. See the above yum output for details.
[02/04/2021 14:23:52] DEBUG - Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/convert2rhel/main.py", line 77, in main
pre_ponr_conversion()
File "/usr/lib/python2.6/site-packages/convert2rhel/main.py", line 165, in pre_ponr_conversion
subscription.replace_subscription_manager()
File "/usr/lib/python2.6/site-packages/convert2rhel/subscription.py", line 184, in replace_subscription_manager
install_rhel_subscription_manager()
File "/usr/lib/python2.6/site-packages/convert2rhel/subscription.py", line 225, in install_rhel_subscription_manager
loggerinst.critical("Failed to install subscription-manager packages."
File "/usr/lib/python2.6/site-packages/convert2rhel/logger.py", line 106, in critical
sys.exit(msg)
SystemExit: Failed to install subscription-manager packages. See the above yum output for details.
WARNING - Abnormal exit! Performing rollback ...
[02/04/2021 14:23:52] TASK - [Rollback: Unregistering the system from RHSM] *********************
[02/04/2021 14:23:52] DEBUG - Calling command 'subscription-manager unregister'
WARNING - subscription-manager not installed, skipping
[02/04/2021 14:23:52] TASK - [Rollback: Removing installed packages] ****************************
No package to remove
[02/04/2021 14:23:52] TASK - [Rollback: Installing removed packages] ****************************
Installing packages:
/var/lib/convert2rhel/backup/oracle-logos-60.0.14-1.0.5.el6.noarch.rpm
/var/lib/convert2rhel/backup/yum-plugin-ulninfo-0.2-13.el6.noarch.rpm
/var/lib/convert2rhel/backup/oraclelinux-release-notes-6Server-22.0.2.el6.x86_64.rpm
/var/lib/convert2rhel/backup/yum-rhn-plugin-0.9.1-60.2.0.3.el6_8.noarch.rpm
/var/lib/convert2rhel/backup/rhn-check-1.0.0.1-45.0.5.el6.noarch.rpm
/var/lib/convert2rhel/backup/rhn-setup-1.0.0.1-45.0.5.el6.noarch.rpm
/var/lib/convert2rhel/backup/rhnlib-2.5.22-15.0.2.el6.noarch.rpm
/var/lib/convert2rhel/backup/rhnsd-4.9.3-6.0.1.el6.x86_64.rpm
[02/04/2021 14:23:52] DEBUG - Calling command 'rpm -i --replacepkgs /var/lib/convert2rhel/backup/oracle-logos-60.0.14-1.0.5.el6.noarch.rpm /var/lib/convert2rhel/backup/yum-plugin-ulninfo-0.2-13.el6.noarch.rpm /var/lib/convert2rhel/backup/oraclelinux-release-notes-6Server-22.0.2.el6.x86_64.rpm /var/lib/convert2rhel/backup/yum-rhn-plugin-0.9.1-60.2.0.3.el6_8.noarch.rpm /var/lib/convert2rhel/backup/rhn-check-1.0.0.1-45.0.5.el6.noarch.rpm /var/lib/convert2rhel/backup/rhn-setup-1.0.0.1-45.0.5.el6.noarch.rpm /var/lib/convert2rhel/backup/rhnlib-2.5.22-15.0.2.el6.noarch.rpm /var/lib/convert2rhel/backup/rhnsd-4.9.3-6.0.1.el6.x86_64.rpm'
[02/04/2021 14:23:55] TASK - [Rollback: Restoring /etc/system-release from backup] **************
File /etc/system-release restored
[02/04/2021 14:23:55] TASK - [Rollback: Restoring /etc/yum.conf from backup] ********************
File /etc/yum.conf restored
[02/04/2021 14:23:55] TASK - [Rollback: Restoring /etc/yum/pluginconf.d/versionlock.list from backup]
WARNING - /etc/yum/pluginconf.d/versionlock.list hasn't been backed up
@bocekm
Copy link

bocekm commented Feb 4, 2021

This happens when you manually pre-download the subscription-manager pkgs to the /usr/share/convert2rhel/subscription-manager/. Because convert2rhel downloads these pkgs now, they are there twice, possibly with different versions.

One could imagine a solution in which we remove everything from that folder at the beginning of the conversion but that would have the negative side effect that we would remove also the katello pkg for Satellite 6 that we tell users to put there if they want to use Satellite (https://www.redhat.com/en/blog/converting-centos-rhel-convert2rhel-and-satellite).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment