Package: kdelibs-bin Version: 4:3.2.1-1 Severity: normal Followup-For: Bug #237260
Hello Chris, I see the same bug as the original reporter. It actually impacts both freedesktop-desktop-entry-spec-apps and freedesktop-desktop-entry-spec-dirs. ^^^^ ^^^^ I am using: $ dpkg -l menu | grep ^ii ii menu 2.1.10-1 Provides update-menus functions for some app When I run update-menus I get the following: # update-menus -v update-menus[3280]: Dpkg is not locking dpkg status area, good. update-menus[3280]: Reading installed packages list... update-menus[3280]: Reading menu-entry files in /etc/menu/. update-menus[3280]: 0 menu entries found (0 total). update-menus[3280]: Reading menu-entry files in /usr/lib/menu/. update-menus[3280]: 803 menu entries found (803 total). update-menus[3280]: Reading menu-entry files in /usr/share/menu/. update-menus[3280]: 0 menu entries found (803 total). update-menus[3280]: Reading menu-entry files in /usr/share/menu/default/. update-menus[3280]: 5 menu entries found (808 total). update-menus[3280]: Running menu-methods in /etc/menu-methods/. update-menus[3280]: Running method: /etc/menu-methods/kdm sh: line 1: /usr/bin/kdm-update-menu: No such file or directory update-menus[3280]: Running method: /etc/menu-methods/kdelibs-bin update-menus[3280]: Running method: /etc/menu-methods/twm update-menus[3280]: Running method: /etc/menu-methods/freedesktop-desktop-entry-spec-dirs Unknown error, message=replacewith($string, $replace, $with): $replace and $with must have the same length. install-menu: /etc/menu-methods/freedesktop-desktop-entry-spec-dirs: aborting update-menus[3280]: Script /etc/menu-methods/freedesktop-desktop-entry-spec-dirs returned error status 1. update-menus[3280]: Running method: /etc/menu-methods/freedesktop-desktop-entry-spec-apps Unknown error, message=replacewith($string, $replace, $with): $replace and $with must have the same length. install-menu: /etc/menu-methods/freedesktop-desktop-entry-spec-apps: aborting update-menus[3280]: Script /etc/menu-methods/freedesktop-desktop-entry-spec-apps returned error status 1. So, it seems the OR was correct about the need to match the length of the strings being replaced with the replacement text. Hope this helps! --Joe PS - IMHO, this should be at least severity: important -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.3-1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 Versions of packages kdelibs-bin depends on: ii kdelibs4 4:3.2.1-1 KDE core libraries ii libart-2.0-2 2.3.16-1 Library of functions for 2D graphi ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an ii libcupsys2 1.1.20final+cvs20040317-1 Common UNIX Printing System(tm) - ii libfam0c102 2.7.0-5 client library to control the FAM ii libgcc1 1:3.3.3-3 GCC support library ii libgcrypt1 1.1.12-4 LGPL Crypto library - runtime libr ii libgnutls7 0.8.12-5 GNU TLS library - runtime library ii libice6 4.3.0-7 Inter-Client Exchange library ii libpng12-0 1.2.5.0-5 PNG library - runtime ii libqt3c102-mt 3:3.2.3-2 Qt GUI Library (Threaded runtime v ii libsm6 4.3.0-7 X Window System Session Management ii libstdc++5 1:3.3.3-3 The GNU Standard C++ Library v3 ii libtasn1-0 0.1.2-1 Manage ASN.1 structures (runtime) ii libx11-6 4.3.0-7 X Window System protocol client li ii libxext6 4.3.0-7 X Window System miscellaneous exte ii libxml2 2.6.7-1 GNOME XML library ii libxrender1 0.8.3-7 X Rendering Extension client libra ii libxslt1.1 1.1.2-3 XSLT processing library - runtime ii netpbm 2:10.0-3 Graphics conversion tools ii python 2.3.3-7 An interactive high-level object-o ii xlibs 4.3.0-7 X Window System client libraries m ii zlib1g 1:1.2.1-5 compression library - runtime -- no debconf information