Bug#916844: purity: Purity looks in the wrong place for tests specified without full path
Package: purity
Version: 1-19
Severity: important
Dear Maintainer,
Attempting to run purity tests in the more traditional way ("purity list"; "purity nerd"; &c) fails with the unhelpful "error opening datafile '$test'" (for any given $test). Running under strace reveals that the program is searching under /usr/games/lib/pt/, when of course the tests actually reside at /usr/share/games/purity instead.
One can still access tests by specifying their full path ("purity /usr/share/games/purity/nerd"), so the package isn't entirely unusable, but this is still a major obstacle.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages purity depends on:
ii libc6 2.28-3
purity recommends no packages.
purity suggests no packages.
-- no debconf information
Reply to: