Is there a way to see what updates/upgrades you have without actually installing them in Ubuntu. I need to write a script to see if there are any updates available for out gitlab server, if there is, it will email me the list of pending updates but NOT install them. I've looked online, but can't seem to find any such command.
Thanks.