Jeff Rush
1998-Nov-29 08:28 UTC
Re: RedHat Linux upgrade from Ver 5.1 to 5.2. (Secure Web Server problem)
On Sat, 28 Nov 1998 13:28:18 -0500, Michael Steinhart wrote:>I attempted to manually un-install the Secure Web Server by: >rpm -e secureweb-2.0-1libc6.i386.rpm >Rpm returned : package secureweb-2.0-1libc6.i386.rpm not installed.Ah, caught by one of the nits on RPM, IMHO. When telling RPM to remove (or query) a package, you must use the "package name" which is NOT the same as the "file name". Once a package is installed, RPM only knows the internal package name of: "secureweb" so it would have worked if you had done: rpm -e secureweb Just as you can query with: rpm -q secureweb I wish they would fix RPM to at least complain/warn when someone provides a name with a suffix of .rpm in a mode that wants only a pkgname. Lots of people get caught by this.>So I tryed: >rpm -ivh secureweb-2.0-1libc6.i386.rpm >And rpm returned : packae secureweb-2.0-1libc6.i386.rpm is already installed.And indeed it is. And when doing an ''install'', it is correct to specify the actual "file name" since until the file is opened, RPM doesn''t know the package name (and yes, an RPM author -could- use totally different names but then he''d be shot by the public <grin>).>So after geting sum sleep I decided to try sumthing new. From X I used the >package installer to remove secureweb-2.0-1libc6. IT WORKED! I was then able to >install just the Secure Web Server and IT WORKED also. All that was left was to >replace the new httpd.conf my old one and everything worked as it did befor.Glad to hear things are working again. -Jeff Rush