Posts Tagged yum update

Auto update CentOS server with yum

Posted on January 31, 2010 with No Comments

Create file yum_update.sh

vi /etc/cron.daily/yum_update.sh

With following content

#!/bin/bash
 
/usr/bin/yum -y -R 120 -d 0 -e 0 update yum
/usr/bin/yum -y -R 10 -e 0 -d 0 update

-e 0 -d 0 are to only show critical errors.
-R adds random delay between command execution.

Make it executable

chmod 755 /etc/cron.daily/yum_update.sh

fipscheck conflicts with fipscheck-lib-1.2.0-1.el5.x86_64

Posted on January 30, 2010 with No Comments

When i run yum update i get error

[root@server12 ~]# yum update
.....
..... some text removed
.....
ERROR with rpm_check_debug vs depsolve:
fipscheck conflicts with fipscheck-lib-1.2.0-1.el5.x86_64
Complete!
(1, ['Please report this error in bugzilla'])
[root@server12 ~]#

This is caused by both 32 and 64 bit version installed.

[root@server12 ~]# rpm -qa fipscheck
fipscheck-1.0.3-1.el5
fipscheck-1.0.3-1.el5
[root@server12 ~]#

I got the error fixed by

yum remove fipscheck

This will also remove package “nss_ldap”.

Tags: , , ,

Category: Linux

Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)

Posted on July 6, 2009 with No Comments

When i run “yum update” i get error

[root@server28 ~]# yum upgrade
.....
.....
samba-3.0.33-3.7.el5.i386 from base has depsolving problems
  --> Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)
Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)
[root@server28 ~]#

To fix the error we need to find package perl-Convert-ASN1 and install it.

But this server do not need samba, so i just removed samba. samba is used to connect to windows network. Most web servers do not need samba.

yum remove samba samba-client