Date: Fri, 27 Aug 2004 08:31:47 -0400 (EDT) From: Dan Langille <dan@langille.org> To: ports@FreeBSD.org Cc: adamw@FreeBSD.org Subject: sysutils/bpm fails to notice that portupgrade is already installed Message-ID: <20040827081945.U78365@xeon.unixathome.org>
next in thread | raw e-mail | index | archive | help
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@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@laptop:/usr/ports/sysutils/bpm] # pkg_info | grep portupgrade portupgrade-20040701_3 FreeBSD ports/packages administration and management tool s [root@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@laptop.example.org:/usr/obj/usr/src/sys/LAPTOP i386 -- Dan Langille - http://www.langille.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040827081945.U78365>