These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Failed to Install MySql server - PLEASE HELP on the new forum.
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!
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
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
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
I saw...
[root@server ~] # 1s /etc/yum.repos.d/
CentOS-Base.repo utterramblings.repo virtualmin.repo
CentOS-Media.repo Virtualmin-bleed.repo
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
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
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
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
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
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