Public bug reported: I have run into a problem, where dma (a sendmail replacement) refuses to accept the output from anacron, because it contains lines longer that 1000 bytes.
The line that is causing the problem is from: /etc/cron.daily/apt-cacher-ng: Error(s) occured while updating volatile index files for apt-cacher-ng. Please visit http://lenny:3142/acng-report.html to rerun the expiration manually or check the error message(s) in the current log file(s). Check error messages in /var/log/apt-cacher-ng/maint_1340793800.log /var/log/apt-cacher-ng/maint_1340881914.log [...] /var/log/apt-cacher- ng/maint_1351765343.log /var/log/apt-cacher-ng/maint_1351860019.log The untrimmed line is almost 5000 characters long. apt-cacher-ng should probably wrap the lines after ~80 characters or put the filenames on a single line (as a dash-prefixed list). The output appears to come from the /etc/cron.daily/apt-cacher-ng script: perl /usr/lib/apt-cacher-ng/expire-caller.pl || echo Check error messages in /var/log/apt-cacher-ng/maint_*.log When executing the "expire-caller" script which is failing I get this output: $ sudo perl /usr/lib/apt-cacher-ng/expire-caller.pl Error(s) occured while updating volatile index files for apt-cacher-ng. Please visit http://lenny:3142/acng-report.html to rerun the expiration manually or check the error message(s) in the current log file(s). ** Affects: apt-cacher-ng (Ubuntu) Importance: Undecided Status: New ** Description changed: I have run into a problem, where dma (a sendmail replacement) refuses to accept the output from anacron, because it contains lines longer that 1000 bytes. The line that is causing the problem is from: - /etc/cron.daily/apt-cacher-ng: - Error(s) occured while updating volatile index files for apt-cacher-ng. - Please visit http://lenny:3142/acng-report.html to rerun the - expiration manually or check the error message(s) in the current log file(s). + /etc/cron.daily/apt-cacher-ng: + Error(s) occured while updating volatile index files for apt-cacher-ng. + Please visit http://lenny:3142/acng-report.html to rerun the + expiration manually or check the error message(s) in the current log file(s). - Check error messages in /var/log/apt-cacher- - ng/maint_1340793800.log /var/log/apt-cacher-ng/maint_1340881914.log - [...] /var/log/apt-cacher-ng/maint_1351765343.log /var/log/apt-cacher- - ng/maint_1351860019.log - + Check error messages in /var/log/apt-cacher-ng/maint_1340793800.log + /var/log/apt-cacher-ng/maint_1340881914.log [...] /var/log/apt-cacher- + ng/maint_1351765343.log /var/log/apt-cacher-ng/maint_1351860019.log The untrimmed line is almost 5000 characters long. apt-cacher-ng should probably wrap the lines after ~80 characters or put the filenames on a single line (as a dash-prefixed list). + + The output appears to come from the /etc/cron.daily/apt-cacher-ng + script: + + perl /usr/lib/apt-cacher-ng/expire-caller.pl || echo Check error + messages in /var/log/apt-cacher-ng/maint_*.log ** Description changed: I have run into a problem, where dma (a sendmail replacement) refuses to accept the output from anacron, because it contains lines longer that 1000 bytes. The line that is causing the problem is from: /etc/cron.daily/apt-cacher-ng: Error(s) occured while updating volatile index files for apt-cacher-ng. Please visit http://lenny:3142/acng-report.html to rerun the expiration manually or check the error message(s) in the current log file(s). Check error messages in /var/log/apt-cacher-ng/maint_1340793800.log /var/log/apt-cacher-ng/maint_1340881914.log [...] /var/log/apt-cacher- ng/maint_1351765343.log /var/log/apt-cacher-ng/maint_1351860019.log The untrimmed line is almost 5000 characters long. apt-cacher-ng should probably wrap the lines after ~80 characters or put the filenames on a single line (as a dash-prefixed list). The output appears to come from the /etc/cron.daily/apt-cacher-ng script: - perl /usr/lib/apt-cacher-ng/expire-caller.pl || echo Check error + perl /usr/lib/apt-cacher-ng/expire-caller.pl || echo Check error messages in /var/log/apt-cacher-ng/maint_*.log + + When executing the "expire-caller" script which is failing I get this + output: + + $ sudo perl /usr/lib/apt-cacher-ng/expire-caller.pl + Error(s) occured while updating volatile index files for apt-cacher-ng. + Please visit http://lenny:3142/acng-report.html to rerun the + expiration manually or check the error message(s) in the current log file(s). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1074474 Title: Please wrap output from apt-acher-ng cron job To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1074474/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
