Package: fvwm95
Version: 2.0.43ba-21
Severity: grave
Tags: patch
Justification: renders package unusable
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
After feeling the urgent need to free some space on my harddrive I
decided to uninstall some lesser used programs. Unfortunately this
also hit fvwm95. It did not work. Here is what happened:
$ LANG=C sudo apt-get remove fvwm95
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
fvwm95
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 1489kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 331403 files and directories currently installed.)
Removing fvwm95 ...
/var/lib/dpkg/info/fvwm95.postrm: line 16:
menu-method-file=/etc/menu-methods/fvwm95: No such file or directory
dpkg: error processing fvwm95 (--remove):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
fvwm95
E: Sub-process /usr/bin/dpkg returned an error code (1)
I then looked at /var/lib/dpkg/info/fvwm95.postrm, line 16 and found
the culprit. To my knowledge `-' is not allowed in bourne shell
variable names. After changing every appearance of menu-method-file
to menu_method_file fvwm95 removes just fine:
$ LANG=C sudo apt-get remove fvwm95
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
fvwm95
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 1489kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 331403 files and directories currently installed.)
Removing fvwm95 ...
I have included the diff against the latest debian package.
Sebastian Fontius
*** mmf.diff
diff --unified --recursive fvwm95-2.0.43ba.orig/debian/postrm
fvwm95-2.0.43ba/debian/postrm
- --- fvwm95-2.0.43ba.orig/debian/postrm 2005-04-01 23:10:22.000000000
+0200
+++ fvwm95-2.0.43ba/debian/postrm 2005-04-01 23:16:52.000000000 +0200
@@ -13,14 +13,14 @@
# after the removal of the package's files from the system, and as
# the final step in the removal of this package, after the package's
# conffiles have been removed.
- -menu-method-file=/etc/menu-methods/fvwm95
+menu_method_file=/etc/menu-methods/fvwm95
case "$1" in
remove)
# This package has been removed, but its configuration has not yet
# been purged.
- - if [ -f $menu-method-file ] ; then
- - chmod a-x $menu-method-file
+ if [ -f $menu_method_file ] ; then
+ chmod a-x $menu_method_file
if [ -x /usr/bin/update-menus ]; then update-menus ; fi
fi
if [ -x /usr/sbin/register-window-manager ]; then
@@ -37,8 +37,8 @@
# This is a special case: neither "prerm remove" nor "postrm remove"
# have been called, because dpkg didn't know that this package would
# disappear until this stage.
- - if [ -f $menu-method-file ] ; then
- - chmod a-x $menu-method-file
+ if [ -f $menu_method_file ] ; then
+ chmod a-x $menu_method_file
if [ -x /usr/bin/update-menus ]; then update-menus ; fi
fi
if [ -x /usr/sbin/register-window-manager ]; then
- -- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (700, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.6-phobos
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages fvwm95 depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libreadline4 4.3-11 GNU readline and history libraries
ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii libxpm4 4.3.0.dfsg.1-10 X pixmap library
ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCTccPv/95EltIOGIRAjzxAKChVULuqq2aKnYxEzqqa2ZuVcU88wCfUIhm
CKepALiNE8BsON1ph2jb+d0=
=3Zkw
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]