Keep Debian up to date?
Hi,
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? Thanks. |
'Sounds reasonable to me :)
|
Oh and I forgot to ask... how long are Debian releases are generally supported for? Like when do they usually getting security updates?
Thanks. |
Quote:
|
apt-get upgrade or apt-get dist-upgrade right? update just updates your package list... upgrade will install the new packages.. just clarifying
|
Quote:
Code:
apt-get upgrade or apt-get dist-upgrade methods Code:
apt-get update a line to update your database of package daily if it is a server box. |
Debian recommends using aptitude over apt-get.
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. |
All times are GMT -5. The time now is 12:22 AM. |