LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   xen-libs won't update (https://www.linuxquestions.org/questions/linux-server-73/xen-libs-wont-update-945660/)

anon091 05-18-2012 01:43 AM

xen-libs won't update
 
Whenever I try to do a yum update on my server, i get this error for xen-libs. I've ran the three commands it says I should try running and i still get the errors.

--> Running transaction check
--> Processing Dependency: xen-libs = 3.0.3-64.el5_2.1 for package: xen
---> Package xen-libs.i386 0:3.0.3-135.el5_8.2 set to be updated
--> Processing Dependency: liblzma.so.0 for package: xen-libs
--> Processing Dependency: libext4fs.so.2 for package: xen-libs
--> Running transaction check
---> Package e4fsprogs-libs.i386 0:1.41.12-2.el5 set to be updated
--> Processing Dependency: xen-libs = 3.0.3-64.el5_2.1 for package: xen
---> Package xz-libs.i386 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Finished Dependency Resolution
xen-3.0.3-64.el5_2.1.i386 from installed has depsolving problems
--> Missing Dependency: xen-libs = 3.0.3-64.el5_2.1 is needed by package xen-3.0.3-64.el5_2.1.i386 (installed)
Error: Missing Dependency: xen-libs = 3.0.3-64.el5_2.1 is needed by package xen-3.0.3-64.el5_2.1.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

here's the output from a rpm -qa | grep xen
xen-3.0.3-64.el5_2.1
kernel-xen-2.6.18-274.18.1.el5
kernel-xen-2.6.18-308.4.1.el5
xen-libs-3.0.3-64.el5_2.1
kernel-xen-2.6.18-308.1.1.el5

Anyone have any thoughts on how I can fix this? usually i just exclude xen-libs when i update but ideally i'd like to resolve the issue.

blue_print 05-21-2012 09:12 AM

It appears like the repositories you have in your system does not have xen-libs package. You can try fixing this issue by manually upgrading xen and xen-libs package. You can get the packages from the links given below.

Code:

http://mirror.centos.org/centos-5/5.8/updates/i386/RPMS/xen-3.0.3-135.el5_8.2.i386.rpm
http://mirror.centos.org/centos-5/5.8/updates/i386/RPMS/xen-libs-3.0.3-135.el5_8.2.i386.rpm

After updating xen and xen-libs, please try yum update, it should work

Code:

yum update
If it s CentOS server, you can add a .repo under /etc/yum.repos.d/ for the above mirror site.

anon091 05-21-2012 02:48 PM

Thanks for the reply. This server is actually RHEL though, but how do I grab it for that to manually update it?

blue_print 05-21-2012 10:13 PM

Download both packages using wget and save it in a directory.

Then, perform

Code:

rpm -Uvh xen-*
Afterwards, you can try
PHP Code:

yum update 


anon091 05-23-2012 04:13 PM

ok, thanks. i'll try it out next time i get some time on that server. will have to read how to use wget too.

blue_print 05-24-2012 11:51 PM

Just use the following wget command to download the files.

anon091 05-25-2012 01:12 PM

Will the CentOS ones work even though the server is actually RHEL? I know they're essentially the same, but didnt know if you can do that or not.


All times are GMT -5. The time now is 02:41 PM.