---
title: "centos 自带mysql卸载时出现无法卸载情况 "
author: "mrrigth"
date: "2013-12-25T10:55:14Z"
tags: []
categories: ["操作系统"]
slug: "centos-mysql"
draft: false
lastmod: "2013-12-25T10:55:14Z"
id: 1995194
url: "https://mrrigth.iteye.com/blog/1995194"
---

rpm -e mysql-libs-5.1.61-4.el6.x86\_64  
error: Failed dependencies:  
        libmysqlclient.so.16()(64bit) is needed by (installed) postfix-2:2.6.6-2                   .2.el6\_1.x86\_64  
        libmysqlclient.so.16(libmysqlclient\_16)(64bit) is needed by (installed)                    postfix-2:2.6.6-2.2.el6\_1.x86\_64  
        mysql-libs is needed by (installed) postfix-2:2.6.6-2.2.el6\_1.x86\_64

 

解决办法：

```
rpm -e --nodeps mysql-libs-5.1.61-4.el6.x86_64
```