Protoze mne nebavilo se kazdy den prihlasovat na svuj domaci server s Debianem a kontrolovat nove aktualizace, hledal jsem neco na zautomatizovani tohoto nudneho ukonu. Velmi se mi osvedcil program apticron.
Sam od sebe nic neinstaluje – zustava mi plna kontrola. V pripade dostupnych aktualizaci zasle e-mail na nastavenou adresu. V nem je nazev a IP adresa pocitace, pro ktery jsou aktualiace k dispozici, dale pak samotny seznam balicku a popis ke zmenam kazdeho. Nakonec je uveden prikaz, kterym se provede aktualizace.
Instalace se provede prikazem apt-get install apticron
jednoduche nastaveni se nachazi v souboru /etc/apticron/apticron.conf
Samozrejme musi fungovat posilani e-mailu z daneho PC – ja pouzivam postfix.
Takhle nejak vypada e-mail od apticronu:
apticron report [Sun, 09 Aug 2009 14:50:39 +0200]
============================================================ ============
apticron has detected that some packages need upgrading on:
eu.vancl.eu
[ 127.0.1.1 192.168.1.1 ]
The following packages are currently pending an upgrade:
libaprutil1 1.2.12+dfsg-8+lenny4
libapr1 1.2.12-5+lenny1
libsvn1 1.5.1dfsg1-4
subversion 1.5.1dfsg1-4
============================================================ ============
Package Details:
Načítám soubory se změnami...
--- Změny v apr (libapr1) ---
apr (1.2.12-5+lenny1) stable-security; urgency=high
* Fix CVE-2009-2412: overflow in pool allocations, where size alignment
was taking place.
-- Peter Samuelson <peter@p12n.org> Thu, 06 Aug 2009 09:22:28 -0500
--- Změny v apr-util (libaprutil1) ---
apr-util (1.2.12+dfsg-8+lenny4) stable-security; urgency=high
* CVE-2009-2412: Fix overflow in RMM allocations due to alignment.
-- Peter Samuelson <peter@p12n.org> Thu, 06 Aug 2009 09:27:58 -0500
--- Změny v subversion (libsvn1 subversion) ---
subversion (1.5.1dfsg1-4) stable-security; urgency=high
* Fix CVE-2009-2411, heap overflows in svndiff stream parsing.
-- Peter Samuelson <peter@p12n.org> Wed, 05 Aug 2009 19:54:23 -0500
subversion (1.5.1dfsg1-3) stable; urgency=low
* patches/commit-email2: New patch to fix mail header formatting in
commit-email.pl hook. (Closes: #508301, #532903)
-- Peter Samuelson <peter@p12n.org> Sat, 04 Jul 2009 12:39:13 -0500
============================================================ ============
You can perform the upgrade by issuing the command:
aptitude full-upgrade
as root on eu.vancl.eu
-- apticron