View Full Version : [ubuntu] Keep system up-to-date
ngmachado
February 18th, 2009, 06:46 PM
Hi,
I run a Ubuntu Server 8.04 LTS.
I've always heard that one of the most important things to prevent security breaches is keep the software on our system up-to-date.
To accomplish this, every week I run the command:
sudo apt-get update && sudo apt-get upgrade
My question is, am I doing this the 'right' way? Is this enough to keep my system up-to-date?
Other hints will be greatly appreciated.
bodhi.zazen
February 18th, 2009, 07:23 PM
That is IMO sufficient ;)
listerdl
February 18th, 2009, 07:52 PM
thats interesting to know...thanks for code
tubezninja
February 18th, 2009, 10:43 PM
Just bear in mind that some updates, occasionally, are linux kernel updates. For those to take effect, a reboot is required.
It's a good idea to look at the security notices (http://ubuntu.com/usn) and see if the updates you're applying state they require a reboot to take effect, and decide for yourself whether or not you want to reboot.
itang sanjana
February 19th, 2009, 12:10 PM
doesn't Ubuntu Keep the system up-to-date automatically?
Sometimes I get notified more than once a week.
CMIIW
bodhi.zazen
February 19th, 2009, 01:08 PM
doesn't Ubuntu Keep the system up-to-date automatically?
Sometimes I get notified more than once a week.
CMIIW
It will notify you if updates are available but will not automatically update unlesss you configure it to do so.
If I configure automatic updates I do security only.
itang sanjana
February 19th, 2009, 02:14 PM
It will notify you if updates are available but will not automatically update unlesss you configure it to do so.
If I configure automatic updates I do security only.
Oh, thank you for the correction
:)
listerdl
February 19th, 2009, 06:48 PM
If I configure automatic updates I do security only.
Why do you only do security?
bodhi.zazen
February 19th, 2009, 07:42 PM
Why do you only do security?
Well, you see, it depends.
First security updates are much more important and there is no good reason to delay them.
With the non-security, in general, I like to review the updates first. Although rare, updates may cause breakage and I want to know what happened (knowing what was updated is the first step to solving any problems I may have).
If it is a non-security update, what is the rush, is there a feature I need => update.
If my system is working just fine, no harm done in waiting a few days or once a week or so.
So, lets look at the updates .. Is there a kernel update -> well then I will need to close out what I am doing and reboot. With kernel updates that may affect my nvidia, wireless, virtuabox, and/or vmware kernel modules ...
You get the idea.
If there are many updates, do I need to make a back up first ? Are there any reports on the forums of problems after updating ?
Last is this my stable workstation that I rely on for day to day tasks or is this a test machine running in a VM ? If it is a mission critical server / workstation I take more caution with updates, perhaps update a VM first. If it is a VM, and I am running 9.04 Alpha, updates may break things, such as X ...
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.