From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 20 19:10:05 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D190216A41F for ; Sun, 20 May 2007 19:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9743F13C44B for ; Sun, 20 May 2007 19:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4KJA5m3015964 for ; Sun, 20 May 2007 19:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4KJA5UW015963; Sun, 20 May 2007 19:10:05 GMT (envelope-from gnats) Resent-Date: Sun, 20 May 2007 19:10:05 GMT Resent-Message-Id: <200705201910.l4KJA5UW015963@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gerald Pfeifer Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB04916A41F for ; Sun, 20 May 2007 19:03:08 +0000 (UTC) (envelope-from pfeifer@sputnik1.dbai.tuwien.ac.at) Received: from sputnik1.dbai.tuwien.ac.at (sputnik1.dbai.tuwien.ac.at [128.131.111.141]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB6513C44B for ; Sun, 20 May 2007 19:03:06 +0000 (UTC) (envelope-from pfeifer@sputnik1.dbai.tuwien.ac.at) Received: from sputnik1.dbai.tuwien.ac.at (localhost [127.0.0.1]) by sputnik1.dbai.tuwien.ac.at (8.13.8/8.13.8) with ESMTP id l4KIbG1g058373; Sun, 20 May 2007 20:37:16 +0200 (CEST) (envelope-from pfeifer@sputnik1.dbai.tuwien.ac.at) Received: (from pfeifer@localhost) by sputnik1.dbai.tuwien.ac.at (8.13.8/8.13.8/Submit) id l4KIbFNl058372; Sun, 20 May 2007 20:37:15 +0200 (CEST) (envelope-from pfeifer) Message-Id: <200705201837.l4KIbFNl058372@sputnik1.dbai.tuwien.ac.at> Date: Sun, 20 May 2007 20:37:15 +0200 (CEST) From: Gerald Pfeifer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/112816: portupgrade -f advised when /var/db/pkg not owned by user X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 19:10:05 -0000 >Number: 112816 >Category: ports >Synopsis: portupgrade -f advised when /var/db/pkg not owned by user >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 20 19:10:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Gerald Pfeifer >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD sputnik1 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: This is portupgrade-devel-2.3.0_5. The problem here is that portupgrade advises the use of the -f option when the user does not own /var/db/pkg, but actually using that option does not make any difference. >How-To-Repeat: sputnik1[79]:~% portupgrade -a ** You do not own /var/db/pkg. (use -f to force or run as root) Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFOQ sputnik1[80]:~% portupgrade -f -a ** You do not own /var/db/pkg. (use -f to force or run as root) Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFOQ >Fix: >Release-Note: >Audit-Trail: >Unformatted: