Chinaunix首页 | 论坛 | 博客
  • 博客访问: 103728708
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: Mysql/postgreSQL

2008-03-27 20:56:54

来源:互联网    作者:紫色焰火

在安装 MySQL-client-4.1.16-1.glibc23.rpm 的时候

显示与 mysql-3.23.54a-11 冲突 可是我把那些冲突的文件名前面全部都加上#改名

却 还在冲突! 默认安装的MYSQL只是换了个版本!

试图 添加删除程序卸载 却显示却少个软件包无法找到 卸不了!





QUOTE:
Preparing...       ########################################### [100%]
  file /usr/bin/mysql from install of MySQL-client-4.1.16-1.glibc23 
conflicts with file from package mysql-3.23.54a-11
  file /usr/bin/mysql_find_rows from install of MySQL-client-4.1.16-1.glibc23 
conflicts with file from package mysql-3.23.54a-11
  file /usr/bin/mysqlaccess from install of MySQL-client-4.1.16-1.glibc23
conflicts with file from package mysql-3.23.54a-11
  file /usr/bin/mysqlbinlog from install of MySQL-client-4.1.16-1.glibc23
conflicts with file from package mysql-3.23.54a-11
  file /usr/bin/mysqlcheck from install of MySQL-client-4.1.16-1.glibc23 
conflicts with file from package mysql-3.23.54a-11
  file /usr/bin/mysqldump from install of MySQL-client-4.1.16-1.glibc23
 conflicts with file from package mysql-3.23.54a-11
  file /usr/bin/mysqldumpslow from install of MySQL-client-4.1.16-1.glibc23 
conflicts with file from package mysql-3.23.54a-11
  file /usr/bin/mysqlimport from install of MySQL-client-4.1.16-1.glibc23
conflicts with file from package mysql-3.23.54a-11
  file /usr/bin/mysqlshow from install of MySQL-client-4.1.16-1.glibc23 
conflicts with file from package mysql-3.23.54a-11
  file /usr/share/man/man1/mysql.1.gz from install of MySQL-client-4.1.16-1.glibc23 
conflicts with file from package mysql-3.23.54a-11
  file /usr/share/man/man1/mysqlaccess.1.gz from install of MySQL-client-4.1.16-1.glibc23 
conflicts with file from package mysql-3.23.54a-11
  file /usr/share/man/man1/mysqladmin.1.gz from install of MySQL-client-4.1.16-1.glibc23 
conflicts with file from package mysql-3.23.54a-11
  file /usr/share/man/man1/mysqldump.1.gz from install of MySQL-client-4.1.16-1.glibc23
 conflicts with file from package mysql-3.23.54a-11
  file /usr/share/man/man1/mysqlshow.1.gz from install of MySQL-client-4.1.16-1.glibc23 
conflicts with file from package mysql-3.23.54a-11
  file /usr/bin/mysqladmin from install of MySQL-client-4.1.16-1.glibc23
 conflicts with file from package mysql-server-3.23.54a-11

可以用 rpm 命令强制 卸载 !!

rpm -e --nodeps (不检查依赖性 ) 数据包名

然后安装 新的 或者可以用

rpm -i --replacepkgs (强制重新安装已经安装的软件包 )

rpm -i --nodeps (不检查依赖性 ) 这2个 都可以 看你的选择

不过一般升级新版本 用 rpm -U 如果加 -test 的话可以先测试一下可以不可以升级 !!

MySQL-client-4.1.16-1.glibc23.rpm 这个应该是客户相关的 rpm 吧? 因为我很少这样升级rpm包。所以具体的情况不是很了解 !! 因为rpm包关联性很强,经常是安装中错误,然后找关联的包。再安装这个,有时会要找很多关联包,才能装完整。

阅读(328) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~