yum error - package is a duplicate with
解決辦法:
#安裝 yum-complete-transaction(這是一個能發現未完成或被中斷的yum事務的程式)
yum install yum-utils
#清除yum快取
yum clean all
#列出重複的包lists duplicate packages
package-cleanup --dupes
#刪除重複的包 removes duplicate packages
package-cleanup --cleandupes
#清除可能存在的損壞包
package-cleanup --problems
最後
yum update -y
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28282660/viewspace-2212371/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- error:package mysql-client is not relocatableErrorPackageMySqlclient
- [Linux7] HA Package Yum源配置LinuxPackage
- 解決Ubuntu報錯 E: Unable to locate package yumUbuntuPackage
- Error: package MySQL-Cluster-server-gpl is not relocatableErrorPackageMySqlServer
- Linux yum安裝httpd報錯 No package httpd available ?LinuxhttpdPackageAI
- R安裝package報ERROR: a 'NAMESPACE' file is requiredPackageErrornamespaceUI
- Centos下yum安裝Nginx報錯 No package nginx available.CentOSNginxPackageAI
- ios-Multiple commands produced error xcode 10 [duplicate]iOSErrorXCode
- DUMP-CX_SY_OPEN_SQL_DB-DBSQL_DUPLICATE_KEY_ERRORSQLError
- 解決 yum clean all Error rpmdb open failedErrorAI
- ERROR 1062 (23000): Duplicate entry for key 'PRIMARY'Error
- Q:[Vue warn]: Duplicate keys detected: ‘PAYACT‘. This may cause an update error.VueError
- yum:Error: Cannot retrieve metalink for repository: epel. Please verifyError
- vue報錯之Duplicate keys detected: '0'. This may cause an update error.VueError
- ERROR 1062 (23000): Duplicate entry '0' for key 'PRIMARY'Error
- CentOS8 AnolisOS8 yum安裝 No match for argument: htop ErrorCentOSError
- yum安裝xxx包時出錯,提示No package xxx available.PackageAI
- SOLARIS下的Package安裝(包括直接網上安裝,類似linux的YUM)PackageLinux
- yum安裝軟體時,出現"No package XXX available"的解決辦法PackageAI
- mysql主從複製錯誤:Last_SQL_Error: Error 'Duplicate entry '327' for key 'PRIMARY'' on query. Default databa...MySqlASTError
- not an rpm package (or package manifest):Package
- not an rpm package (or package manifest)Package
- packagePackage
- Package Specification 和 Package Body 及 Package有什麼區別? (轉)Package
- duplicate databaseDatabase
- 深入安卓Package Manager和Package Installer安卓Package
- [Errno 14] PYCURL ERROR 22 阿里yum源安裝,centos 6已停止維護Error阿里CentOS
- 建立packagePackage
- 建立本地yum軟體源,為本地Package安裝Cloudera Manager、Cloudera Hadoop及Impala做準備PackageCloudHadoop
- yum install yum-fastestmirrorAST
- Package ssh is not available, but is referred to by another package 錯誤PackageAI
- 記錄:yum Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error解決CloudError
- linux 中 yum makecache 、yum update、yum upgrade的作用Linux
- RMAN duplicate databaseDatabase
- oracle安裝包遇到Error: Package: gcc-4.8.5-11.el7.x86_64 (base)問題OracleErrorPackageGC
- ORA-04042 procedure, function, package, or package body does not existFunctionPackage
- CentOS載入yum源時報錯 [Errno 14] HTTP Error 404 - Not Found Trying other mirror.CentOSHTTPError
- java 包(package)JavaPackage