Date: Sun, 20 May 2007 20:37:15 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/112816: portupgrade -f advised when /var/db/pkg not owned by user Message-ID: <200705201837.l4KIbFNl058372@sputnik1.dbai.tuwien.ac.at> Resent-Message-ID: <200705201910.l4KJA5UW015963@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705201837.l4KIbFNl058372>