Question about updates

Daniel Patrick Sullivan dansullivan at gmail.com
Fri Aug 26 20:05:31 UTC 2011


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 that a hack?  Is there an easier way to do this?

Thanks,

Dan Sullivan




More information about the ubuntu-users mailing list