LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-24-2010, 08:20 PM   #1
Blash
Member
 
Registered: Apr 2005
Distribution: OpenBSD 4.6
Posts: 54

Rep: Reputation: 15
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.
 
Old 01-24-2010, 08:28 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
'Sounds reasonable to me
 
Old 01-24-2010, 08:29 PM   #3
Blash
Member
 
Registered: Apr 2005
Distribution: OpenBSD 4.6
Posts: 54

Original Poster
Rep: Reputation: 15
Oh and I forgot to ask... how long are Debian releases are generally supported for? Like when do they usually getting security updates?

Thanks.
 
Old 01-24-2010, 08:58 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,887
Blog Entries: 28

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Originally Posted by Blash View Post
Oh and I forgot to ask... how long are Debian releases are generally supported for? Like when do they usually getting security updates?

Thanks.
For 1 yr after the next stable release. Etch was supported for roughly 3 yrs. After Squeeze is released Lenny will be supported for another year.
 
Old 01-24-2010, 09:13 PM   #5
MrChilly0
Member
 
Registered: Jan 2007
Location: midwest USA
Distribution: gentoo w/ funtoo overlay
Posts: 146

Rep: Reputation: 23
apt-get upgrade or apt-get dist-upgrade right? update just updates your package list... upgrade will install the new packages.. just clarifying
 
Old 01-25-2010, 12:00 AM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by MrChilly0 View Post
apt-get upgrade or apt-get dist-upgrade right? update just updates your package list... upgrade will install the new packages.. just clarifying
indeed.

Code:
apt-get upgrade or apt-get dist-upgrade methods
in his first post, I note, that he wrote only:
Code:
apt-get update
Or you can add into /etc/crontab
a line to update your database of package daily if it is a server box.
 
Old 01-25-2010, 12:26 AM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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".
 
Old 01-26-2010, 10:33 AM   #8
rndm_luser
LQ Newbie
 
Registered: Jan 2009
Posts: 8

Rep: Reputation: 1
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LQ ISO - Debian out of Date jimmy512 LQ Suggestions & Feedback 3 07-16-2007 12:43 PM
Setting Date in debian sarge bruno buys Debian 3 02-01-2005 01:10 PM
Is debian out of date? Jmcatch742 Debian 8 10-02-2004 11:28 PM
how out of date is Debian? M.Brice Debian 23 08-26-2004 04:59 PM
which version of debian is stable but up to date? r3dhatter Debian 3 03-15-2004 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration