Date: Fri, 20 Sep 2002 15:09:45 -0700 From: Adam Weinberger <adam@vectors.cx> To: sroberts@dsl.pipex.com Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, knu@FreeBSD.ORG Subject: Re: portupgrade of portupgrade fails with "The port directory for 'sysutils/pkg_tarup' does not exist" Message-ID: <20020920220945.GB208@vectors.cx> In-Reply-To: <1032558880.98354.35.camel@Demon.vickiandstacey.com> References: <1032558121.98354.30.camel@Demon.vickiandstacey.com> <20020920214719.GY208@vectors.cx> <1032558880.98354.35.camel@Demon.vickiandstacey.com>
next in thread | previous in thread | raw e-mail | index | archive | help
the answer here is that portupgrade no longer depends upon pkg_tarup. it USED to. left over from portupgrades from days of old is: monkey@smacky:~% grep pkg_tarup /var/db/pkg/portupgrade-20020920/+CONTENTS @pkgdep pkg_tarup-1.2_3 @comment DEPORIGIN:sysutils/pkg_tarup so, when you portupgraded portupgrade (gah!), it happily went and retained that old info. now, you can either: sed -i -E -e '/^@(.*)pkg_tarup/d' /var/db/pkg/portupgrade-20020920/+CONTENTS or just do the pkg_deinstall, which will handle the removal of all those dependency issues. by issuing pkg_info -R pkg_tarup-1.2_3 you can see any other packages which depend upon pkg_tarup. and there shouldn't be any others. w0rd. -Adam >> (09.20.2002 @ 1454 PST): Stacey Roberts said, in 3.0K: << > Thanks for the reply, Adam. > > I'll give the procedure a try in a bit, but there's one thing that > perhaps you might be able to explain.., > > I'm just curious as to how I was able to "portupgrade -R > portupgrade-x.x.x just last night without hitting this issue.., > > Thanks again Adam (and to Kevin Oberman, who's e-mail arrived as I was > tapping this reply) > > Stacey > > On Fri, 2002-09-20 at 22:47, Adam Weinberger wrote: > > S - > > > > pkg_tarup was removed from the ports tree. > > > > pkg_deinstall -f pkg_tarup-1.2_3 && portupgrade -f portupgrade-20020920 > > > > if you're worried about the functionality of it, note the commit message > > given when the port got removed: > > > > Retire pkg_tarup. pkg_create(1) has the feature (-b pkgname) to > > create a package file out of an installed package, since > > 4.5-RELEASE. > > > > -Adam > > > > > > >> (09.20.2002 @ 1442 PST): Stacey Roberts said, in 1.6K: << > > > Hello, > > > I've just tried updating portupgrade after cvsup'ing my ports tree > > > tonight. Running portupgrade for portupgrade fails with: > > > # portupgrade -R portupgrade-20020920 > > > ** The port directory for 'sysutils/pkg_tarup' does not exist. > > > ---> Skipping 'sysutils/portupgrade' (portupgrade-20020920) because > > > 'sysutils/pkg_tarup' (pkg_tarup-1.2_3) failed > > > ** The following packages were not installed or upgraded (*:skipped / > > > !:failed) > > > ! sysutils/pkg_tarup (pkg_tarup-1.2_3) (port directory error) > > > * sysutils/portupgrade (portupgrade-20020920) > > > # > > > > > > Obviously there's been a change in /usr/ports/sysutils/pkg_tarup that > > > I've missed somewhere, could someone inform me of what the procedure for > > > getting round this is, please? > > > > > > Stacey > > > -- > > > Stacey Roberts > > > B.Sc (HONS) Computer Science > > > > > > Web: www.vickiandstacey.com > > > > > > >> end of "portupgrade of portupgrade fails with "The port directory for 'sysutils/pkg_tarup' does not exist"" from Stacey Roberts << > > > > > > -- > > "Oh good, my dog found the chainsaw." > > -Lilo, "Lilo & Stitch" > > Adam Weinberger > > adam@vectors.cx > > http://vectors.cx > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > -- > Stacey Roberts > B.Sc (HONS) Computer Science > > Web: www.vickiandstacey.com >> end of "Re: portupgrade of portupgrade fails with "The port directory for 'sysutils/pkg_tarup' does not exist"" from Stacey Roberts << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020920220945.GB208>