More fixes to priorities.
Improve pkg-upgrade output.