From owner-freebsd-questions@FreeBSD.ORG Sat Aug 23 16:07:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92B1416A4C0 for ; Sat, 23 Aug 2003 16:07:43 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2701843FCB for ; Sat, 23 Aug 2003 16:07:43 -0700 (PDT) (envelope-from paulbeard@mac.com) Received: from mac.com (12-231-115-57.client.attbi.com[12.231.115.57](untrusted sender)) by comcast.net (rwcrmhc11) with SMTP id <2003082323050601300jcf0te>; Sat, 23 Aug 2003 23:05:06 +0000 Message-ID: <3F47F321.4090807@mac.com> Date: Sat, 23 Aug 2003 16:05:05 -0700 From: paul beard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5a) Gecko/20030731 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: portupgrade problem (was Re: orphaned port?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2003 23:07:43 -0000 > ===> Installing for ruby-1.6.8.2003.04.19 > ===> Generating temporary packing list > ===> Checking if lang/ruby16 already installed > *** Error code 1 > > Stop in /usr/ports/lang/ruby16. > *** Error code 1 > I am having this problem as well on any port I try to install. I have rebuilt pkgdb from scratch. ===> Installing for p5-SNMP_Session-0.95 ===> Generating temporary packing list ===> Checking if net/p5-SNMP_Session already installed *** Error code 1 Stop in /usr/ports/net/p5-SNMP_Session. *** Error code 1 Stop in /usr/ports/net/mrtg. Running make with -dl yields this: ===> Checking if net/p5-SNMP_Session already installed already_installed=`/usr/sbin/pkg_info -q -O net/p5-SNMP_Session 2> /dev/null`; if [ -n "${already_installed}" ]; then for p in ${already_installed}; do prfx=`/usr/sbin/pkg_info -q -p ${p} 2> /dev/null | /usr/bin/head -n 1 | /usr/bin/sed -ne '1s|^@cwd ||p'`; if [ "x/usr/local" = "x${prfx}" ]; then df=`/usr/sbin/pkg_info -q -f ${p} 2> /dev/null | /usr/bin/grep -v "^@" | /usr/bin/comm -12 - /usr/ports/net/p5-SNMP_Session/work/.PLIST.mktmp`; if [ -n "${df}" ]; then found_package=${p}; break; fi; fi; done; fi; *** Error code 1 Then breaking it down to run just the first command makes me wonder what's wrong with pkg_info. [/usr/ports/net/mrtg]:: /usr/sbin/pkg_info -q -O net/p5-SNMP_Session pkg_info: illegal option -- O usage: pkg_info [-cdDfGiIkLmopqrRsvVx] [-e package] [-l prefix] [-t template] [-W filename] [pkg-name ...] pkg_info -a [flags] the O option doesn't seem to be in the man page, so I'm not sure what's up. -- Paul Beard whois -h whois.networksolutions.com ha=pb202 E Pluribus Unix