Well IDK what OS we're talking about, but, a command line apt-get
dist-upgrade for debian/ubuntu is designed for exactly this, and as
long as you're not more than one release behind is very well tested,
and, in general, works very well. If you've a lot of manually
installed apps it will likely break those though.