1. yum install openssl-libs
  2. or yum update && yum install telnet -y
  3. Total download size: 1.7 M
  4. Is this ok [y/d/N]: Exiting on user command
  5. Your transaction was saved, rerun it with:
  6. 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源

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

发表评论

邮箱地址不会被公开。 必填项已用*标注