How to remove these yum notices?

Richard G

Verified User
Joined
Jul 6, 2008
Messages
13,848
Location
Maastricht
Whenever I try to install something with yum I get an error about sendmail.

When I do "yum check" this is the result:
yum check
Loaded plugins: fastestmirror
MySQL-client-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-client-5.5.28-1.linux2.6.x86_64
MySQL-devel-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-devel-5.5.28-1.linux2.6.x86_64
MySQL-server-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-server-5.5.28-1.linux2.6.x86_64
MySQL-shared-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-shared-5.5.28-1.linux2.6.x86_64
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
Error: check all

How can I fix it so these will not be displayed anymore?

It's on a VPS with Centos 6. Never had that on any normal dedicated servers.
 
Can you remove sendmail-cf-8.14.4-8.el6.noarch

Maybe:

Code:
rpm -e sendmail-cf-8.14.4-8.el6.noarch

Then I would try:

Code:
yum clean all
 
Thank you SCSI.

The sendmail notice is gone now.
After yum clean all, the mysql statements just come back.

It's strange thou because Mysql is installed via custombuild and not via yum.
If I remove them via yum, then the custombuild's mysql is also gone and I have to install that again.
 
Cause custombuild use pre-compiled rpm, not source, that's why appear in yum but you should have this line in /etc/yum.conf:

Code:
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* bind-chroot*

Regards
 
That's the strange thing about it, I do have that line on all my servers in /etc/yu.conf.

This is the line on this vps:
Code:
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* bind-chroot* perl-DBD-MySQL-* mytop-*
So it's correct, that's why I wonder why it still appears on a yum check.
It doesn't do so on the normale dedicated servers, only on this vps.
 
That's courios.. cause i just did notice that versions are the same in the warning.

Actually.. i dont know how to help i'm sorry

Regards
 
Not sure if this would work but you might try:

Code:
mv /var/cache/yum /var/cache/yum-bak
yum update

Once you know everything is fine you can then delete /var/cache/yum-bak

If it doesnt help, then I am not sure what to do.
 
@Sellerone: Yep, that's what I found strange too, same versions.

@Scsi: No doesn't help. Strange though.
root@server ~ # mv /var/cache/yum /var/cache/yum-bak
root@server ~ # yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.yourwebhoster.eu
* extras: mirror.yourwebhoster.eu
* updates: mirror.yourwebhoster.eu
base | 3.7 kB 00:00
base/primary_db | 4.5 MB 00:00
extras | 3.0 kB 00:00
extras/primary_db | 6.3 kB 00:00
updates | 3.5 kB 00:00
updates/primary_db | 2.9 MB 00:00
vz-base | 951 B 00:00
vz-base/primary | 1.3 kB 00:00
vz-base 3/3
vz-updates | 951 B 00:00
vz-updates/primary | 157 B 00:00
Setting up Update Process
No Packages marked for Update
root@server ~ # yum check
Loaded plugins: fastestmirror
MySQL-client-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-client-5.5.28-1.linux2.6.x86_64
MySQL-devel-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-devel-5.5.28-1.linux2.6.x86_64
MySQL-server-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-server-5.5.28-1.linux2.6.x86_64
MySQL-shared-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-shared-5.5.28-1.linux2.6.x86_64
Error: check all

However, it does not seem to cause any problems, so I think I can best ignore it then.
 
So it's correct, that's why I wonder why it still appears on a yum check.
It doesn't do so on the normale dedicated servers, only on this vps.

Note, if you look at CentOS repos, you might see that MYSQL packages names are written in lower case, and since yum/rpm are case sensitive Directadmin names its packages differently as MySQL-*.rpm, that is why exclude= line does not match MYSQL packages distributed by JBMC Software.
 
I hope I understand you correctly.

But isn't that the reason that both "mysql" and "MySQL" are present in the exclude= line?
Because I also have it that way on my other servers, also Centos, only difference is that they are Centos 5 and the vps has Centos 6.
So the operating system is the same, Directadmin too. Only the notice on yum check appears on the vps.

Maybe it's yum, because on the other servers when I type "yum check" I get a list of all yum (commandlin) options.
 
But isn't that the reason that both "mysql" and "MySQL" are present in the exclude= line?

Richard, right you are.

I've missed MySQL* from exclude= line.
Anyway yum on CentOS 5 seems not to support check. So, yes, it's actual only for CentOS 6.x

It's probably indeed a combination of Centos 6 with DA.

And, the same with me, I've got the same messages on CentOS 6. And my searches on Google was not really successful, and I'm still not sure, what that warning means and what does "is obsoleted by' state for...

By the way, does it appear anywhere else or only when running

Code:
yum check
?
 
I've also searched Google but did not really find anything which would clear it up.

At our system it only appears with the "yum check" command.
When the sendmail was present I've thought I've also seen it with yum install also, but I'm not sure anymore.
That's not the case anymore. Only yum check displays it so it's probably safe to ignore. But it might be some kind of bug.
 
To me it looks like a combination of bug in yum (allowing dependencies even when in the exclude file). and that sendmail-cf is listed as a dependency for something.

Jeff
 
Yep, I agree. The sendmail-cf is probably a mistake made by the company installing the system.
Because after removing the rpm like SCSI wrote in post #2, the sendmail notice was gone and only the mysql notice stayed present.
 
Back
Top