Update apt.rb

Used dry-run option for apt, avoids echoing.
Added actions for upgrade and dist-upgrade