LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2014, 03:54 PM   #1
adumith
Member
 
Registered: Feb 2013
Posts: 46

Rep: Reputation: Disabled
Question Trying to update the system (yum)


Hello every one;

I´m trying to update my server, but when I put: yum update I got this error:
[root@qa tmp]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.secrel.com.br
* epel: mirror.utexas.edu
* extras: centos.secrel.com.br
* updates: centos.secrel.com.br
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package Percona-Server-shared-51.i386 0:5.1.73-rel14.11.603.rhel5 set to be updated
--> Processing Dependency: real-mysql-libs = 5.5.36-1.el5.remi for package: mysql
--> Processing Dependency: real-mysql-libs = 5.5.36-1.el5.remi for package: mysql-server
--> Finished Dependency Resolution
mysql-server-5.5.36-1.el5.remi.i386 from installed has depsolving problems
--> Missing Dependency: real-mysql-libs = 5.5.36-1.el5.remi is needed by package mysql-server-5.5.36-1.el5.remi.i386 (installed)
mysql-5.5.36-1.el5.remi.i386 from installed has depsolving problems
--> Missing Dependency: real-mysql-libs = 5.5.36-1.el5.remi is needed by package mysql-5.5.36-1.el5.remi.i386 (installed)
Error: Missing Dependency: real-mysql-libs = 5.5.36-1.el5.remi is needed by package mysql-server-5.5.36-1.el5.remi.i386 (installed)
Error: Missing Dependency: real-mysql-libs = 5.5.36-1.el5.remi is needed by package mysql-5.5.36-1.el5.remi.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


Can anybody tell me how can I fix this error and keep going with the update?

Thanks in advance.
 
Old 03-18-2014, 04:03 PM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
The "remi" attached to all these package names suggests to me that you have mixed "Les RPM de Remi" in with your CentOS sources at some point?

http://rpms.famillecollet.com/

Without knowing why you have chosen Remi's mysql over the supported CentOS mysql, I am hesitant to suggest a solution.
 
Old 03-18-2014, 05:16 PM   #3
adumith
Member
 
Registered: Feb 2013
Posts: 46

Original Poster
Rep: Reputation: Disabled
Thanks a lot for your reply;

How can I use Centos instead of remi?

Thanks again...
 
Old 03-18-2014, 05:44 PM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
There is some stuff in there, like Remi and Percola-Server, that I just don't have experience with. So like a doctor my instinct is "first do no harm."

Therefore I assume that you added this extra software for a reason, and so now your next questions should be, "can I remember why I did this (is there documentation), and why is yum giving me this error?"

What yum is telling you, in layman's terms, is that software you have currently installed on the machine cannot be updated due to missing dependencies (probably because the "repository" or origin source for this software is not currently enabled on your system by default).

I am curious whether you had a chance to read the Remi website I linked to in #2? On the "English FAQ" page (FAQ=Frequently Asked Questions) I see such questions answered as "How to Use the repository ?" and "Why the repository isn't enabled on default ?" (Answer: "Available packages override those in official repository. So their installation must be a pondered administrator choice. But it's really easy to permanently enable it.") Reading this FAQ might jog your memory why this non-CentOS software exists on your system.

Same goes for your Percona-Server issue; I assume you do not want to suddenly just switch it off on a production server; you would want to go to their site and read the FAQ and other documentation to understand why Percona-Server is installed on your system and how you can enable the correct repository to make the yum error go away...

Last edited by snowday; 03-18-2014 at 05:48 PM.
 
Old 03-18-2014, 06:07 PM   #5
adumith
Member
 
Registered: Feb 2013
Posts: 46

Original Poster
Rep: Reputation: Disabled
Hello snowpine,

Thanks a lot for your reply and help.

So, in this cases I just want to remove the remi repository and set to the default (centos).

Could you tell me how?
 
Old 03-18-2014, 06:26 PM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by adumith View Post
So, in this cases I just want to remove the remi repository and set to the default (centos).
That appears to be your exact current situation (except that in addition to the default CentOS repostories you appear to also have 'epel' repo, do you know what EPEL is for?):

Code:
* base: centos.secrel.com.br
* epel: mirror.utexas.edu
* extras: centos.secrel.com.br
* updates: centos.secrel.com.br
If you are asking "can Snowpine safely migrate my Percona-Server back to default CentOS mysql?" I'm afraid I do not have that knowledge.
 
Old 03-18-2014, 09:19 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,674

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
as per all of the above
you have the rhel/cent5 remi software installed

that is for CentOS 5
CentOS 5.10 is the ONLY!!! version in 5 supported
with CentOS 6.5 as the current and the older CentOS 5 for older legacy software
( yes CentOS 5 is starting to show it's old age )

Warning:
now rhel/centos/sl 5 ALL !!! had MAJOR incompatibility issues with third party repos
these ware mostly fixed in rhel/centos 6

but in 5 there were MAJOR issues


* epel had issues , not as bad as others but some

now removing remi ????????????

first you need to check just how many rpm's from them are installed
Code:
su -
rpm -qa | grep remi
will output a list , hopefully only 5 or 6 long
Code:
su -
rpm -qa | grep remi > ~/RemiList.txt
will put a text file in the root HOME folder

then go through it one at a time and uninstall them
Warning:
pay attention to WHAT else it wants to UNINSTALL !!!!!
it might want to remove half of the operating system !!!


--- example ---
Code:
su -
yum remove mysql-5.5.36-1.el5.remi
then if it looks safe to uninstall hit the "y" key for the answer the the "yes / no " question

Last edited by John VV; 03-18-2014 at 09:34 PM.
 
Old 03-18-2014, 09:29 PM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,
Quote:
Originally Posted by snowpine View Post
That appears to be your exact current situation (except that in addition to the default CentOS repostories you appear to also have 'epel' repo, do you know what EPEL is for?):
The EPEL repo should be safe. It's not supposed to provide anything that would conflict with RHEL packages. See:

https://fedoraproject.org/wiki/EPEL/...ed_products.3F

Cheers,

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] yum wont update system unix1adm Red Hat 11 08-05-2010 06:15 AM
Unable to update system with YUM (Dependency?) chess380 Fedora 1 09-23-2006 06:25 PM
fedora 5 yum update fail and system crashed chlawren Linux - Software 0 07-26-2006 09:16 AM
When i update my system with yum update Yihya Linux - Newbie 1 02-22-2006 10:33 AM
yum error, can't update system simeandrews Fedora 8 09-01-2005 12:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration