Bug 182812

Summary: Could not portupgrade net-mgmt/nrpe2 after port renamed to net-mgmt/nrpe
Product: Ports & Packages Reporter: Alexey Kouznetsov <alexey>
Component: Individual Port(s)Assignee: Niclas Zeising <zeising>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Alexey Kouznetsov 2013-10-07 21:50:00 UTC
After rename net-mgmt/nrpe2 to net-mgmt/nrpe old entrie abdout deleted old net-mgmt/nrpe in MOVED was not cleared out and portupgrade do not want to update the port anymore:

***---
[/usr/ports (1)$] sudo portupgrade -f -c  nrpe-2.14
[Reading data from pkg(8) ... - 392 packages found - done]
** Port deleted on 2009-05-04: net-mgmt/nrpe
        Has expired: Obsolete version, consider migration to net-mgmt/nrpe2
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        - net-mgmt/nrpe (port deleted)

[/usr/ports (1)$] sudo portupgrade -f -c -o net-mgmt/nrpe nrpe-2.14
[Reading data from pkg(8) ... - 392 packages found - done]
** Port deleted on 2009-05-04: net-mgmt/nrpe
        Has expired: Obsolete version, consider migration to net-mgmt/nrpe2
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        - net-mgmt/nrpe (port deleted)
[/usr/ports (1)$] fgrep 'Obsolete version, consider migration to net-mgmt/nrpe2' *
MOVED:net-mgmt/nrpe||2009-05-04|Has expired: Obsolete version, consider migration to net-mgmt/nrpe2
***---

and 
UPDATING:  # portupgrade -fo net-mgmt/nrpe net-mgmt/nrpe2
do not works

Fix: 

remove 

net-mgmt/nrpe||2009-05-04|Has expired: Obsolete version, consider migration to net-mgmt/nrpe2

string from MOVED
How-To-Repeat: update ports tree and do steps described in MOVED. 

UPDATING:  # portupgrade -fo net-mgmt/nrpe net-mgmt/nrpe2
[/usr/ports (1)$] sudo portupgrade -fo net-mgmt/nrpe net-mgmt/nrpe2
[Reading data from pkg(8) ... - 392 packages found - done]
** Port deleted on 2009-05-04: net-mgmt/nrpe
        Has expired: Obsolete version, consider migration to net-mgmt/nrpe2
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        - net-mgmt/nrpe (port deleted)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-07 21:50:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zeising

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-10-07 23:07:15 UTC
Author: zeising
Date: Mon Oct  7 22:07:08 2013
New Revision: 329742
URL: http://svnweb.freebsd.org/changeset/ports/329742

Log:
  Remove note about net-mgmt/nrpe.  net-mgmt/nrpe2 was moved to net-mgmt/nrpe,
  and this was forgotten.
  
  This should unbreak portupgrade, which gets confused about the old entry.
  
  PR:		ports/182812
  Submitted by: 	Alexey <alexey@kouznetsov.com>

Modified:
  head/MOVED

Modified: head/MOVED
==============================================================================
--- head/MOVED	Mon Oct  7 21:44:45 2013	(r329741)
+++ head/MOVED	Mon Oct  7 22:07:08 2013	(r329742)
@@ -619,7 +619,6 @@ sysutils/puppet-devel||2009-05-01|Has ex
 sysutils/tua||2009-05-01|Has expired: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
 x11/qrash||2009-05-01|Has expired: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
 textproc/sp||2009-05-03|Has expired: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
-net-mgmt/nrpe||2009-05-04|Has expired: Obsolete version, consider migration to net-mgmt/nrpe2
 www/phpsurveyor|www/limesurvey|2009-05-05|Project was renamed
 devel/oskit||2009-05-07|Has expired: does not work with current versions of GCC, needs gcc295 which has been failing to build for months, no active maintainer
 www/p5-WWW-Nicovideo-Download|www/p5-WWW-NicoVideo-Download|2009-05-07|Directory renamed
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Niclas Zeising freebsd_committer freebsd_triage 2013-10-07 23:07:19 UTC
State Changed
From-To: open->closed

FIxed, thanks!