yum问题的解决办法

简介:

1,



关于使用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 --probl ems

问题解决!


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源

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



本文转自陈仲阳0 51CTO博客,原文链接:http://blog.51cto.com/wolfword/1306203

相关文章
|
网络协议 Linux
CentOS7 yum安装报错“Could not resolve host: mirrorlist.centos.org;"之解决办法(换源)
CentOS7 yum安装报错“Could not resolve host: mirrorlist.centos.org; Name or service not known“之解决办法(换源)
使用本地YUM源安装服务报错以及解决办法
使用本地YUM源安装服务报错以及解决办法
257 0
|
Linux Python
Aliyun Linux 2 ,误删自带python2,yum的解决办法
在未安装编译相关工具的情况下误删python2、yum的解决办法。
1097 0
Aliyun Linux 2 ,误删自带python2,yum的解决办法
|
缓存 Linux 虚拟化
linux下yum安装时出现Loaded plugins: fastestmirror解决办法
linux下yum安装时出现Loaded plugins: fastestmirror解决办法
4849 0
|
应用服务中间件 Linux nginx
CentOS7 yum使用阿里源安装tomcat无欢迎页问题解决办法
解决过程 在阿里云服务器CentOS7上通过命令安装上了tomcat: yum -y install tomcat 接着执行命令,启动tomcat服务: systemctl start tomcat.service 但是当我在浏览器中输入ip:port后却没有反应,然后报404错误。
2195 0

热门文章

最新文章

  • 1
    CentOS7 yum安装报错“Could not resolve host: mirrorlist.centos.org;"之解决办法(换源)
    5599
  • 2
    Linux中yum、rpm、apt-get、wget的区别,yum、rpm、apt-get常用命令,CentOS、Ubuntu中安装wget
    672
  • 3
    你需要在你的系统上安装`sqlmap`。这通常可以通过下载其源代码并编译,或者使用包管理器(如`apt`、`yum`或`pip`,但请注意,`pip`通常不直接提供`sqlmap`)来完成。
    308
  • 4
    【Linux】已解决:There are no enabled repos. Run “yum repolist all” to see the repos you have. You can en
    1946
  • 5
    Ngnix05---Ngnix安装方式介绍及源码安装的准备工作,Ngnix安装通过Ngnix源码安装和yum安装
    145
  • 6
    Ngnix07---通过yum安装Ngnix下 whereis ngnix可以查看Ngnix相关的一些目录,使用./nginx -y可以查看Ngnix版本及相关配置信息,使用 more CHANGES
    195
  • 7
    Ngnix09目录结构分析,使用tree工具可以Ngnix目录中以一个树的方式呈现出来,yum install -y tree,tail -f nginx/logs/access.log
    116
  • 8
    Linux部署实战前言,MySQL在CentOS安装【单机软件】,MySQL的安装需要root权限,yum install mysql,systemctl enable mysqld开机自启的意思
    672
  • 9
    IP地址和主机名,ifconfig查看本机的ip地址,无法用,yum -y install net-tools,输入ifconfig之后还会列明网卡,ens33表明的是网卡,inet ip地址,000
    205
  • 10
    Linux软件安装-Linux系统靠yum命令安装软件,yum命令是一个RPM包软件管理器,用于自动化安装配置Linux软件,.rpm是Linux包下的软件,yum install下载 wget re
    370