-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The postrm script redirects output to /dev/tty. I don't know whether this is 
really neccessary, but removing the redirect seems to get rid of the bug.

Anyways, here is the trivial fix:

- 
--------------------------------------------------------------------------------
diff -ur a/debian/changelog b/debian/changelog
- --- a/debian/changelog        2010-08-07 22:42:24.471253802 +0200
+++ b/debian/changelog  2010-08-07 22:45:26.275244311 +0200
@@ -1,3 +1,12 @@
+minicom (2.4-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "package purge (after dependencies removal) fails" removed
+    unneccessary output redirection to /dev/tty in postrm script 
+    (Closes: #591865)
+
+ -- Alexander Korsunsky <fat.loby...@gmail.com>  Sat, 07 Aug 2010 22:43:52 
+0200
+
 minicom (2.4-2) unstable; urgency=low
 
   * Backported upstream fix for FHS compliant lock-file format,
diff -ur a/debian/postrm b/debian/postrm
- --- a/debian/postrm   2010-08-07 22:42:24.471253802 +0200
+++ b/debian/postrm     2010-08-07 22:43:02.575259907 +0200
@@ -13,7 +13,7 @@
        fi
        rm -f /etc/minicom.users* /etc/minicom/minirc.*
        if ! rmdir /etc/minicom 2> /dev/null; then
- -             echo "Cannot remove /etc/minicom, please do it manually." > 
/dev/tty
+               echo "Cannot remove /etc/minicom, please do it manually." 
        fi
 fi

- 
--------------------------------------------------------------------------------

Regards, Alex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxdySYACgkQDUm8QWoJBivYhACfc+hV63OqxsGBvqgH2x10ywbh
GbMAnAnYr8sz0TubOth4/nVtf1Y9D1RQ
=oneg
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to