I have found this to be the simplist way to keep upgraded, PLUS is cleans the cache, AND removes all 'orphaned' packages with one command.
the package is in the repos... (upgrade-system)Disclaimer:
I have used it with no issues on several distros for years, BUT be advised watch what orphans it removes, and you will have no surprises.
IF you do compiling and have lots of '*.dev files
. IT WILL see those as orphans and remove them. This will not hurt your system, but you will need to re-install some ot them when compiling next.
gene@sparky:~$ apt-cache policy upgrade-system
*** 188.8.131.52 0
500 http://ftp.us.debian.org/debian/ testing/main amd64 Packages
Package: upgrade-system (184.108.40.206)
command for upgrading and sanitizing a Debian system
Upgrade-system offers a convenient way to keep a Debian system up-to-date, yet free from accumulated cruft such as obsolete libraries.
It is particularly useful on systems that mix packages from different releases (stable/testing/unstable) and on desktop systems where packages are frequently installed or removed according to evolving user tastes.
By default, it is configured to purge all packages that are not listed as another package's dependency. Less drastic settings are possible by editing /etc/upgrade-system.conf(5).
The command to launch is:
I find it easiest to launch from "CliCompanion"