Click to See Complete Forum and Search --> : Apt for RedHat Enterprise: No APache?


Syngin
04-22-2005, 11:02 AM
Hi guys,

I'm setting up a RedHat Enterprise server at work and, since I'm a Debian head, I thought I'd give the Apt implementation for RPM a go. Granted the versions available are a bit behind but it makes me feel a little more like I'm in my native environment. ;)

MySQl 3.23 installed fine but apache refuses to install this way due to missing dependencies in the repository. Doesn't this seem strange since Apache would be in the top 10 most desired packages or do you think its missing because most admins prefer to install it manually with the various flags?

Thoughts?

Icarus
04-22-2005, 11:33 AM
My thoughts... :D

Add another repository, and check the repositories to verify that the packages needed are there

Does RHEL have yum? That might work too

Syngin
04-22-2005, 11:38 AM
Hmm, tried the alternate sources with no luck but YUM might be worth a go.

up2date gives the following errors when I try an Apache install that way:

[root@nemesis apt]# up2date -i httpd

Fetching package list for channel: redhat-linux-i386-9...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-9...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------
httpd 2.0.40 21.11 i386


Testing package set / solving RPM inter-dependencies...
########################################
RPM package conflict error. The message was:
Test install failed because of package conflicts:
package db4-4.1.25-8 (which is newer than db4-4.0.14-20) is already installed
package pam-0.75-51 (which is newer than pam-0.75-48) is already installed
package cyrus-sasl-2.1.15-3 (which is newer than cyrus-sasl-2.1.10-4) is already installed
package perl-5.8.0-88.4 (which is newer than perl-5.8.0-88.3) is already installed
package python-2.2.3-5 (which is newer than python-2.2.2-26) is already installed
package sendmail-8.12.10-1 (which is newer than sendmail-8.12.8-9.90) is already installed
package cyrus-sasl-gssapi-2.1.15-3 (which is newer than cyrus-sasl-gssapi-2.1.10-4) is already installed
package cyrus-sasl-md5-2.1.15-3 (which is newer than cyrus-sasl-md5-2.1.10-4) is already installed
package cyrus-sasl-plain-2.1.15-3 (which is newer than cyrus-sasl-plain-2.1.10-4) is already installed

[root@nemesis apt]#


Kind of a pain that its complaining that packages are too 'new' since there's no way I could remove db4 without crippling the system right?

Is there a way to downgrade packages via up2date?

Icarus
04-22-2005, 12:18 PM
Best bet is to use apt to remove the packages then use up2date to install them...

Or do it manually with rpm -e packagename packagename packagename packagename

Syngin
04-22-2005, 12:58 PM
Interesting thing I've noticed:

I'm running into 3 different version sets between apt, up2date and the ENterprise cds I have. What's even stranger is that the cds have the most recent versions of everything.