I have the 3 following files in
action.d:

/etc/cron-apt/action.d/0-update:
#############################
update
-o
quiet=2
#############################

/etc/cron-apt/action.d/3-download:
#############################
autoclean
-y
dist-upgrade -d -y -o
APT::Get::Show-Upgraded=true
#############################

/etc/cron-apt/action.d/5-install:
#############################
dist-upgrade
-y -o APT::Get::Show-Upgraded=true
#############################

The
0-updates file indeed use the "quiet=2" and apt doesn't print anything
(which is fine). But for the 2 other files apt should output something.
Shouldn't it?

Le 2015-08-20 10:48, Ola Lundqvist a écrit : 

> Hi 
> 
>
You only get an email in the case apt prints something. What apt
commands do you have in the configuration? 
> 
> // Ola 
> 
> On Thu,
Aug 20, 2015 at 9:26 AM, Pelmato <ctt-report...@zygalio.net [1]>
wrote:
> 
>> Package: cron-apt
>> Version: 0.9.2
>> Severity: normal
>>

>> Hi,
>> 
>> Here is my config file
(/etc/cron-apt/config.d/config):
>> 
>>
#####################################
>> APTCOMMAND=/usr/bin/apt-get
>>
OPTIONS="-o quiet=1 -o Dir::Etc::SourceList=/etc/apt/sources.list"
>>
MAILTO="admin@[…]"
>> MAILON="always"
>>
#####################################
>> 
>> So I expected to get an
email every time cron-apt is run. But I only
>> receive one when there
is a problem while running apt-get.
>> 
>> Thanks,
>> 
>> Cyril
>> 
>>
-- System Information:
>> Debian Release: 8.1
>> APT prefers
stable-updates
>> APT policy: (500, 'stable-updates'), (500,
'stable')
>> Architecture: i386 (i686)
>> 
>> Kernel: Linux
3.16.0-4-686-pae (SMP w/4 CPU cores)
>> Locale: LANG=fr_FR.UTF-8,
LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
>> Shell: /bin/sh linked to
/bin/dash
>> Init: systemd (via /run/systemd/system)
>> 
>> Versions of
packages cron-apt depends on:
>> ii apt 1.0.9.8
>> 
>> Versions of
packages cron-apt recommends:
>> ii bsd-mailx [mailx]
8.1.2-0.20141216cvs-2
>> ii cron 3.0pl1-127
>> ii liblockfile1 1.09-6
>>

>> cron-apt suggests no packages.
>> 
>> -- no debconf information
> 
>
-- 
> 
> --- Inguza Technology AB --- MSc in Information Technology ----

> / o...@inguza.com [2] Annebergsslingan 37 
> | o...@debian.org [3] 654
65 KARLSTAD | 
> | http://inguza.com/ [4] Mobile: +46 (0)70-332 1551 |

> gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / 
>
---------------------------------------------------------------




Links:
------
[1] mailto:ctt-report...@zygalio.net
[2]
mailto:o...@inguza.com
[3] mailto:o...@debian.org
[4] http://inguza.com/

Reply via email to