portupgrade questions

James oscartheduck at gmail.com
Mon Nov 5 16:18:12 PST 2007


On Nov 5, 2007 7:11 PM, Jack Barnett <jackbarnett at gmail.com> wrote:

>
>   Aryeh M. Friedman wrote:
>
> Here is a script I use to automate the procedure I posted in the
> previous reply:
>
> #!/bin/sh
>
> cd /usr/src
> csup ports-supfile
> csup standard-supfile
> cd patchs                         # optional
> ./apply                             # optional
> portupgrade -a
>
>
>
>   ??
>

I was wondering about that, too.

My understanding, Aryeh, of the ports vs pkg issue is that part of your
method is uneccesary. You can use pkg_add fine, but as soon as you start
using ports you have to stick with ports. portupgrade -a with a recently
updated ports tree will update everything that has an update, and reverting
to pkg_add after that could start creating dependency issues.

So you don't need to uninstall pkgs before starting to use ports, but you
can't go back once you've started using them.

James


More information about the freebsd-questions mailing list