Bug#274933: tasksel: When test scripts exit 2 the task is not marked
Package: tasksel
Version: 2.12
Severity: important
Hi,
I've tried to create a test task which is automatically marked for
installation and display (exit code 2 in the test script).
Here's the definition of the task, included in debian-task.descs:
Task: test
Section: test
Relevance: 7
Description: Test
Test task.
Key:
joe
Test-prova: test
Packages: test
/usr/lib/tasksel/test simply exit 2
/usr/lib/tasksel/packages/test simply echo joe
If joe *is not* installed the Test task is displayed in the list, but
*not* marked.
On the opposite if joe *is* installed the task is displayed *and*
marked.
Cheers,
Free
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (901, 'testing'), (101, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1-multimedia-686
Locale: LANG=en_GB, LC_CTYPE=en_GB
Versions of packages tasksel depends on:
ii aptitude 0.2.15.7-1 terminal-based apt frontend
ii debconf [debconf-2.0] 1.4.30.5 Debian configuration management sy
ii liblocale-gettext-perl 1.01-17 Using libc functions for internati
-- debconf information:
tasksel/title:
tasksel/first:
tasksel/tasks: Mail server
Reply to: