A opção -u
mostra uma lista de pacotes disponíveis para atualização:
# apt-get -u upgrade
Na apt-get
manpage :
-u
--show-upgraded
Show upgraded packages; Print out a list of all packages that are to be upgraded. Configuration Item:APT::Get::Show-Upgraded.
Você também será avisado antes que qualquer coisa seja atualizada. Por exemplo:
# apt-get -u upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
cpp gcc lilo
The following packages will be upgraded
adduser ae apt autoconf debhelper dpkg-dev esound esound-common ftp indent
ipchains isapnptools libaudiofile-dev libaudiofile0 libesd0 libesd0-dev
libgtk1.2 libgtk1.2-dev liblockfile1 libnewt0 liborbit-dev liborbit0
libstdc++2.10-glibc2.2 libtiff3g libtiff3g-dev modconf orbit procps psmisc
29 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 5055B/5055kB of archives. After unpacking 1161kB will be used.
Do you want to continue? [Y/n]