portupgrade/make install problem.

Daryl Chance chancedj at yahoo.com
Mon Jul 14 06:36:12 PDT 2003


I seem to be having a problem with the ports
collection.  I'm trying to upgrade some ports on one
of my boxes using portupgrade and also trying to just
do a make reinstall on an up to date port and get the
following error each time:

===>   Generating temporary packing list
===>  Checking if sysutils/portupgrade already
installed
*** Error code 1

Stop in /usr/ports/sysutils/portupgrade.
*** Error code 1

Stop in /usr/ports/sysutils/portupgrade.


I'm running FBSD 4.6.1 and have used portupgrade
succesfully quite a few times.  This may or may not be
the problem, but I thought I'd bring it up.  I also
did a make -d A install and I think I got more info on
what's happening (where it's erroring).

Should I not be using portupgrade on anything less
then 5.x?  Or is it something else that's causing the
problem?

echo "===>  Checking if sysutils/portupgrade already
installed"
===>  Checking if sysutils/portupgrade already
installed
already_installed=`/usr/sbin/pkg_info -q -O
sysutils/portupgrade 2> /dev/null`;  if [ -n
"${already_installed}" ]; then  for p in
${already_installed}; do  pr
fx=`/usr/sbin/pkg_info -q -p ${p} 2> /dev/null |
/usr/bin/sed -e 's|^@cwd ||'`;  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/sysutils/portupgrade/work/.PLIST.mktmp`; 
if [ -n "${df}" ]; then  found_package=${p};  br
eak;  fi;  fi;  done;  fi;  if [ -d
/var/db/pkg/portupgrade-20030427 -o -n
"${found_package}" ]; then  if [ -d
/var/db/pkg/portupgrade-20030427 ]; then  echo
"===>   portupgrade-20030427 is already installed"; 
else  echo "===>   An older version of
sysutils/portupgrade is already installed
(${found_package})";  fi
;  echo "      You may wish to \`\`make deinstall''
and install this port again";  echo "      by \`\`make
reinstall'' to upgrade it properly.";  echo "
If you really wish to overwrite the old port of
sysutils/portupgrade";  echo "      without deleting
it first, set the variable \"FORCE_PKG_REGISTER\""; 
echo
 "      in your environment or the \"make install\"
command line.";  exit 1;  fi
*** Error code 1

Stop in /usr/ports/sysutils/portupgrade.


The ports are in sync as of about 8:30 this morning.

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


More information about the freebsd-ports mailing list