yum Command Hangs on Running Transaction Test Message Error and Solution

https://w‮‬ww.lautturi.com
yum Command Hangs on Running Transaction Test Message Error and Solution

If the yum command hangs on the "Running transaction test" message, it could be due to a problem with the transaction process. This could be caused by a variety of factors, such as conflicting dependencies, problems with the package repository, or issues with the system's package database.

To troubleshoot this issue, you can try the following steps:

  1. Check for conflicting dependencies: If the yum command is hanging while trying to install or update a package, it could be due to conflicting dependencies. You can use the yum check command to check for conflicting dependencies:
yum check

If there are conflicting dependencies, you may need to resolve them before you can proceed with the transaction.

  1. Clean the package cache: If the package cache is corrupt or outdated, it could cause issues with the transaction process. You can use the yum clean command to clean the package cache:
yum clean all

This will remove all cached packages and metadata from the system.

  1. Refresh the package repository: If the package repository is outdated or has problems, it could cause issues with the transaction process. You can use the yum makecache command to refresh the package repository:
yum makecache

This will update the package metadata and cache it locally on the system.

  1. Reset the package database: If the package database is corrupt or has problems, it could cause issues with the transaction process. You can reset the package database by running the following command:
yum history new

This will create a new package transaction history, which can help to resolve issues with the package database.

If these steps do not resolve the issue, you may need to seek further assistance from a system administrator or online resources.

Created Time:2017-10-30 14:27:36  Author:lautturi