`

linux 安装rpm包时遇到error:Failed dependencies解法方法

阅读更多


环境:Centos 5.5 + MySQL-server-5.5.24-1.linux2.6.x86_64.rpm

遇到的问题:

[root@sh158-xen data]#rpm -ivh MySQL-server-5.5.24-1.linux2.6.x86_64.rpm

error: Failed dependencies:
 

        MySQL conflicts with mysql-5.0.77-4.el5_4.2.x86_64

纠结了半天,终于找到了解决方法:(感谢提供相关文章的博友)

在安装包后面加两个参数,如

[root@sh158-xen data]#rpm -ivh MySQL-server-5.5.24-1.linux2.6.x86_64.rpm --nodeps --force
Preparing...                ########################################### [100%]
   1:MySQL-server           ########################################### [100%] 

加上那两个参数的意义就在于,
安装时不再分析包之间的依赖关系而直接安装,
也就不会再提示error: Failed dependencies:这样的错误了

分享到:
评论

相关推荐

    expect-5.43.0-8.el5.x86_64

    “上传至服务器指定文件夹后通过 rpm -ivh 文件名 执行安装即可”这部分说明了如何在Linux服务器上安装这两个RPM包。首先,你需要将这两个文件传输到服务器上的某个目录,比如/home/user/downloads。然后,使用...

    linux的rpm软件安装的方法

    "Linux RPM 软件安装方法详解" 在 Linux 系统中,RPM(Red Hat Package Manager)是最常用的软件包管理器之一。RPM 软件包通常具有类似 foo-1.0-1.i386.rpm 的文件名,其中包括软件包的名称(foo)、版本号(1.0)...

    CentOS-6.8-x86_64-minimal安装oracle11gR2_x86_64所需所有rpm包

    error: Failed dependencies: pdksh conflicts with ksh-20120801-37.el6_9.x86_64 # 名称可能不一样 先删除这个提示的冲突包(具体名称看报错提示): [root@localhost ~]# rpm -e ksh-20120801-37.el6_9.x86_64 ...

    Error:java: Compilation failed: internal java compiler error

    在使用IntelliJ IDEA(简称Idea)进行Java开发时,有时会遇到“Error:java: Compilation failed: internal java compiler error”的错误提示,这通常意味着编译过程中遇到了内部错误,可能是由于配置问题、环境问题...

    clickhouse-22.2.2.1-2.x86_64.rpm离线安装包

    clickhouse-22.2.2.1-2.rpm离线安装包包含clickhouse-common-static-22.2.2.1-2.x86_64.rpm,clickhouse-client-22.2.2.1-2.noarch.rpm,clickhouse-server-22.2.2.1-2.noarch.rpm共3个离线安装rpm包。 安装: rpm -...

    kde-l10n-4.10.5-2.el7.noarch.rpm

    离线安装包,亲测可用

    gcc-4.4.7-3.el6.x86_64.rpm

    oracle依赖包 gcc-4.4.7-3.el6.x86_64.rpm

    uuid-devel-1.6.1-10.el6.i686.rpm

    uuid-devel-1.6.1-10.el6.i686.rpm

    Error:No such property: GradleVersion for class: JetGradlePlugin

    情景:从项目中拿到一个客户的demo工程,或者导入一个别人的工程,编译时出现 Error:No such property: GradleVersion for class: JetGradlePlugin: 原因:这是gradle的版本太高导致的 解决办法: 第一步:打开...

    libreOffice rpm安装包

    5. **安装RPM包**: 解压后,你会看到一系列`.rpm`文件,如`libreoffice-x.x.x.x.rpm`等。使用`yum`或`dnf`(取决于你的Linux发行版)来安装这些文件。例如: ``` sudo yum install libreoffice-x.x.x.x.rpm 或 ...

    centos安装telnet插件与说明

    centos直接安装telnet-server-0.17-47.el6.x86_64.rmp会报错 “error: Failed dependencies:xinetd is needed by 解决办法: 1、先安装xinetd包 rpm -ivh xinetd-2.3.14-10.el5.x86_64.rpm 2、启动xinetd ...

    redhat 安装yum的4个rpm

    [root@XAYQ-Test2 opt]# rpm -ivh python-iniparse-0.3.1-...error: Failed dependencies: yum-metadata-parser >= 1.1.0 is needed by yum-3.2.29-40.el6.centos.noarch 注意最后两个包必需同时安装,否则会相互依赖

    fonts-chinese-3.02-12.el5.noarch.rpm

    在压缩包的文件列表中,除了主要的"fonts-chinese-3.02-12.el5.noarch.rpm"外,还有一个名为"linux 安装rpm包时遇到errorFailed dependencies解法方法-Linux技术与应用 -牵手网 - 牵手网博客.mht"的文件。...

    wkhtmltox-0.12.6-1.centos7.x86_64.rpm

    wkhtmltopdf的官方安装包,注意是centos7系统的。其它版本请查看官方下载链接https://wkhtmltopdf.org/downloads.html

    nmap-7.92-1.x86_64.rpm

    nmap-7.92-1.x86_64.rpm

    centos安装telnet使用

    centos直接安装telnet-server-0.17-47.el6.x86_64.rmp会报错 “error: Failed dependencies:xinetd is needed by 解决办法: 1、先安装xinetd包 rpm -ivh xinetd-2.3.14-10.el5.x86_64.rpm 2、启动xinetd ...

    qpid-proton-c-docs-0.22.0-1.el7.noarch.rpm

    官方离线安装包,亲测可用

    libstdc++-devel-4.8.5-36.el7.x86_64.rpm

    libstdc++-devel-4.8.5-36.el7.x86_64.rpm

    storm安装所需

    error: Failed dependencies: autoconf >= 2.58 is needed by libtool-2.2.6-15.5.el6.x86_64 automake >= 1.4 is needed by libtool-2.2.6-15.5.el6.x86_64 rpm -ivh autoconf-2.63-5.1.el6.noarch.rpm rpm -ivh...

    gcc-c++-4.4.7-16.el6.x86_64.rpm

    error: Failed dependencies: gcc = 4.4.7-3.el6 is needed by gcc-c++-4.4.7-3.el6.x86_64 libstdc++ = 4.4.7-3.el6 is needed by gcc-c++-4.4.7-3.el6.x86_64 libstdc++-devel = 4.4.7-3.el6 is needed by gcc-...

Global site tag (gtag.js) - Google Analytics