Your transaction was saved,rerun it with:

本文详细介绍了在使用YUM进行软件包安装与更新时遇到的常见问题及解决方案,包括处理未完成的交易、清理重复和损坏的包,以及解决安装过程中的确认问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

yum install openssl-libs 
or yum update && yum install telnet -y 
Total download size: 1.7 M
Is this ok [y/d/N]: Exiting on user command
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2019-07-27.01-16.IGhXnU.yumtx

  包安装过程中需要确认,两个并列命令需要两个-y

关于使用yum“The program package-cleanup is...”的解决办法

在使用yum 时总是有提示信息: 

The program package-cleanup is found in the yum-utils package. 

或者提示: 

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

The program yum-complete-transaction is found in the yum-utils package. 

处理步骤: 

# 安装 yum-complete-transaction 

yum install yum-utils 

# 运行 yum-complete-transaction 

yum-complete-transaction --cleanup-only 

# 清除可能存在的重复包 

package-cleanup --dupes 

# 清除可能存在的损坏包 

package-cleanup --problems 

问题解决!

2,

报错:

You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

解决:

yum clean all
rpm --rebuilddb
yum update

或者换一个yum源

删掉原来的需要的包,重新安装

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值