Failed to Install MySql server - PLEASE HELP

11 posts / 0 new
Last post
#1 Tue, 11/23/2010 - 10:48
dfwsbm@yahoo.com

Failed to Install MySql server - PLEASE HELP

Failed to Install MySql server
We were trying to install the three updates

1). mysql 5.1.50-jason.1
2). mysql-server 5.1.50-jason.1
3). subversion 1.4.6-jason.1

yum -y install mysql
yum -y install mysql-server
yum -y install subversion

error report: conflicts with file from package mysql

We NEED HELP!

Tue, 11/23/2010 - 11:16
andreychek

Howdy,

It looks like you have a third party repository installed, and that the packages from it are conflicting with the packages from your existing repositories.

My recommendation would be to disable any third party repositories, and then try your update again.

-Eric

Tue, 11/23/2010 - 18:37
dfwsbm@yahoo.com

I don't have idea about the third party repository.
I saw in my Virtualmin that 3 updates to Virtualmin packages are available.
1). mysql 5.1.50-jason.1
2). mysql-server 5.1.50-jason.1
3). subversion 1.4.6-jason.1

Then I clicked to install the updates, but the updates were unsuccessful. And came with the error

So, how do I disable the third party repository before running the updates?
Please Help

Tue, 11/23/2010 - 19:49
andreychek

Hmm, well, someone would have had to explicitly enabled that repository on your system. However, it's certainly possible to disable it.

If you log into your server as root, and type:

ls /etc/yum.repos.d/

What output do you see?

-Eric

Wed, 11/24/2010 - 15:08
dfwsbm@yahoo.com

I saw...

[root@server ~] # 1s /etc/yum.repos.d/
CentOS-Base.repo utterramblings.repo virtualmin.repo
CentOS-Media.repo Virtualmin-bleed.repo

Wed, 11/24/2010 - 15:20
andreychek

The utterramblings.repo file isn't a standard repository. My suggestion would be to edit it, and set "enabled" to "0".

After that, try running your updates again.

-Eric

Thu, 11/25/2010 - 08:41
dfwsbm@yahoo.com

Please how do I edit and enable the utterramblings.repo file to "0" as described
I don't even know where the file reside in the server or in virtualmin.

Can you help with the command to use?
so that I can log in as root and run the command via PuTTy or via virtualmin

Thanks

Thu, 11/25/2010 - 10:16
andreychek

Well, why don't we start here... what output do you get if you run this command -- you should see the contents of the file:

cat /etc/yum.repos.d/utterramblings.repo

Thu, 11/25/2010 - 17:46
dfwsbm@yahoo.com

Below is the result:

[root@server ~]# cat /etc/yum.repos.d/utterramblings.repo [utterramblings] name=Jason's Utter Ramblings Repo baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

Thu, 11/25/2010 - 17:53
andreychek

Okay, so that looks good... the next step would be to use a text editor of some sort. There's a lot of text editors you could use. For starters, you may want to try "nano".

So just run "nano /etc/yum.repos.d/utterramblings.repo", edit where it says "enabled=1", and change the "1" to a "0". Then save and exit... then try your update again.

-Eric

Fri, 11/26/2010 - 10:25
dfwsbm@yahoo.com

GREAT - it worked

[root@server ~]# cat /etc/yum.repos.d/utterramblings.repo [utterramblings] name=Jason's Utter Ramblings Repo baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ enabled=0 gpgcheck=1 gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

Thanks alot for the support

Topic locked