Re: Installing security updates
On Wed, Dec 28, 2011 at 11:58 PM, T o n g <mlist4suntong@yahoo.com> wrote:
> Hi,
>
> Is there any easy way to installing only the security updates?
In a normal default (CDROM/DVD based) install using a network mirror,
your /etc/apt/sources.list file will end up like the following:
deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
# squeeze-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ squeeze-updates main
deb-src http://ftp.us.debian.org/debian/ squeeze-updates main
To get only the security updates, remove the last 2 entries for
squeeze-updates. Then your system will see only the base installation
+ security updates. Your sources.list file will now be:
deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
That said, I don't know what happens to the contents of
squeeze-updates when a new Debian point release comes out (e.g.;
6.0.3).
If you want your system to have access to contrib and non-free, then
add those to the end of each entry after the word "main". Example:
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
Do this for each deb and deb-src entry.
Good luck!
--
Chris
Reply to: