From: root <[email protected]>
Subject: CRON-APT completed on janeway
To: [email protected]
Date: Fri, 13 Aug 2004 10:25:46 +0200
CRON-APT RUN [/etc/cron-apt/config-hourly]: Fri Aug 13 10:25:42 CEST 2004 CRON-APT ACTION: 3-download
--- /var/lib/cron-apt/mailchanges/3-download 2004-08-13 10:25:36.000000000 +0200
+++ /var/lib/cron-apt/temp 2004-08-13 10:25:45.000000000 +0200
@@ -1,3 +1,4 @@
-CRON-APT LINE: autoclean -y
+CRON-APT LINE: upgrade --ignore-missing --download-only --show-upgraded --yes
Reading Package Lists...
Building Dependency Tree...
+0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
----- DIFF END HERE -----
CRON-APT LINE: upgrade --ignore-missing --download-only --show-upgraded --yes Reading Package Lists...
Building Dependency Tree...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--- /var/lib/cron-apt/mailchanges/3-download 2004-08-13 10:25:45.000000000 +0200
+++ /var/lib/cron-apt/temp 2004-08-13 10:25:46.000000000 +0200
@@ -1,4 +1,3 @@
-CRON-APT LINE: upgrade --ignore-missing --download-only --show-upgraded --yes
+CRON-APT LINE: autoclean -y
Reading Package Lists...
Building Dependency Tree...
-0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
----- DIFF END HERE -----
CRON-APT LINE: autoclean -y
Reading Package Lists...
Building Dependency Tree...
reopen 264340
tags 264340 -patch
thanks
0.0.29 has broken mailon=changes. Obviously, all apt-get invocations
are diffed against each other which makes cron-apt send a mail every
hour. This is exactly what was originally to be avoided, only that the messages it sends now are much less readable than previously.
Greetings
Marc
----- Forwarded message from root <[email protected]> -----
From: root <[email protected]>
Subject: CRON-APT completed on janeway
To: [email protected]
Date: Fri, 13 Aug 2004 10:25:46 +0200
CRON-APT RUN [/etc/cron-apt/config-hourly]: Fri Aug 13 10:25:42 CEST 2004 CRON-APT ACTION: 3-download
--- /var/lib/cron-apt/mailchanges/3-download 2004-08-13 10:25:36.000000000 +0200
+++ /var/lib/cron-apt/temp 2004-08-13 10:25:45.000000000 +0200
@@ -1,3 +1,4 @@
-CRON-APT LINE: autoclean -y
+CRON-APT LINE: upgrade --ignore-missing --download-only --show-upgraded --yes
Reading Package Lists...
Building Dependency Tree...
+0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
----- DIFF END HERE -----
CRON-APT LINE: upgrade --ignore-missing --download-only --show-upgraded --yes
Reading Package Lists...
Building Dependency Tree...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--- /var/lib/cron-apt/mailchanges/3-download 2004-08-13 10:25:45.000000000 +0200
+++ /var/lib/cron-apt/temp 2004-08-13 10:25:46.000000000 +0200
@@ -1,4 +1,3 @@
-CRON-APT LINE: upgrade --ignore-missing --download-only --show-upgraded --yes
+CRON-APT LINE: autoclean -y
Reading Package Lists...
Building Dependency Tree...
-0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
----- DIFF END HERE -----
CRON-APT LINE: autoclean -y
Reading Package Lists...
Building Dependency Tree...
----- End forwarded message -----
-- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Karlsruhe, Germany | lose things." Winona Ryder | Fon: *49 721 966 32 15 Nordisch by Nature | How to make an American Quilt | Fax: *49 721 966 31 29
The problem is that the diff file is named after ACTIONF, and the diff
is built once for each apt-get invocation. This is fine as long as an
ACITONF file only contains a single line, but fails miserably if
multiple calls to apt-get are configured - for example in the default /etc/cron-apt/action.d/3-download. We end up diffing the output of
apt-get autoclean -y against the output of apt-get upgrade $OPTIONS
which are bound to differ.
Greetings
Marc
-- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Karlsruhe, Germany | lose things." Winona Ryder | Fon: *49 721 966 32 15 Nordisch by Nature | How to make an American Quilt | Fax: *49 721 966 31 29
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 44:16:38 |
| Calls: | 12,111 |
| Calls today: | 2 |
| Files: | 15,010 |
| Messages: | 6,518,458 |