How can I upgrade major Kubuntu versions by command line?

Solution 1:

sudo do-release-upgrade -d

I used this to upgrade to 14.10, and it worked fine, including allowing me to respond to prompts such as in the question above.