sysutils/bpm fails to notice that portupgrade is already installed
Dan Langille
dan at langille.org
Fri Aug 27 05:31:48 PDT 2004
Perhaps this line:
RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade
needs to be:
RUN_DEPENDS= ${LOCALBASE}/sbin/portsdb:${PORTSDIR}/sysutils/portupgrade
Solution taken from sysutils/barry.
FWIW, sysutils/pkg_cutleaves uses
RUN_DEPENDS= ${LOCALBASE}/sbin/pkg_deinstall:${PORTSDIR}/sysutils/portupgrade
[root at laptop:/usr/ports/sysutils/bpm] # make install clean
===> Installing for bpm-0.4.1b
===> bpm-0.4.1b depends on executable: portupgrade - not found
===> Verifying install for portupgrade in
/usr/ports/sysutils/portupgrade
===> Installing for portupgrade-20040701_3
===> portupgrade-20040701_3 depends on file:
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/bdb1.so - found
===> portupgrade-20040701_3 depends on file: /usr/local/bin/ruby18 -
found
===> Generating temporary packing list
===> Checking if sysutils/portupgrade already installed
===> portupgrade-20040701_3 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of sysutils/portupgrade
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/sysutils/portupgrade.
*** Error code 1
Stop in /usr/ports/sysutils/bpm.
[root at laptop:/usr/ports/sysutils/bpm] # pkg_info | grep portupgrade
portupgrade-20040701_3 FreeBSD ports/packages administration and
management tool s
[root at laptop:/usr/ports/sysutils/bpm] #
FreeBSD laptop.unixathome.org 4.10-STABLE FreeBSD 4.10-STABLE #1: Sun Jul
25 00:53:29 EDT 2004
dan at laptop.example.org:/usr/obj/usr/src/sys/LAPTOP i386
--
Dan Langille - http://www.langille.org/
More information about the freebsd-ports
mailing list