Bug 397422

Summary: ntp rpm throws an error when installing
Product: [openSUSE] openSUSE 11.0 Reporter: Uwe Gansert <ug>
Component: BasesystemAssignee: Peter Varkoly <varkoly>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ro
Version: RC 1   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Uwe Gansert 2008-06-05 11:09:44 UTC
2008-06-05 13:08:06 ntp-4.2.4p4-42.1.i586.rpm install failed
rpm output:
warning: /etc/ntp.conf created as /etc/ntp.conf.rpmnew
warning: /etc/slp.reg.d/ntp.reg created as /etc/slp.reg.d/ntp.reg.rpmnew
warning: /var/lib/ntp/etc/ntp.conf.iburst created as /var/lib/ntp/etc/ntp.conf.iburst.rpmnew
error: unpacking of archive failed on file /var/run/ntp: cpio: rename failed - Is a directory

/var/run/ntp is really a directory
Comment 1 Peter Varkoly 2008-06-05 14:14:27 UTC
fixed 
Comment 2 Ruediger Oertel 2008-06-05 15:53:46 UTC
+test -L /var/run/ntp  || rm -f /var/run/ntp && :

this will not help at all if /var/run/ntp is a directory.

either use "mv" or you need "rm -rf" ...
Comment 3 Peter Varkoly 2008-06-06 06:58:33 UTC
fixed with rm -rf
Comment 4 Peter Varkoly 2008-07-01 10:00:23 UTC
*** Bug 403265 has been marked as a duplicate of this bug. ***
Comment 11 Bugzilla Account Maintenance 2008-09-02 18:07:51 UTC
Because the LATER and REMIND resolutions have been removed, the resolution of this bug has changed from LATER to WONTFIX. If this bug needs to be reconsidered, reopen it and set a future "Target Milestone for Fix."