There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them

The message “There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them” is displayed by the yum package manager when a previous package installation, update, or removal was interrupted, and some transactions were not completed.

To resolve this issue, you can follow these steps:

  1. Run the following command to check if there are any unfinished transactions:
    sudo yum-complete-transaction info

    This will display information about any unfinished transactions.

  2. If there are any unfinished transactions, run the following command to complete them:
    sudo yum-complete-transaction

    This command will prompt you to review the details of the unfinished transactions and ask you whether you want to complete them or not. If you choose to complete them, yum will try to finish the interrupted transactions.

  3. After completing the unfinished transactions, you can run yum again to install, update, or remove packages as needed.
    sudo yum update

    If there are no unfinished transactions, you can skip step 2 and directly run yum to install, update, or remove packages as needed.

    sudo yum install package-name

That’s it! Following these steps should help you resolve the “unfinished transactions” issue in yum.

Leave a Comment