Bug#226496: xfree86-common: preinst overwrites it's own debug information
Package: xfree86-common
Version: 4.2.1-12.1
Severity: minor
Tags: patch
The preinst check for symlinks has the following two lines at line 238:
errmsg="$symlink exists and is not a symbolic link. This package cannot"
errmsg="be installed until this"
this drops the part of the error message that is interesting and
produces the following noninformative output:
"Unpacking xfree86-common (from .../xfree86-common_4.2.1-12.1_all.deb) ...
be installed until this directory is removed.
xfree86-common preinst error: Aborting installation of xfree86-common package."
It should be changed to:
errmsg="$symlink exists and is not a symbolic link. This package cannot"
errmsg="$errmsg be installed until this"
This patch is untested.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Locale: LANG=C, LC_CTYPE=C
Versions of packages xfree86-common depends on:
-- debconf information excluded
Reply to: