Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
squirrelmail installation failed

squirrelmail installation failed

2003-05-16       - By Tony Nugent

 Back
Reply:     1     2     3  

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.