apt full-upgrade
manpage
執行
$ man apt
可以找到一段說明
full-upgrade (apt-get(8))
full-upgrade performs the function of upgrade but will remove currently installed packages if this is
needed to upgrade the system as a whole.
help
執行
$ apt -h
可以找到一段說明
full-upgrade - upgrade the system by removing/installing/upgrading packages
指令範例
執行
$ sudo apt full-upgrade
執行
$ sudo apt full-upgrade -y