|
From: Jonathan H. <jhe...@de...> - 2006-09-01 23:17:06
|
Nicholas Burmeister wrote:
> Tell me if this looks right to you. The reason I hesitate is because it seems to want to remove 'dependencies' as well:
>
> [root@wwi ~]# yum remove httpd
> Loading "installonlyn" plugin
> Setting up Remove Process
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package httpd.i386 0:2.2.2-1.2 set to be erased
> --> Running transaction check
> Setting up repositories
> core [1/3]
> updates [2/3]
> extras [3/3]
> Reading repository metadata in from local files
> --> Processing Dependency: httpd-mmn = 20051115 for package: php
> --> Processing Dependency: webserver for package: webalizer
> --> Processing Dependency: httpd = 2.2.2-1.2 for package: httpd-manual
> --> Processing Dependency: httpd-mmn = 20051115 for package: mod_auth_pgsql
> --> Processing Dependency: httpd >= 2.0.40 for package: mod_auth_pgsql
> --> Processing Dependency: httpd-mmn = 20051115 for package: mod_ssl
> --> Processing Dependency: httpd = 0:2.2.2-1.2 for package: mod_ssl
> --> Processing Dependency: httpd-mmn = 20051115 for package: mod_authz_ldap
> --> Processing Dependency: httpd-mmn = 20051115 for package: mod_security
> --> Processing Dependency: httpd for package: system-config-httpd
> --> Processing Dependency: httpd for package: mod_security
> --> Processing Dependency: httpd-mmn = 20051115 for package: mod_auth_kerb
> --> Processing Dependency: httpd >= 2.2.0 for package: gnome-user-share
> --> Processing Dependency: httpd for package: mediawiki
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> ---> Package mediawiki.i386 0:1.5.8-1.fc5 set to be erased
> ---> Package mod_auth_kerb.i386 0:5.0-8.2.1 set to be erased
> ---> Package gnome-user-share.i386 0:0.10-1.fc5.1 set to be erased
> ---> Package mod_authz_ldap.i386 0:0.26-6.2.1 set to be erased
> ---> Package mod_security.i386 0:1.9.4-1.fc5 set to be erased
> ---> Package webalizer.i386 0:2.01_10-29.2.1 set to be erased
> ---> Package mod_auth_pgsql.i386 0:2.0.3-2.3 set to be erased
> ---> Package system-config-httpd.noarch 5:1.3.3-1.1 set to be erased
> ---> Package httpd-manual.i386 0:2.2.2-1.2 set to be erased
> ---> Package mod_ssl.i386 1:2.2.2-1.2 set to be erased
> ---> Package php.i386 0:5.1.4-1 set to be erased
> --> Running transaction check
> --> Processing Dependency: php = 5.1.4-1 for package: php-pgsql
> --> Processing Dependency: php >= 5.1.0-1 for package: php-pear
> --> Processing Dependency: php = 5.1.4-1 for package: php-mysql
> --> Processing Dependency: php = 5.1.4-1 for package: php-pdo
> --> Processing Dependency: php = 5.1.4-1 for package: php-devel
> --> Processing Dependency: php = 5.1.4-1 for package: php-ldap
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> ---> Package php-pdo.i386 0:5.1.4-1 set to be erased
> ---> Package php-pear.noarch 1:1.4.9-1.2 set to be erased
> ---> Package php-pgsql.i386 0:5.1.4-1 set to be erased
> ---> Package php-ldap.i386 0:5.1.4-1 set to be erased
> ---> Package php-mysql.i386 0:5.1.4-1 set to be erased
> ---> Package php-devel.i386 0:5.1.4-1 set to be erased
> --> Running transaction check
>
> Dependencies Resolved
>
> =============================================================================
> Package Arch Version Repository Size
> =============================================================================
> Removing:
> httpd i386 2.2.2-1.2 installed 2.7 M
> Removing for dependencies:
> gnome-user-share i386 0.10-1.fc5.1 installed 90 k
> httpd-manual i386 2.2.2-1.2 installed 3.4 M
> mediawiki i386 1.5.8-1.fc5 installed 6.5 M
> mod_auth_kerb i386 5.0-8.2.1 installed 52 k
> mod_auth_pgsql i386 2.0.3-2.3 installed 53 k
> mod_authz_ldap i386 0.26-6.2.1 installed 197 k
> mod_security i386 1.9.4-1.fc5 installed 1.1 M
> mod_ssl i386 1:2.2.2-1.2 installed 172 k
> php i386 5.1.4-1 installed 9.1 M
> php-devel i386 5.1.4-1 installed 2.5 M
> php-ldap i386 5.1.4-1 installed 41 k
> php-mysql i386 5.1.4-1 installed 176 k
> php-pdo i386 5.1.4-1 installed 103 k
> php-pear noarch 1:1.4.9-1.2 installed 1.8 M
> php-pgsql i386 5.1.4-1 installed 121 k
> system-config-httpd noarch 5:1.3.3-1.1 installed 2.2 M
> webalizer i386 2.01_10-29.2.1 installed 250 k
>
> Transaction Summary
> =============================================================================
> Install 0 Package(s)
> Update 0 Package(s)
> Remove 18 Package(s)
> Is this ok [y/N]:N
> Exiting on user Command
> Complete!
> [root@wwi ~]#
>
>
If you proceed with this, after removing the packages, you'll need to do
a "yum install {package-list}" where {package-list} is replaced by a
space-separated list that includes everything in the removal list ( yum
install httpd gnome-user-share httpd-manual mediawike mod_auth_kerp etc
etc etc). Then, you'll need to redo those various changes made to
php.ini so many emails ago...
This shouldn't be dangerous, it just seems like a very tedious way to
replace one little file...
Instead of doing this, you could download the rpm from somewhere like
rpmfind.net, then use this trick:
http://www.linux-noob.com/forums/lofiversion/index.php/t355.html
to extract httpd.conf from the rpm without install it. Alternatively,
once you have the rpm, you would probably get the conf file back by running
rpm -F {rpm file}
|