error: "mysql" specifies multiple packages

今天卸载mysql时,出现了这个问题

# rpm -e mysql

error: "mysql" specifies multiple packages

# rpm -q mysql

mysql-5.0.95-5.el5_9

mysql-5.0.95-5.el5_9

卸载方法

方法一

# yum remove -y mysql

卸载时发现这两个mysql一个是32位的,一个是64位的

方法二

# rpm -e --allmatches --nodeps mysql

来自为知笔记(Wiz)

时间: 2024-11-07 01:29:43

error: "mysql" specifies multiple packages的相关文章

卸载rpm包遭遇error: xxx specifies multiple packages

一.环境 # lsb_release -aLSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarchDistributor ID: CentOSDescription:    CentOS release 5

rpm卸载包遭遇 specifies multiple packages 错误

使用 rpm删除软件时报错如下: [[email protected]]# rpm -qa |grep -i mysqlmysql-devel-5.0.95-5.el5_9mysql-devel-5.0.95-5.el5_9MySQL-shared-5.5.34-1.rhel5mysql-5.0.95-5.el5_9mysql-server-5.0.95-5.el5_9MySQL-shared-compat-5.5.34-1.rhel5perl-DBD-MySQL-3.0007-2.el5mys

卸载RPM包时报错specifies multiple packages

1.在卸载rpm包时报错如下 [[email protected] ~]# rpm -e cyrus-sasl-lib-2.1.22-4 error: "cyrus-sasl-lib-2.1.22-4" specifies multiple packages 2.查找结果如下: [[email protected] ~]# rpm -qa |grep cyrus-sasl-lib cyrus-sasl-lib-2.1.22-4 cyrus-sasl-lib-2.1.22-4 [[ema

Linux下rpm卸载安装MySQL出现specifies multiple packages

因为用的阿里的云服务器,所以查看服务器的mysql版本发现还是5.0.6的版本,所以想要升级下MySQL #查看当前安装的mysql rpm包 rpm -qa | grep -i mysql 然后想要卸载mysql,单个卸载跟使用参数--allmatche卸载后提示如下: #单个卸载 rpm -e mysql-5.0.95-5.el5_9 #所有匹配卸载 rpm -e -allmatches mysql-5.0.95-5.el5_9 然后根据提示信息把相关的包依次卸载: rpm -e mysql

mysql无法启动ERROR! MySQL is running but PID file could not be found ?

第一种方法:可能是硬盘满了,清理下垃圾文件. 第二种: 查看下数据库运行状态 /etc/init.d/mysql status提示ERROR! MySQL is running but PID file could not be found先打印MYSQL进程ps aux | grep mysql然后KILL进程kill -9 pid1 pid2 …再启动MYSQL/etc/init.d/mysql start再检查mysql运行状态/etc/init.d/mysql status 提示成功 第

编译安装zabbix error: MySQL library not found

本人用编译方式安装的MySQL ,用编译安装zabbix 报checking for mysql_config... configure: error: MySQL library not found 用--with-mysql=/usr/local/mysql/也不行 由"mysql_config... /usr/local/mysql/"得到启发 查找mysql_config #find / -name "mysql_config*" /usr/local/my

MySQL启动错误ERROR! MySQL server PID file could not be found的解决办法

/etc/init.d/mysql start无法启动mysql错误信息如下: ERROR! MySQL server PID file could not be found! Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/AYXXXXXXXXXXX.pid). 完整日志信息如下: 140902 18:11:33 mysqld_safe Starting mysqld

mysql 有报错  ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists

sh-4.1# /etc/init.d/mysqld status ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists sh-4.1# /etc/init.d/mysqld start Starting MySQL. ERROR! The server quit without updating PID file (/data1/mysql/mysql.pid). sh-4.1# rm mysql

Exception: Operation xx of contract xx specifies multiple request body parameters to be serialized without any wrapper elements.

Operation 'CreateProductCodeStock' of contract 'IChileService' specifies multiple request body parameters to be serialized without any wrapper elements. At most one body parameter can be serialized without wrapper elements. Either remove the extra bo