  | |  | squirrelmail installation failed | squirrelmail installation failed 2003-05-16 - By Tony Nugent
Back On Fri May 16 2003 at 16:10, "koff 200" wrote:
(that's a lot of koffs:-)
> Hi all, > I'm using Redhat 7.2. HTTPD is running . And my apache version is > apache-1.3.27-1.7.2 > When trying to install squirrelmail -1.2.11-1.noarch.rpm , I got message > like this: > > error: failed dependencies: HTTPD is needed by squirrelmail-1.2.11-1.
The squirrelmail rpm was not designed to be installed onto rh72 boxes. (It was designed for rh8.0 and later).
> I can't understand that HTTPD is Running but ....
... but squirrelmail requires a httpd server to work.
The issue is that in later distributions they changed (in the .spec file used to build the rpm) the Prereq (pre-requirement) for a web server from "apache" to a more generic "httpd". Apache happens to provide this requirement.
As it turns out, it is possible to install the .noarch.rpm file onto earlier (pre-rh8.0) distributions with the --nodeps flag and not have any subsequent problems.
But a big warning... this is not a general solution -- don't do this without knowing exactly what you are doing. If you are not careful, you could install something that simply doesn't work (especially with the binary ix86.rpms), or (depending on the packate) you could possibly completely screw your system.
To avoid the complaint altogether (and as a general principle for doing this sort of thing), download and install the .src.rpm file, cd /usr/src/redhat/SPECS/, edit the squirrelmail.spec file so that it says "Prereq: apache, perl". Now do "rpm -bb squirrelmail.spec" to re-create a .noarch.rpm that will install without complaints.
Make sure that you are using the most recent rpm version of squirrelmail (from the redhat errata)... earlier versions have a known cross-site scripting exploit problem. (v1.2.11 is fine). (I assume that you are using the latest errata update for apache, I didn't check if 1.3.27-1.7.2 is the most recent one available).
> Thanks for help > koff
So, in essence... simply do "rpm -Uvh --nodeps" to install the rpm and you will be fine.
Cheers Tony
Earn $52 per hosting referral at Lunarpages.
|
|
 |