A possibly odd upgrade question

Polytropon freebsd at edvax.de
Thu May 19 21:04:05 UTC 2011

On Thu, 19 May 2011 16:47:26 -0400, Chris Brennan <xaero at xaerolimit.net> wrote:
> After much thought, I think my process would be this:
> chsh back to bin/sh (I currently use bash as my primary shell)
> logout back in for shell change
> pkg_delete -fravd
> get new base srcs
> portsnap
> (re)install desired tools (vim mostly, although I can function in vi)
> rebuild world/kernel for new version
> rebuild new tools for new libs
> am I forgetting something?

Yes, the recommended order. :-)

First, update your ports/ and src/ trees (e. g. using portsnap
and csup), then compile and install. You don't need any tools
provided by ports for this task. After you've started your
"new" system, install the additional software you need.

Mentioning the shell was good: In case you remove bash from
the system, it may cause trouble when a shell is requested
for a user that is not there (the shell), as bash is not part
of the base system. Still it seems that you'll do most of
the work mentioned in the above paragraph as root, you will
use root's default shell (which is csh) anyway.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list