[rhn-users] restoring original configuration files for an rpm package
tom at ecnow.co.uk
tom at ecnow.co.uk
Fri Nov 24 11:58:58 UTC 2006
Hi,
I'm trying to use the rpm command to refresh the httpd package which
has a broken httpd.conf file installed. (ie replace httpd.conf with a
stock copy) However I can't get the rpm to overwrite that file. (The
only way I have found is to actually delete the file manually, and
then rerun a forced install)
Any ideas on this?
Thanks,
Tom H
eg;
[root at localhost archive]# rpm -V httpd
S.5....TC c /etc/httpd/conf/httpd.conf
[root at localhost archive]# rpm -Uvh httpd-2.0.52-25.ent.x86_64.rpm
warning: httpd-2.0.52-25.ent.x86_64.rpm: V3 DSA signature: NOKEY, key
ID db42a60e
Preparing... ########################################### [100%]
package httpd-2.0.52-25.ent is already installed
[root at localhost archive]# rpm --force -Uvh httpd-2.0.52-25.ent.x86_64.rpm
warning: httpd-2.0.52-25.ent.x86_64.rpm: V3 DSA signature: NOKEY, key
ID db42a60e
Preparing... ########################################### [100%]
1:httpd ########################################### [100%]
[root at localhost archive]# rpm -V httpd
S.5....TC c /etc/httpd/conf/httpd.conf
Still not restored from package...
[root at localhost archive]# rpm -ivh httpd-2.0.52-25.ent.x86_64.rpm
warning: httpd-2.0.52-25.ent.x86_64.rpm: V3 DSA signature: NOKEY, key
ID db42a60e
Preparing... ########################################### [100%]
package httpd-2.0.52-25.ent is already installed
[root at localhost archive]#
[root at localhost archive]# rpm --force -ivh httpd-2.0.52-25.ent.x86_64.rpm
warning: httpd-2.0.52-25.ent.x86_64.rpm: V3 DSA signature: NOKEY, key
ID db42a60e
Preparing... ########################################### [100%]
1:httpd ########################################### [100%]
[root at localhost archive]# rpm -V httpd
S.5....TC c /etc/httpd/conf/httpd.conf
[root at localhost archive]# rpm --force -ivh httpd-2.0.52-25.ent.x86_64.rpm
warning: httpd-2.0.52-25.ent.x86_64.rpm: V3 DSA signature: NOKEY, key
ID db42a60e
Preparing... ########################################### [100%]
1:httpd ########################################### [100%]
[root at localhost archive]# rpm -V httpd
[root at localhost archive]#
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the rhn-users
mailing list