[Libguestfs] How to install lib guestfs in CentOS

Richard W.M. Jones rjones at redhat.com
Fri Aug 27 08:02:49 UTC 2010


On Fri, Aug 27, 2010 at 11:00:43AM +0530, Saravanan S wrote:
> Hi,
> 
> On Thu, Aug 26, 2010 at 7:36 PM, Richard W.M. Jones <rjones at redhat.com>wrote:
> 
> >  What are the errors?
> >
> > Did you try:
> >
> >  yum --enablerepo=epel-testing install '*guestf*'
> >
> 
> when i try,
> 
>   yum --enablerepo=epel-testing update
> 
> <snip>
> ---> Package libguestfs.i386 1:1.2.3-1.el5 set to be updated
> --> Processing Dependency: /usr/lib/libmagic.so.1 for package: libguestfs
> ---> Package perl-HTML-Tagset.noarch 0:3.10-2.1.1 set to be updated
> --> Processing Dependency: /usr/lib/libmagic.so.1 for package: libguestfs
> --> Finished Dependency Resolution
> 1:libguestfs-1.2.3-1.el5.i386 from epel has depsolving problems
>   --> Missing Dependency: /usr/lib/libmagic.so.1 is needed by package
> 1:libguestfs-1.2.3-1.el5.i386 (epel)
> 1:libguestfs-1.2.3-1.el5.i386 from epel has depsolving problems
>   --> Missing Dependency: /usr/lib/libmagic.so.1 is needed by package
> 1:libguestfs-1.2.3-1.el5.i386 (epel)
> Error: Missing Dependency: /usr/lib/libmagic.so.1 is needed by package
> 1:libguestfs-1.2.3-1.el5.i386 (epel)
>  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
> 
> could you please help?

I've just tried it on my CentOS 5 machine, and it installed fine.
Have you got /usr/lib/libmagic.so.1?  Have you tried installing or
updating the 'file' package?  Are you using any other external
repositories?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list