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:
1 <em>apticron report [Sun, 09 Aug 2009 14:50:39 +0200]<br />==============================<br /><br /></em><wbr></wbr><em>==============================</em><wbr></wbr><em>============<br /><br />apticron has detected that some packages need upgrading on:<br /><br /> eu.vancl.eu<br /> [ 127.0.1.1 192.168.1.1 ]<br /><br />The following packages are currently pending an upgrade:<br /><br /> libaprutil1 1.2.12+dfsg-8+lenny4<br /> libapr1 1.2.12-5+lenny1<br /> libsvn1 1.5.1dfsg1-4<br /> subversion 1.5.1dfsg1-4<br /><br />==============================</em><wbr></wbr><em>==============================</em><wbr></wbr><em>============<br /><br />Package Details:<br /><br />Načítám soubory se změnami...<br />--- Změny v apr (libapr1) ---<br />apr (1.2.12-5+lenny1) stable-security; urgency=high<br /><br /> * Fix CVE-2009-2412: overflow in pool allocations, where size alignment<br /> was taking place.<br /><br /> -- Peter Samuelson <</em><a href="mailto:peter@p12n.org"><em>peter@p12n.org</em></a><em>> Thu, 06 Aug 2009 09:22:28 -0500<br /><br />--- Změny v apr-util (libaprutil1) ---<br />apr-util (1.2.12+dfsg-8+lenny4) stable-security; urgency=high<br /><br /> * CVE-2009-2412: Fix overflow in RMM allocations due to alignment.<br /><br /> -- Peter Samuelson <</em><a href="mailto:peter@p12n.org"><em>peter@p12n.org</em></a><em>> Thu, 06 Aug 2009 09:27:58 -0500<br /><br />--- Změny v subversion (libsvn1 subversion) ---<br />subversion (1.5.1dfsg1-4) stable-security; urgency=high<br /><br /> * Fix CVE-2009-2411, heap overflows in svndiff stream parsing.<br /><br /> -- Peter Samuelson <</em><a href="mailto:peter@p12n.org"><em>peter@p12n.org</em></a><em>> Wed, 05 Aug 2009 19:54:23 -0500<br /><br />subversion (1.5.1dfsg1-3) stable; urgency=low<br /><br /> * patches/commit-email2: New patch to fix mail header formatting in<br /> commit-email.pl hook. (Closes: #508301, #532903)<br /><br /> -- Peter Samuelson <</em><a href="mailto:peter@p12n.org"><em>peter@p12n.org</em></a><em>> Sat, 04 Jul 2009 12:39:13 -0500<br /><br />==============================</em><wbr></wbr><em>==============================</em><wbr></wbr><em>============<br /><br />You can perform the upgrade by issuing the command:<br /><br /> aptitude full-upgrade<br /><br />as root on eu.vancl.eu<br /><font color="#888888"> -- apticron</font></em>