Using the upgrade command in Smart --shell

Created by Rehan Khan
Keywords:

Due to the nature of Smart --shell the upgrade command will work properly only if used in the following way:

1) As the first command in the shell followed by a 'commit' command.

2) Preceeded AND followed by a 'commit' command if other package selection commands (install/remove/reinstall) precede it.

Any other usage will lead to unpredictable behaviour in dependency resolution (package loops and other oddities).