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.
wpwood3
25th March 2010, 23:34
I just ran into this same issue while testing ISPConfig3
My suggestion is to amend the CentOS 5.4 x86_64 Perfect Server HowTo (http://www.howtoforge.com/perfect-server-centos-5.4-x86_64-ispconfig-3) as follows:
Step-11
Add the following at the beginning of step-11:
We have to prevent yum from attempting to overwrite our custom built Postfix installation so we add exclude=postfix-* to the Base and Updates repos
vi /etc/yum.repos.d/CentOS-Base.repo
Add exclude=postfix-* under Base and Updates
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
exclude=postfix-*
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
exclude=postfix-*
Step-16
Add the following at the end of step-16:
Since we have everything we need from the kbs-CentOS-Testing repo we want to disable it to prevent future yum update conflicts.
vi /etc/yum.repos.d/kbsingh-CentOS-Extras.repo
We set enabled=0
[...]
[kbs-CentOS-Testing]
name=CentOS.Karan.Org-EL$releasever - Testing
gpgcheck=0
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
enabled=0
baseurl=http://centos.karan.org/el$releasever/extras/testing/$basearch/RPMS/
Nicram
3rd April 2010, 17:38
To fix lzop problem do:
wget ftp://fr.rpmfind.net/linux/EPEL/5Client/x86_64/lzop-1.02-0.5.rc1.el5.x86_64.rpm
rpm -Uvh lzop-1.02-0.5.rc1.el5.x86_64.rpm
Then when You will make yum update there may be still problem:
Total 476 kB/s | 88 MB 03:08
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:...
To fix it do the following:
yum remove subversion xdelta
yum update --exclude="postfix" --disablerepo=kbs-CentOS-Testing
yum install subversion.x86_64 xdelta.x86_64
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.