yum-complete-transaction
Linux

yum-complete-transaction

Hôm bữa đang cập nhật hệ thống trên VPS, đột nhiên quá trình update bị dừng, rớt mạng tại máy cá nhân, thế méo nào quá trình update cũng dừng luôn 🙁

Rồi tùm lum lỗi xảy ra: PHP không chạy, SQL không chạy…

Fix được cho 2 PHP, SQL chạy thì lại báo lỗi trên code,

Search trên Google một hồi ra câu lệnh dưới, chạy xong mọi thứ lại bình thường như chưa hề có cuộc chia ly =_=

Thôi thì lưu lại sau này có dùng thì dùng…

yum-complete-transaction

Name:
yum-complete-transaction

Synopsis:
yum-complete-transaction [options]

General Options:
-h, –help
Help; display a help message and then quit.
–cleanup-only
Only clean up only transaction journal files and exit.

Description:
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.

Avatar of jamesblackvn

Tui là jamesblackvn!

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

Website này sử dụng Akismet để hạn chế spam. Tìm hiểu bình luận của bạn được duyệt như thế nào.