Bug#283287: openoffice.org: obsolete potinst/postrm in experimental ?
Package: openoffice.org
Version: 1.1.3-2
Severity: important
Tags: experimental
installing openoffice.org (1.1.3-2) i got:
/var/lib/dpkg/info/openoffice.org.postinst: line 46:
update_desktop_database: co mmand not found
i found this command in postinst and postrm, eg postinst:
//POSTINST
(...)
# call hook in openoffice.org-debian-files
if [ -x /usr/share/openoffice.org${VER}-debian-files/install-hook ];
then
/usr/share/openoffice.org${VER}-debian-files/install-hook $THIS_SCRIPT
$THIS_PACKAGE "$@"
fi
# Automatically added by dh_desktop
if [ "$1" = "configure" ] && which update-desktop-database >/dev/null
2>&1 ; then
update-desktop-database -q
fi
# End automatically added section
set -e
if [ "$1" = "configure" ]; then
update_desktop_database
fi
exit 0
// END OF POSTINST
First there is a seciton added by dh_desktop which call the existing
script (update-desktop-database
then a call to update_desktop_database without checking command
exists ...
Could you remove this last call if intent was to use first , or add the
same command exists check for the second call ?
Cheers
Alban
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-rc1-bs
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Versions of packages openoffice.org depends on:
ii dictionaries-common [openoffi 0.24.1 Common utilities for spelling dict
pn openoffice.org-bin Not found.
ii openoffice.org-debian-files 1.1.3-1+1 Debian specific parts of OpenOffic
ii openoffice.org-l10n-fr [openo 1.1.3-2 French language package for OpenOf
ii ttf-opensymbol 1.1.3-2 The OpenSymbol TrueType font
-- no debconf information
Reply to: