Question about updates
Rashkae
ubuntu at tigershaunt.com
Fri Aug 26 20:43:51 UTC 2011
On 08/26/2011 04:05 PM, Daniel Patrick Sullivan wrote:
> Hi, Ubuntu Users,
>
> Please forgive me if this is somewhat of a noob quesion but I googled
> pretty extensively and I can't seem to get a definitive answer on
> this. So I am checking with the user community just to be use.
> Basically I have a Ubunutu 10.04 LTS server that I *only* want to
> apply security updates to. Is this a generally "accepted" method to
> apply *only* security updates?
>
> 1) copy /etc/apt/sources.list to /etc/apt/security.sources.new, and
> remove all lines except "deb http://us.archive.ubuntu.com/ubuntu
> lucid-security main restricted universe multiverse"
> 2) sudo apt-get upgrade -o Dir::Etc::SourceList=/etc/apt/security.sources.new
>
Is this a one-time event, or something you want to do
automatically/regularly.
If you intend to use this as your update policy going forward, then
simply edit the sources.list file and comment out the lucid-updates
repository. (Leave the lucid-security repository uncommented, of course)
Don't forget to run apt-get update before you apt-get upgrade, either way.
More information about the ubuntu-users
mailing list