How do i to check security updates (Debian)?

How do i to check security updates?

thanks
VMWAREit security administratorAsked:
Who is Participating?
 
Syngin9Commented:
To update your package list:

apt-get update

To install any newer packages that may have been added to the repository:

apt-get upgrade
0
 
VMWAREit security administratorAuthor Commented:
Hello Syngin9,

But, how do i to see the packages to update?
0
 
Syngin9Commented:
apt-get upgrade will automatically list all of the new packages and then ask you if it is ok to start upgrading them.  If some of the packages require additional packages, it will hold off on upgrading those and their dependencies until you manually update them.
0
Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

 
VMWAREit security administratorAuthor Commented:
How do I distinguish the security updates?
0
 
Syngin9Commented:
Apt package access is controlled via the /etc/apt/sources.list file:

For example (Debian Lenny):

deb http://mirror.csclub.uwaterloo.ca/debian/ lenny main contrib non-freedeb-src http://mirror.csclub.uwaterloo.ca/debian/ lenny main contrib non-freedeb http://security.debian.org/ lenny/updates main contrib non-freedeb-src http://security.debian.org/ lenny/updates main contrib non-freedeb http://volatile.debian.org/debian-volatile lenny/volatile maindeb-src http://volatile.debian.org/debian-volatile lenny/volatile main

Your system will probably be set to obtain updates from a different repository address and may not be set to access the contrib and non-free repositories.  If you comment out everything except the lines referencing security.debian.org, run apt-get update, then apt-get upgrade. The packages listed then would just be security updates.

0
 
VMWAREit security administratorAuthor Commented:
Perfect. thanks
0
 
VMWAREit security administratorAuthor Commented:
this is my /etc/apt/sources.list;

deb ftp://ftp.fr.debian.org/debian lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
0
 
Syngin9Commented:
you might want to add contrib and non-free to your security update lines too.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.