I found this bug too. Even after 3 years.
Here's a solution:
All variables passed to CUSTOM_SUBJECT need to be escaped with a backslash:
CUSTOM_SUBJECT="[apticron] \$SYSTEM \$NUM_PACKAGES \$DISTRIB_ID package 
update(s)"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1308430

Title:
  apticron does not sen $NUM_PACKAGES with custom subject set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apticron/+bug/1308430/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to