Re: problem removing mysql with yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arthur Pemberton wrote:
Mark Sargent wrote:

Hi All,

am wishing to remove mysql with yum, but, get the following. Any suggestions.? I tried yum install perl-DBD-MySQL but it said nothing to do. Cheers.

Mark Sargent.

[root@localhost ~]# yum remove mysql
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mysql.i386 0:3.23.58-13 set to be erased
--> Running transaction check
Setting up Repo: dag
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
dag : ################################################## 2718/2718
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 358 kB 00:02
MD Read : ################################################## 888/888
updates-re: ################################################## 888/888
--> Processing Dependency: libmysqlclient.so.10 for package: MyODBC
--> Processing Dependency: mysql = 3.23.58 for package: mysql-devel
--> Processing Dependency: libmysqlclient.so.10 for package: perl-DBD-MySQL
--> Processing Dependency: mysql for package: MySQL-python
--> Processing Dependency: libmysqlclient_r.so.10 for package: MySQL-python
--> Processing Dependency: libmysqlclient.so.10 for package: libdbi-dbd-mysql
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package MyODBC.i386 0:2.50.39-19 set to be erased
---> Package mysql-devel.i386 0:3.23.58-13 set to be erased
---> Package perl-DBD-MySQL.i386 0:2.9003-5 set to be erased
---> Package MySQL-python.i386 0:0.9.2-4 set to be erased
---> Package mysql.i386 0:3.23.58-16.FC3.1 set to be updated
---> Package libdbi-dbd-mysql.i386 0:0.6.5-9 set to be erased
--> Running transaction check
--> Processing Dependency: perl-DBD-MySQL for package: mysql
--> Finished Dependency Resolution
Error: missing dep: perl-DBD-MySQL for pkg mysql
[root@localhost ~]# yum install perl-DBD-MySQL
Setting up Install Process
Setting up Repo: dag
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
dag : ################################################## 2718/2718
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 359 kB 00:04
MD Read : ################################################## 893/893
updates-re: ################################################## 893/893
Nothing to do


why don't you just do:

# rpm -e mysql ?

Because RPM will tell him that all of the packages listed above depend on mysql and rpm will refuse to remove it.


It might be worth trying to remove everything in one go though:
# rpm -e mysql mysql-devel MyODBC perl-DBD-MySQL MySQL-python libdbi-dbd-mysql


I'm not sure why yum thinks that "package mysql.i386 0:3.23.58-16.FC3.1 set to be updated", which is why the yum remove is failing.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux