Package: mt-st
Version: 0.9b-2
Severity: normal

Hi,

when trying to remove mt-st, I get the following message:

# apt-get --purge remove mt-st
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED
  mt-st*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 184kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 190863 files and directories currently installed.)
Removing mt-st ...
Purging configuration files for mt-st ...
dpkg: error processing mt-st (--purge):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 mt-st
E: Sub-process /usr/bin/dpkg returned an error code (1)

Consecutive calls to 'dpkg --purge' gets the same error and no more
information.

Looking at /var/lib/dpkg/info/mt-st.postrm, I think it's due to:

if [ "$1" = purge ]; then
        [ -L /etc/udev/rules.d/z60_mt-st.rules ] && \
        rm /etc/udev/rules.d/z60_mt-st.rules
fi

if the file isn't a link or doesn't exist, the script returns with an
error code. With a proper 'if' statement, the problem should occur.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-17nc6k1
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)

Versions of packages mt-st depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries

mt-st recommends no packages.


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

Reply via email to