From nobody@FreeBSD.org  Mon Feb 13 12:12:20 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7696C1065673
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Feb 2012 12:12:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 4B5F48FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Feb 2012 12:12:20 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1DCCK0i052394
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Feb 2012 12:12:20 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q1DCCKcX052376;
	Mon, 13 Feb 2012 12:12:20 GMT
	(envelope-from nobody)
Message-Id: <201202131212.q1DCCKcX052376@red.freebsd.org>
Date: Mon, 13 Feb 2012 12:12:20 GMT
From: jb <jb.1234abcd@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: portupgrade - unnecessary source package retrieval
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         165092
>Category:       i386
>Synopsis:       portupgrade - unnecessary source package retrieval
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 13 12:20:06 UTC 2012
>Closed-Date:    Thu Feb 16 21:54:15 UTC 2012
>Last-Modified:  Thu Feb 16 21:54:15 UTC 2012
>Originator:     jb
>Release:        FreeBSD 9.0-RELEASE #0
>Organization:
>Environment:
FreeBSD localhost.localdomain 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Why is portupgrade retrieving firefox-9.0.1,1.tbz only to next confirm that
it is already installed and ignore it ?
Should the steps be performed in reverse ?

# portupgrade -PP firefox
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 23144 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000.........23000. ..... done]
--->  Checking for the latest package of 'www/firefox'
** No such file or directory - /usr/ports/packages/All
--->  Fetching the package(s) for 'firefox-10.0,1' (www/firefox)
--->  Fetching firefox-10.0,1
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-9.0-release/All/firefox-10.0,1.tbz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-9.0-release/All/firefox-10.0,1.tbz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-9.0-release/All/firefox-10.0,1.txz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-9.0-release/All/firefox-10.0,1.txz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-9.0-release/All/firefox-10.0,1.tgz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-9.0-release/All/firefox-10.0,1.tgz
** Failed to fetch firefox-10.0,1
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! firefox-10.0,1	(fetch error)
--->  Fetching the latest package(s) for 'firefox' (www/firefox)
--->  Fetching firefox
/var/tmp/portupgrade8cD9grYr/firefox.tbz      100% of   26 MB  240 kBps 00m00s
--->  Downloaded as firefox.tbz
--->  Identifying the package /var/tmp/portupgrade8cD9grYr/firefox.tbz
--->  Saved as /usr/ports/packages/All/firefox-9.0.1,1.tbz
--->  Found a package of 'www/firefox': /usr/ports/packages/All/firefox-9.0.1,1.tbz (firefox-9.0.1,1)
--->  Located a package version 9.0.1,1 (/usr/ports/packages/All/firefox-9.0.1,1.tbz)
** Ignoring the package, which is the same version as is installed (9.0.1,1)
** No package available: www/firefox
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! www/firefox (firefox-9.0.1,1)	(package not found)

>How-To-Repeat:
as above - as of today there is no package available yet
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Thu Feb 16 21:54:14 UTC 2012 
State-Changed-Why:  
And this is more a question(!) for the ports mailinglist. Please ask 
there and get back to me in case we need to reopen the ticket. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165092 
>Unformatted:
