Public bug reported:

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

** Affects: daptup (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
/etc/apt/apt.conf.d/11daptup needs --nocolor
https://bugs.launchpad.net/bugs/422258
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to