While trying to run a yum update I received the below warning message:
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
To resolve this yum-complete-transaction is required to complete the unfinished transactions.
yum-complete-transaction is a program which finds incomplete or aborted yum transactions on a system and attempts to complete them. It looks at the transaction-all* and transaction-done* files which can normally be found in /var/lib/yum if a yum transaction aborted in the middle of execution.
If it finds more than one unfinished transaction it will attempt to complete the most recent one first. You can run it more than once to clean up all unfinished transactions.
Run the following to install yum-utils (which provides yum-complete-transaction), cleanup and finish the transactions.
yum install yum-utils
yum clean all
/usr/sbin/yum-complete-transaction --cleanup-only
Now yum commands can be run without the unfinished transactions warning.
yum update
Share this blog post on social media:
'서버 등 운영체제(OS) > Linux' 카테고리의 다른 글
yum update or yum install fails with package conflict between 64 bit and 32 bit package architectures ? (0) | 2016.06.17 |
---|---|
CentOS 저장장치(HDD) 추가 하기 (0) | 2016.06.17 |
[리눅스] 리눅스 tar, gz 압축 및 해제 (0) | 2016.04.20 |
[Ubuntu] vsftpd 500 OOPS error (0) | 2016.04.19 |
[Ubuntu] SSH 초기 접속 속도 향상시키기 (0) | 2016.04.19 |