[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 518
  • Last Modified:

How do i to check security updates (Debian)?

How do i to check security updates?

thanks
0
VMWARE
Asked:
VMWARE
  • 5
  • 4
3 Solutions
 
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
 
VMWAREAuthor 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
A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

 
VMWAREAuthor 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
 
VMWAREAuthor Commented:
Perfect. thanks
0
 
VMWAREAuthor 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

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now