Date: Sat, 23 Aug 2003 16:05:05 -0700 From: paul beard <paulbeard@mac.com> To: freebsd-questions@freebsd.org Subject: portupgrade problem (was Re: orphaned port?) Message-ID: <3F47F321.4090807@mac.com> In-Reply-To: <DA1E3B7E-D5AD-11D7-B340-000393843210@mindspring.com> References: <DA1E3B7E-D5AD-11D7-B340-000393843210@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> ===> 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
<http://paulbeard.no-ip.org/movabletype/>
whois -h whois.networksolutions.com ha=pb202
E Pluribus Unix
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F47F321.4090807>
