-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dnf_transaction_check: Cannot calculate, check, test, or perform the upgrade transaction. #416
Comments
The repository for PostgreSQL 10 (https://download.postgresql.org/pub/repos/yum/srpms/10) is no longer available, preventing the upgrade of this installation. Here are two options to continue with the conversion:
|
Hi @SandakovMM thanks for replying. I was using PostgreSQL 9.6 and already upgraded to 15 before doing the conversion. Is this error (the TargetTransactionCheck error) still related to pgdg10? (postgresql10 was removed as well) Here's my package list: # yum list | grep postgresql1
postgresql15.x86_64 15.11-1PGDG.rhel7 @pgdg15
postgresql15-contrib.x86_64 15.11-1PGDG.rhel7 @pgdg15
postgresql15-libs.x86_64 15.11-1PGDG.rhel7 @pgdg15
postgresql15-server.x86_64 15.11-1PGDG.rhel7 @pgdg15
postgresql12.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-contrib.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-devel.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-docs.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-libs.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-llvmjit.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-odbc.x86_64 16.00.0000-1PGDG.rhel7 pgdg12
postgresql12-odbc-debuginfo.x86_64 12.02.0000-1PGDG.rhel7 pgdg-common
postgresql12-plperl.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-plpython.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-plpython3.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-pltcl.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-server.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql12-tcl.x86_64 3.1.0-1PGDG.rhel7 pgdg12
postgresql12-test.x86_64 12.22-1PGDG.rhel7 pgdg12
postgresql13.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql13-contrib.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql13-devel.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql13-docs.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql13-libs.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql13-llvmjit.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql13-odbc.x86_64 16.00.0000-1PGDG.rhel7 pgdg13
postgresql13-plperl.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql13-plpython3.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql13-pltcl.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql13-server.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql13-test.x86_64 13.19-1PGDG.rhel7 pgdg13
postgresql15-devel.x86_64 15.11-1PGDG.rhel7 pgdg15
postgresql15-docs.x86_64 15.11-1PGDG.rhel7 pgdg15
postgresql15-llvmjit.x86_64 15.11-1PGDG.rhel7 pgdg15
postgresql15-odbc.x86_64 16.00.0000-1PGDG.rhel7 pgdg15
postgresql15-plperl.x86_64 15.11-1PGDG.rhel7 pgdg15
postgresql15-plpython3.x86_64 15.11-1PGDG.rhel7 pgdg15
postgresql15-pltcl.x86_64 15.11-1PGDG.rhel7 pgdg15
postgresql15-tcl.x86_64 3.1.0-1PGDG.rhel7 pgdg15
postgresql15-test.x86_64 15.11-1PGDG.rhel7 pgdg15 And the latest feedback: |
Hi @brownsugar,
Essentially, it indicates that the repository https://download.postgresql.org/pub/repos/yum/debug/13/redhat/rhel-8-x86_64/repodata/repomd.xml does not exist. It appears that PostgreSQL debug information is not available for RHEL 8 systems. So to proceed with the conversion, you should comment out pgdg13-updates-debuginfo and pgdg12-updates-debuginfo in your /etc/yum.repos.d/pgdg-redhat-all.repo file. |
Thank you @SandakovMM, that helps! 2025-02-15 02:14:32,002 - INFO - Command ['/usr/bin/rpm', '-e', '--nodeps', 'MariaDB-client', 'MariaDB-compat', 'MariaDB-common', 'MariaDB-server', 'MariaDB-shared'] finished successfully
2025-02-15 02:14:32,002 - INFO - Running: ['/usr/bin/yum', 'install', '--repo', 'alma-mariadb', '-y', 'MariaDB-client', 'MariaDB-server']. Output:
2025-02-15 02:14:32,156 - INFO - stdout: Loaded plugins: fastestmirror, product-id, rhsm-auto-add-pools, search-disabled-
2025-02-15 02:14:32,158 - INFO - stderr: Command line error: no such option: --repo
2025-02-15 02:14:32,158 - INFO - stdout: : repos
2025-02-15 02:14:32,158 - INFO - stdout: Usage: yum [options] COMMAND
2025-02-15 02:14:32,171 - INFO - stdout:
2025-02-15 02:14:32,171 - ERROR - Command ['/usr/bin/yum', 'install', '--repo', 'alma-mariadb', '-y', 'MariaDB-client', 'MariaDB-server'] failed with return code 1
2025-02-15 02:14:32,171 - ERROR - Failed: update modern mariadb. The reason: Command '['/usr/bin/yum', 'install', '--repo', 'alma-mariadb', '-y', 'MariaDB-client', 'MariaDB-server']' returned non-zero exit status 1.
2025-02-15 02:14:32,910 - DEBUG - Sent error report
2025-02-15 02:14:32,921 - DEBUG - Trying to send status of conversion by report-update utility '/root/parallels/report-update'
2025-02-15 02:14:34,452 - ERROR - centos2alma process has failed. Error: Failed: update modern mariadb. The reason: Command '['/usr/bin/yum', 'install', '--repo', 'alma-mariadb', '-y', 'MariaDB-client', 'MariaDB-server']' returned non-zero exit status 1. And...it's not revertable: 2025-02-15 02:24:24,771 - INFO - stderr: Exception: Failed to solve dependencies:
2025-02-15 02:24:24,843 - INFO - stdout:
2025-02-15 02:24:24,851 - INFO - stderr: MariaDB-client-10.5.28-1.el8.x86_64 requires libtinfo.so.6()(64bit)
2025-02-15 02:24:24,851 - INFO - stderr: MariaDB-client-10.5.28-1.el8.x86_64 requires libc.so.6(GLIBC_2.28)(64bit)
2025-02-15 02:24:24,851 - INFO - stderr: MariaDB-client-10.5.28-1.el8.x86_64 requires libcrypt.so.1(XCRYPT_2.0)(64bit)
2025-02-15 02:24:24,851 - INFO - stderr: MariaDB-client-10.5.28-1.el8.x86_64 requires libncurses.so.6()(64bit)
2025-02-15 02:24:24,851 - INFO - stderr: exit status 1
2025-02-15 02:24:24,851 - ERROR - Command ['/usr/sbin/plesk', 'installer', 'update'] failed with return code 1
2025-02-15 02:24:24,851 - ERROR - Failed: re-installing plesk components. The reason: Command '['/usr/sbin/plesk', 'installer', 'update']' returned non-zero exit status 1. but that's fine I've already created a server snapshot. The archive: centos2alma_feedback.zip |
Describe the bug
Error during
TargetTransactionCheck
process, didn't find a proper way to fix it.I got the following error at first, then I edited
/etc/yum.repos.d/pgdg-redhat-all.repo
to comment out the corresponding config and it worked, then encountered the error above.System info:
All error logs are attached in the archive below.
Feedback archive
Please attach a feedback archive to the bug report.
centos2alma_feedback.zip
The text was updated successfully, but these errors were encountered: