DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a VPS running Debian Lenny just wondering if `aptitude update` or `apt-get update` will get all the security updates for it and if I need to do anything else to keep all the security patches up to date?
Also, if you are running stable and not actually trying to upgrade to a different release, you should not need to use "dist-upgrade", just "upgrade" (which for some reason now is called "safe-upgrade").
Cheers,
Evo2.
PS. and as others pointed out do and "update" before any "*upgrade".
You also want to make sure /etc/apt/source.list is correct (if for instance you installed via something like debootstrap, in which case you have to add some entries manually).
I've been using apticron on one of my servers and it takes away the hassle of manually updating. It can be configured to send you an e-mail whenever there are updates.
There are alot of other useful administration utilities if you look under the admin section in aptitude or page through `apt-cache search ~sadmin` which make updating less of a hassle.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.