cron-apt is a flexible program that can manage automating apt via cron.

Step1. Install cron-apt in Debian

apt-get install cron-apt

Step2. Configure it:

The configuration file is located in /etc/cron-apt/ directory.
For a basic configuration I have everything set to default except for two lines in /etc/cron-apt/config file

MAILON="always"
MAILTO="[email protected]"

You  can also modify when the cron-apt  runs in the /etc/cron.d/cron-apt file.

Enjoy.

The Debian project is pleased to announce the first update of its stable distribution Debian 6.0 (codename squeeze).
This update mainly adds corrections for security problems to the stable release, along with a few adjustment to serious problems.

Please note that this update does not constitute a new version of Debian 6.0 but only updates some of the packages included. There is no need to throw away 6.0 CDs or DVDs but only to update via an up-to-date Debian mirror after an installation, to cause any out of date packages to be updated.

Those who frequently install updates from security.debian.org won’t have to update many packages and most updates from security.debian.org are
included in this update.

New CD and DVD images containing updated packages and the regular installation media accompanied with the package archive respectively will be available soon at the regular locations.

Upgrading to this revision online is usually done by pointing the aptitude (or apt) package tool (see the sources.list(5) manual page) to one of Debian’s many FTP or HTTP mirrors. A comprehensive list of mirrors is available at:

Continue Reading…

Upgrade from lenny to Squeeze

Valic —  February 6, 2011 — Leave a comment

Debian has released a stable version of Debian 6.0 (Squeeze).

If you’re running previous version of Debian, you can easily upgrade.

1. Update all packages currently installed to the latest lenny versions

apt-get update

apt-get upgrade

2. Replace all occurrences of etch with Squeeze in the apt sources file (pico /etc/apt/sources.list).

Here’s an example of what the file could look like after the change:

deb http://ftp.ro.debian.org/debian/ squeeze main
deb-src http://ftp.ro.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

deb http://ftp.ro.debian.org/debian/ squeeze-updates main
deb-src http://ftp.ro.debian.org/debian/ squeeze-updates main

3. Update apt repository

apt-get update

4. Upgrade apt, dpkg and aptitude packages first

apt-get install apt dpkg aptitude

5. Do a dist-upgrade to upgrade the rest of the system

apt-get dist-upgrade

6. Reboot

reboot

7. Check the debian version

cat /etc/debian_version

It should read version 6.0.

Page 1 of 11