Package: fuse-utils
Version: 2.2.1-4sarge2
Severity: critical

When the fuse-utils package is removed, it does not properly remove
the status override for /usr/bin/fusermount. This causes almost any
subsequent dpkg command to fail with the following error:

  dpkg: syntax error: unknown group `fuse' in statusoverride file 

Naturally, this breaks apt-get and aptitude as well. The fix for this
is to run the following command when the fuse-utils package is
removed:

  dpkg-statoverride --remove /usr/bin/fusermount


Here is a transcript of the problem (edited for readability):

blueberry:root# aptitude install fuse-utils
 [Works without errors]

blueberry:root# aptitude remove fuse-utils
 [Works, but does not adjust the statoverride file]

blueberry:root# dpkg-statoverride --list 
 root Debian-exim 0640 /etc/exim4/passwd.client
 root games 2755 /usr/games/wing
 root fuse 4754 /usr/bin/fusermount

blueberry:root# aptitude install fuse-utils
 ['upgrade' or 'install' of any package now fails with errors]

 Reading Package Lists... Done
 Building Dependency Tree       
 Reading extended state information       
 Initializing package states... Done
 Reading task descriptions... Done  
 The following NEW packages will be installed:
   fuse-utils 
 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0B/39.7kB of archives. After unpacking 106kB will be used.
 Writing extended state information... Done
 Preconfiguring packages ...
 dpkg: syntax error: unknown group `fuse' in statusoverride file 
 E: Sub-process /usr/bin/dpkg returned an error code (2)
 Ack!  Something bad happened while installing packages.  Trying to recover:
 Reading Package Lists... Done             
 Building Dependency Tree       
 Reading extended state information       
 Initializing package states... Done
 Reading task descriptions... Done  

blueberry:root# dpkg-statoverride --remove /usr/bin/fusermount
 [Fixes the problem]

blueberry:root# aptitude install fuse-utils
 [Works without errors]


While this is clearly a bug in fuse-utils, I believe that dpkg itself
should not be so brittle. Why should dpkg be completely hosed if a
package misuses dpkg-statoverride?

Ben Wong


-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages fuse-utils depends on:
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  sed                         4.1.2-8      The GNU sed stream editor
ii  ucf                         1.17         Update Configuration File: preserv


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to