PDA

View Full Version : yum update problem onj centos to 5.4


cobro
31st October 2009, 00:34
--> Processing Dependency: liblzo.so.1 for package: lzop
---> Package sgpio.i386 0:1.2.0_10-2.el5 set to be updated
--> Finished Dependency Resolution
lzop-1.01-2.el5.rf.i386 from installed has depsolving problems
--> Missing Dependency: liblzo.so.1 is needed by package lzop-1.01-2.el5.rf.i386 (installed)
Error: Missing Dependency: liblzo.so.1 is needed by package lzop-1.01-2.el5.rf.i386 (installed)

i have tried numerus ways and not been able to fix this and frank i have no idea on how to fix this ? :confused:

till
1st November 2009, 12:15
Please see here:

http://www.scalix.com/forums/viewtopic.php?p=38872#p38682

Try to find the missing package in e.g. rpm.pbone.net and install it with rpm -i

cobro
2nd November 2009, 00:22
http://www.howtoforge.com/forums/showthread.php?t=37674

i found this but it did not fix my problem

Doug G
2nd November 2009, 05:05
I was able to get CentOS to update by excluding postfix and skipping broken dependencies

yum --exclude="postfix" --skip-broken update worked for me with CentOS 5.4

cobro
2nd November 2009, 19:15
Yes this also works for me thank you very much

deunan
7th November 2009, 12:38
Had the same problem as well..

The culprit seems to be this one -

---> Package lzo.i386 0:2.02-3.el5.kb set to be updated
--> Processing Dependency: liblzo.so.1 for package: lzop

then

lzop-1.01-2.el5.rf.i386 from installed has depsolving problems
--> Missing Dependency: liblzo.so.1 is needed by package lzop-1.01-2.el5.rf.i386 (installed)
Error: Missing Dependency: liblzo.so.1 is needed by package lzop-1.01-2.el5.rf.i386 (installed)

Previously, the installation document for perfect server cites that mod_fcgid is not available in the official CentOS repositories, but there's a package for CentOS 5.x in the centos.karan.org testing repository. So, we have this repository active for mod_fcgid but now we have package conflict due to this.

So, either we exclude lzo package or disable kbs-CentOS-Testing. It'll work.

yum update --exclude="lzo" --exclude="postfix"

yum update --exclude="postfix" --disablerepo=kbs-CentOS-Testing

Mahalo
11th March 2010, 01:00
Thank you VERY much... I see this is an old thread but this problem has persisted.

yum update --exclude="lzo" --exclude="postfix"

worked perfectly. Although it said that it failed, I ran an update after, from shell and from Virtualmin, and both came up clean.