Date: Mon, 14 Jul 2003 10:03:34 -0400 (EDT) From: Tim Kellers <timothyk@mts-128.wallnet.com> To: Daryl Chance <chancedj@yahoo.com> Cc: ports@freebsd.org Subject: Re: portupgrade/make install problem. Message-ID: <20030714100030.E26064@mts-128.wallnet.com> In-Reply-To: <20030714133452.11195.qmail@web9602.mail.yahoo.com> References: <20030714133452.11195.qmail@web9602.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Same problem I reported July 12, but with only one of my machines (a pentium I router/fileserver). the other three boxes I built from the same cvs update (7/11/2003) don't have the problem. FORCE_PKG_REGISTER="yes" gets me around the pronlem in both make and portupgrade (using the -m switch), but it's still puzzling as all get out. Sorry you have the same problem, but, at least its better to not go crazy, alone. :-) Tim Kellers CPE/NJIT On Mon, 14 Jul 2003, Daryl Chance wrote: > 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 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030714100030.E26064>