[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help with RH8 uninstall and reinstall of rpm



On Sat, Jan 31, 2004 at 04:00:12PM +1100, SydneyBiz wrote:
> Bob McClure Jr wrote:
> 
> >On Sat, Jan 31, 2004 at 03:05:13PM +1100, SydneyBiz wrote:
> > 
> >
> >>Hi,
> >>I am trying to uninstall my original Apache and then install the new one 
> >>but for some reason I am unable.
> >>
> >>I get this mesage....
> >>
> >>[root LinuxBox root]# rpm -e httpd-2.0.40-11.9
> >>error: Failed dependencies:
> >>      httpd-mmn = 20020628 is needed by (installed) mod_perl-1.99_05-3
> >>      httpd-mmn = 20020628 is needed by (installed) mod_python-3.0.0-10
> >>      httpd-mmn = 20020628 is needed by (installed) php-4.2.2-8.0.5
> >>      httpd-mmn = 20020628 is needed by (installed) mod_ssl-2.0.40-11.9
> >>      libapr.so.0 is needed by (installed) mod_perl-1.99_05-3
> >>      libaprutil.so.0 is needed by (installed) mod_perl-1.99_05-3
> >>      httpd is needed by (installed) redhat-config-httpd-1.0.1-13
> >>      httpd >= 2.0.40 is needed by (installed) mod_perl-1.99_05-3
> >>      httpd >= 2.0.40 is needed by (installed) mod_python-3.0.0-10
> >>      httpd is needed by (installed) mod_ssl-2.0.40-11.9
> >>[root LinuxBox root]#
> >>
> >>I am a newby and prefer the KDE graphics to do it but can'y quite get a 
> >>hold of it.
> >>
> >>In the meantime does the message above mean it has been deleted or not.
> >>
> >>If not how do I get this deleted?
> >>
> >>Thanks
> >>   
> >>
> >
> >Umm, why don't you upgrade instead of uninstall/install?  Just
> >
> > rpm -Fvh httpd-2*.rpm
> >
> >"man rpm" for more information.
> >
> >Cheers,
> > 
> >
> Thanks..
> 
> I was advised to do the delete and install by someone else but this is 
> sure quicker!
> 
> I have am into the manual but like all manuals and newbys, they don't 
> always understand each other at first! :)
> 
> In the meantime, I got this after the update..
> 
> [root LinuxBox src]# rpm -Fvh httpd-2*.rpm
> error: Failed dependencies:
> libcrypto.so.4 is needed by httpd-2.0.40-21
> libssl.so.4 is needed by httpd-2.0.40-21
> [root LinuxBox src]# locate libcrypto.so.4
> [root LinuxBox src]# locate libssl.so.4
> [root LinuxBox src]#
> 
> I have tried to find the files but they don't seem to be found..
> 
> Thanks again

I wrote a tool to deal with just that problem.  If you go to

http://www.rhil.net/cgi-bin/whats_where.cgi

and put in

  libcrypto.so.4

you get

Found no RPMs containing libcrypto\.so\.4.

Ok, too specific.  Trim that to

  libcrypto.so

and you get

/lib/libcrypto.so.0.9.7a is in openssl-0.9.7a-5.i386.rpm
/lib/libcrypto.so.0.9.7a is in openssl-0.9.7a-5.i686.rpm
/usr/lib/libcrypto.so.0.9.6 is in openssl096-0.9.6-17.i386.rpm
/lib/libcrypto.so.0.9.6b is in openssl096b-0.9.6b-6.i386.rpm
/usr/lib/libcrypto.so is in openssl-devel-0.9.7a-5.i386.rpm

I would go for openssl-0.9.7a-5.i386.rpm.  You don't mention your RH
version, but for RH 9 that's on CD 1 (it's version 0.9.7a-2, but
that's ok).  Note that it comes in an i386 version or i686 version.
Run

  uname -m

to see which to use.

Now for libssl, it is in the same RPM.  You can just install that rpm,
and then update httpd, or you can do it all at one swell foop:

rpm -Uvh httpd-2*.rpm openssl-0.9.7a-*.i686.rpm

The "-U" means to update or install as appropriate.

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure earthlink net  http://www.bobcatos.com
Nothing ruins the truth like stretching it.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]