Date: Mon, 5 Nov 2007 15:29:12 -0000 From: "Donovan R. Palmer" <donovan@dmpnet.org> To: "Warren Block" <wblock@wonkity.com>, <freebsd-questions@freebsd.org> Subject: Re: portupgrade questions Message-ID: <002001c81fc0$9e8271f0$6543a8c0@DonovansLaptop> References: <BAY114-W1198B68AE765DD630D744BBB8F0@phx.gbl><20071105135017.76a2c48a@meijome.net><20071105070952.50ba2f37@epia-2.farid-hajji.net><000c01c81f93$344c2c40$6543a8c0@DonovansLaptop> <20071105055724.N17994@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> The thing you should be doing first is checking /usr/ports/UPDATING. Major > things can change, and portupgrade may not be able to handle them without > help. Ah, i c. I am starting to make sense out of some of this from my fighting around on this. > The "-f" option to pkg_delete/pkg_deinstall will force it to do the > action, even if there are dependencies. Sometimes it's the only way. > > There's also the -o option to portupgrade. > > As for a tutorial: first, check UPDATING. Then the command man page. If > necessary, a web search. I have done some web searching, but haven't found anything that has everything in one place (including the Handbook). Once I emerge from all of this, I might take a stab at writing up something for N00bs to help them learn some of the things that I have figured out the hard way > I can't remember what I did for this particular upgrade, but do remember > deleting some of the older autoconf ports manually. I suspect you could > delete all of them (and maybe some or all of the automake ports) and then > just deinstall and install autotools. (Like pkg_delete -f, "make > deinstall" in a port will ignore dependencies and just go ahead.) > > After you do all that, you'll probably need to run pkgdb -F to fix or at > least check dependencies. Very helpful! Thanks!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002001c81fc0$9e8271f0$6543a8c0>