ports/75813: fix pkg-plist in russian/nagios port

Roman Y. Bogdanov sam at brj.pp.ru
Tue Jan 4 19:00:41 UTC 2005


>Number:         75813
>Category:       ports
>Synopsis:       fix pkg-plist in russian/nagios port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 04 19:00:40 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Roman Y. Bogdanov
>Release:        FreeBSD 5.3-RELEASE-p2 i386
>Organization:
n/a
>Environment:
System: FreeBSD brj.pp.ru 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Tue Dec 7 21:59:40 KRAT 2004 root at brj.pp.ru:/usr/src/sys/i386/compile/brj-5x i386

>Description:

	fix poblem with pkg-plist then uninstalling nagios

Deleting ru-nagios-1.2                                                                              
pkg_delete: unable to completely remove directory '/usr/local/share/nagios'                         
pkg_delete: couldn't entirely delete package (perhaps the packing list is                           
incorrectly specified?)                                                                             
You should manually remove the "nagios" group.                                                      
You should manually remove the "nagios" user. 

 Problem solved.

>How-To-Repeat:
	
>Fix:

--- nagios1 begins here ---
diff -urN nagios.old/pkg-plist nagios/pkg-plist
--- nagios.old/pkg-plist	Wed Jan  5 01:43:45 2005
+++ nagios/pkg-plist	Wed Jan  5 01:48:12 2005
@@ -308,7 +308,7 @@
 @dirrm share/nagios/media
 @dirrm share/nagios/ssi
 @dirrm share/nagios/stylesheets
- at dirrm share/nagios
+ at unexec rmdir share/nagios 2>/dev/null || true
 @unexec rmdir /var/spool/nagios/archives 2>/dev/null || true
 @unexec rmdir /var/spool/nagios/rw 2>/dev/null || true
 @unexec rmdir /var/spool/nagios 2>/dev/null || true
--- nagios1 ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list