jasonthomasfrance
Jan 18 2003, 08:24 PM
Hello,
I'm wanting to install the newest version of apache. And I don't like the the apache that came with redhat, it's install locations, etc... So I'm trying to remove Apache from the Packages section in KDE. But RH won't let me, it says: You have selected a package for removal that is depended upon by necessary system package... System Package: redhat-config-packages 712 kilobytes.
I am only selecting Web Server!!
jasonthomasfrance
Jan 18 2003, 08:44 PM
Hmm... Every single time I post a question somewhere I figure the answer out... Wierd...
Here' what I did:
[root@thor root]# rpm -e apache
error: package apache is not installed
[root@thor root]# rpm -e httpd
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
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 >= 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) redhat-config-httpd-1.0.1-13
httpd is needed by (installed) mod_ssl-2.0.40-11
[root@thor root]# rpm -e mod_perl
[root@thor root]# rpm -e mod_python
[root@thor root]# rpm -e mod_ssl
[root@thor root]# rpm -e mod_perl
error: package mod_perl is not installed
[root@thor root]# rpm -e php
[root@thor root]# rpm -e httpd
error: Failed dependencies:
httpd is needed by (installed) redhat-config-httpd-1.0.1-13
[root@thor root]# rpm -e redhat-config-httpd
warning: /etc/alchemist/namespace/apache/local.adl saved as /etc/alchemist/namespace/apache/local.adl.rpmsave
[root@thor root]# rpm -e httpd
warning: /etc/httpd/conf/httpd.conf saved as /etc/httpd/conf/httpd.conf.rpmsave
[root@thor root]# rpm -qa | less
[1]+ Stopped rpm -qa | less
[root@thor root]#
And now it should be gone, right?
Hemant
Jan 20 2003, 06:37 PM
why don't u get the latest version of apache and enter the commad
rpm -Uvh apache-xxxxx
this will upgrade ur installed apache package.no need to uninstall them.
any way if u still want to remove apache u can try gnome-package manager also.it sometimes works better than the command rmp -e.
Corey
Jan 21 2003, 09:13 AM
because s/he didn't like the default install locations that Redhat uses. This could be easily changed by you or me, but other people may way to install fresh and define the prefix's themselves.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.