cron-apt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cron-apt [2012/07/12 10:41] – admin | cron-apt [2012/07/27 12:06] (current) – admin | ||
---|---|---|---|
Line 84: | Line 84: | ||
Il cron-job viene lanciato intorno alle 4 di notte, per default. | Il cron-job viene lanciato intorno alle 4 di notte, per default. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | Dopo aver fatto questa modifica: | ||
+ | |||
+ | **Automatiser l' | ||
+ | |||
+ | Pour installer automatiquement les mises à jour disponibles, | ||
+ | |||
+ | < | ||
+ | dist-upgrade -y -o APT:: | ||
+ | </ | ||
+ | |||
+ | Et voilà, les mises à jour seront installées automatiquement. | ||
+ | |||
+ | Notez que ce comportement n'est pas recommandé sur un serveur ! | ||
+ | Il est préférable de faire les mises à jour à la main pour éviter toutes indisponibilités d'un service suite à un problème avec la nouvelles version installée. | ||
+ | |||
+ | Nel mio caso: | ||
+ | |||
+ | < | ||
+ | francesco@serverHP:/ | ||
+ | total 12K | ||
+ | -rw-r--r-- 1 root root 18 22 août 2010 0-update | ||
+ | -rw-r--r-- 1 root root 64 22 août 2010 3-download | ||
+ | -rw-r--r-- 1 root root 48 26 juil. 08:39 5-install | ||
+ | </ | ||
+ | |||
+ | ho trovo il report così strutturato: | ||
+ | |||
+ | < | ||
+ | Date: Fri, 27 Jul 2012 04:40:18 +0200 | ||
+ | From: root < | ||
+ | To: root@serverhp | ||
+ | Subject: CRON-APT completed on serverHP [/ | ||
+ | |||
+ | CRON-APT RUN [/ | ||
+ | CRON-APT SLEEP: 2398, Fri Jul 27 04:40:00 CEST 2012 | ||
+ | CRON-APT ACTION: 0-update | ||
+ | CRON-APT LINE: / | ||
+ | CRON-APT ACTION: 3-download | ||
+ | CRON-APT LINE: / | ||
+ | Reading package lists... | ||
+ | Building dependency tree... | ||
+ | Reading state information... | ||
+ | CRON-APT LINE: / | ||
+ | Reading package lists... | ||
+ | Building dependency tree... | ||
+ | Reading state information... | ||
+ | The following packages will be upgraded: | ||
+ | isc-dhcp-client isc-dhcp-common libnss3-1d openjdk-6-jre | ||
+ | openjdk-6-jre-headless openjdk-6-jre-lib | ||
+ | 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 620 kB/33.4 MB of archives. | ||
+ | After this operation, 381 kB of additional disk space will be used. | ||
+ | Get:1 http:// | ||
+ | +4.1.1-P1-15+squeeze4 [281 kB] | ||
+ | Get:2 http:// | ||
+ | +4.1.1-P1-15+squeeze4 [339 kB] | ||
+ | Fetched 620 kB in 0s (666 kB/s) | ||
+ | Download complete and in download only mode | ||
+ | CRON-APT ACTION: 5-install | ||
+ | CRON-APT LINE: / | ||
+ | Reading package lists... | ||
+ | Building dependency tree... | ||
+ | Reading state information... | ||
+ | The following packages will be upgraded: | ||
+ | isc-dhcp-client isc-dhcp-common libnss3-1d openjdk-6-jre | ||
+ | openjdk-6-jre-headless openjdk-6-jre-lib | ||
+ | Reading changelogs... | ||
+ | 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 0 B/33.4 MB of archives. | ||
+ | After this operation, 381 kB of additional disk space will be used. | ||
+ | (Reading database ... 43671 files and directories currently installed.) | ||
+ | Preparing to replace isc-dhcp-client 4.1.1-P1-15+squeeze3 (using | ||
+ | +.../ | ||
+ | Unpacking replacement isc-dhcp-client ... | ||
+ | Preparing to replace isc-dhcp-common 4.1.1-P1-15+squeeze3 (using | ||
+ | +.../ | ||
+ | Unpacking replacement isc-dhcp-common ... | ||
+ | Preparing to replace libnss3-1d 3.12.8-1+squeeze4 (using | ||
+ | +.../ | ||
+ | Unpacking replacement libnss3-1d ... | ||
+ | Preparing to replace openjdk-6-jre-lib 6b18-1.8.13-0+squeeze1 (using | ||
+ | +.../ | ||
+ | Unpacking replacement openjdk-6-jre-lib ... | ||
+ | Preparing to replace openjdk-6-jre-headless 6b18-1.8.13-0+squeeze1 (using | ||
+ | +.../ | ||
+ | Unpacking replacement openjdk-6-jre-headless ... | ||
+ | Preparing to replace openjdk-6-jre 6b18-1.8.13-0+squeeze1 (using | ||
+ | +.../ | ||
+ | Unpacking replacement openjdk-6-jre ... | ||
+ | Processing triggers for man-db ... | ||
+ | Processing triggers for hicolor-icon-theme ... | ||
+ | Setting up isc-dhcp-common (4.1.1-P1-15+squeeze4) ... | ||
+ | Setting up isc-dhcp-client (4.1.1-P1-15+squeeze4) ... | ||
+ | Setting up libnss3-1d (3.12.8-1+squeeze5) ... | ||
+ | Setting up openjdk-6-jre-headless (6b18-1.8.13-0+squeeze2) ... | ||
+ | Setting up openjdk-6-jre-lib (6b18-1.8.13-0+squeeze2) ... | ||
+ | Setting up openjdk-6-jre (6b18-1.8.13-0+squeeze2) ... | ||
+ | </ |
cron-apt.1342082500.txt.gz · Last modified: 2012/07/12 10:41 by admin