/etc/apt/apt.conf.d/11daptup needs --nocolor

Bug #422258 reported by WaltSullivan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
daptup (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: daptup

/usr/bin/daptup, when run from a cron job, batch/at, APT::Update or any other method that leaves $TERM undefined will fail with "tput: No value for $TERM and no -T specified", now that color output is the default.

The "--nocolor" option should be added to /etc/apt/apt.conf.d/11daptup:

APT::Update::Pre-Invoke { "/usr/bin/daptup --pre"; };
APT::Update::Post-Invoke { "/usr/bin/daptup --post"; };

should be

APT::Update::Pre-Invoke { "/usr/bin/daptup --pre --nocolor"; };
APT::Update::Post-Invoke { "/usr/bin/daptup --post --nocolor"; };

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: daptup 0.8.2-1
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: daptup
Uname: Linux 2.6.28-15-generic x86_64

Revision history for this message
WaltSullivan (walts) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.