portupgrade problem (was Re: orphaned port?)
paul beard
paulbeard at mac.com
Sat Aug 23 16:07:43 PDT 2003
> ===> 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
More information about the freebsd-questions
mailing list