saltstack/salt — pull request #3187 by archtaku (2013-01-08 06:32:25+00:00)
Title: Fix available_version for apt, pacman

Per https://github.com/saltstack/salt/pull/3166#issuecomment-11957285,
change available_version so that it returns an empty string if the
available version is not an upgrade or new install.

Also, remove changes to default outputters for apt, as no other package
does this, to make output from pkg module functions more consistent.