Bug#399475: konqueror: postinst installs alternative without corresponding slave link
Package: konqueror
Version: 4:3.3.2-1sarge3
Severity: normal
Konqueror does not install its manpage in the alternative system. I'd
say it is a bug (a policy violation?) to install x-www-browser with no
manpage. The solution is to use a slave link, like amaya does it.
With konqueror 3.3.2-1 and amaya 8.5-1 installed on my system, cruft
0.9.6-0.4 correctly reports:
---- missing: alternatives ----
/etc/alternatives/x-www-browser.1.gz
/usr/share/man/man1/x-www-browser.1.gz
What caused that? Look at /var/lib/dpkg/alternatives/x-www-browser
and find:
----------------------------------------
auto
/usr/bin/x-www-browser
x-www-browser.1.gz
/usr/share/man/man1/x-www-browser.1.gz
/usr/bin/konqueror
100
/usr/bin/amaya
20
/usr/share/man/man1/amaya.1.gz
----------------------------------------
konqueror 3.3.2-1 postinst installs /usr/bin/konqueror as an alternative
/usr/bin/x-www-browser without installing konqueror's man page as a "slave"
alternative; compare
<cut from konqueror.postinst>
update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/konqueror 100
</cut from konqueror.postinst>
and
<cut from amaya.postinst>
if [ "$1" = "configure" -o "$1" = "abort-upgrade" ] ; then
update-alternatives --install /usr/bin/x-www-browser \
x-www-browser /usr/bin/amaya 20 \
--slave /usr/share/man/man1/x-www-browser.1.gz \
x-www-browser.1.gz /usr/share/man/man1/amaya.1.gz
fi
</cut from amaya.postinst>
I'm not sure it qualifies as "serious" for etch but it's not nice.
There are probably other KDE packages with this problem, eg
package kwin (/var/lib/dpkg/alternatives/x-window-manager)
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-3-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages konqueror depends on:
ii kcontrol 4:3.3.2-1sarge3 KDE Control Center
ii kdebase-kio-plugin 4:3.3.2-1sarge3 KDE I/O Slaves
ii kdelibs4 4:3.3.2-6.4 KDE core libraries
ii kdesktop 4:3.3.2-1sarge3 KDE Desktop
ii kfind 4:3.3.2-1sarge3 KDE File Find Utility
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii libfam0c102 2.7.0-6sarge1 client library to control the FAM
ii libgcc1 1:3.4.3-13sarge1 GCC support library
ii libice6 4.3.0.dfsg.1-14sarge2 Inter-Client Exchange library
ii libidn11 0.5.13-1.0 GNU libidn library, implementation
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libkonq4 4:3.3.2-1sarge3 Core libraries for KDE's file mana
ii libpcre3 4.5-1.2sarge1 Perl 5 Compatible Regular Expressi
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libqt3c102-mt 3:3.3.4-3sarge1 Qt GUI Library (Threaded runtime v
ii libsm6 4.3.0.dfsg.1-14sarge2 X Window System Session Management
ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3
ii libx11-6 4.3.0.dfsg.1-14sarge2 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-14sarge2 X Window System miscellaneous exte
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii xlibs 4.3.0.dfsg.1-14sarge2 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- no debconf information
Reply to: