Hi Henry It must be so that the aptitude command make the program fail for some reason. Please try with apt-get instead of aptitude as command. Apt-get is much better at handling non-interactive sessions than aptitude.
Best regards, // Ola On Fri, May 01, 2009 at 08:24:46AM +0100, henryb...@fsfe.org wrote: > > Package: cron-apt > Version: 0.6.8 > Severity: normal > > > After updating from Lenny to Squeeze last week, I realised that while packages > were being downloaded, cron-apt was not upgrading any packages. Cron-apt > was working normally on Lenny > > My /etc/config file is the following > > APTCOMMAND=/usr/bin/aptitude > RUNSLEEP=3600 > MINTMPDIRSIZE=10 > ACTIONDIR="/etc/cron-apt/action.d" > NOLOCKWARN="" > ERROR="/var/log/cron-apt/error" > TEMP="/var/log/cron-apt/temp" > LOG="/var/log/cron-apt/log" > MAIL="/var/log/cron-apt/mail" > MAILTO="root" > MAILON="always" > DEBUG="output" > OPTIONS="-o quiet=1" > > DIFFIGNORE="^\(Get:[[:digit:]]\+\|Hit\|Ign\|Del\|Fetched\|Freed\|Reading\)[[:space:]]" > > My Var/log/cron-apt directory contains a file "log". No contents > > /var/log/syslog contains the following > > May 1 04:51:11 newdebian cron-apt: CRON-APT RUN [/etc/cron-apt/config]: Fri > May 1 04:00:02 BST 2009 > May 1 04:51:11 newdebian cron-apt: CRON-APT SLEEP: 3008, Fri May 1 04:50:10 > BST 2009 > May 1 04:51:11 newdebian cron-apt: CRON-APT ACTION: 0-update > May 1 04:51:11 newdebian cron-apt: CRON-APT LINE: /usr/bin/aptitude update > -o quiet=2 > May 1 04:51:11 newdebian cron-apt: Reading package lists... > > > /etc/cron-apt/action.d/ > 0-update contains > update -o quiet=2 > 3-download contains > autoclean -y > dist-upgrade -y -o APT::Get::Show-Upgraded=true > > Ie it seems that the cron-apt is running the update but not the download > commands. I have tried fiddling with commands but the output remains the > same > > Not sure if this is a bug, but any assistance would be much appreciated > > -- System Information: > Debian Release: squeeze/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > > Kernel: Linux 2.6.26-2-486 > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages cron-apt depends on: > ii apt 0.7.20.2 Advanced front-end for dpkg > > Versions of packages cron-apt recommends: > ii bsd-mailx [mailx] 8.1.2-0.20081101cvs-2 A simple mail user agent > ii cron 3.0pl1-105 management of regular background > p > ii liblockfile1 1.08-3 NFS-safe locking library, > includes > ii mailx 1:20081101-2 Transitional package for mailx > ren > > cron-apt suggests no packages. > > -- no debconf information > > > -- > Henry > > > -- --------------------- Ola Lundqvist --------------------------- / o...@debian.org Annebergsslingan 37 \ | o...@inguza.com 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org