Bug#295197: Horde2 fails to uninstall.

2005-02-14 Thread Mohammed Sameer
Package: horde2
Version: 2.2.7-4
Severity: serious

I'm trying to uninstall horde but it fails.

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


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-Uniball-3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages horde2 depends on:
ii  apache2-mpm-prefork [httpd]   2.0.52-3   Traditional model for Apache2
ii  binutils  2.15-5 The GNU assembler, linker and bina
ii  debconf   1.4.30.11  Debian configuration management sy
ii  gettext   0.14.1-7   GNU Internationalization utilities
ii  logrotate 3.7-2  Log rotation utility
ii  make  3.80-9 The GNU version of the make util
ii  perl  5.8.4-6Larry Wall's Practical Extraction 
ii  php4  4:4.3.10-2 server-side, HTML-embedded scripti
ii  php4-pear 4:4.3.10-2 PEAR - PHP Extension and Applicati
ii  php4-pear-log 1.6.0-1.1  Log module for PEAR
ii  wwwconfig-common  0.0.42 Debian web auto configuration

-- 

-- Katoob Main Developer, Arabbix Maintainer.
GNU/Linux registered user #224950
Proud Egyptian GNU/Linux User Group www.eglug.org Admin.
Life powered by Debian, Homepage: www.foolab.org
--
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.fsf.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature


signature.asc
Description: Digital signature


Bug#295197: Horde2 fails to uninstall.

2005-02-14 Thread Steve Langasek
tags 295197 patch
thanks

This seems the week for debconf-related purge failures.

Please find attached a patch for this issue.  The postrm must not output
user messages to stdout on purge if debconf is used by the package.

-- 
Steve Langasek
postmodern programmer
diff -u horde2-2.2.7/debian/postrm horde2-2.2.7/debian/postrm
--- horde2-2.2.7/debian/postrm
+++ horde2-2.2.7/debian/postrm
@@ -9,7 +9,6 @@
#
# Remove files generated for configuration
#
-echo Removing /var/lib/horde2
 rm -Rf /var/lib/horde2
 ;;
 *)
diff -u horde2-2.2.7/debian/changelog horde2-2.2.7/debian/changelog
--- horde2-2.2.7/debian/changelog
+++ horde2-2.2.7/debian/changelog
@@ -1,3 +1,13 @@
+horde2 (2.2.7-5.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for sarge-targetted RC bugfix.
+  * Remove a spurious echo from the postrm, which breaks package purging
+due to problematic interactions with debconf and is contraindicated
+by policy anyway.  Closes: #295197
+
+ -- Steve Langasek [EMAIL PROTECTED]  Mon, 14 Feb 2005 10:26:43 -0800
+
 horde2 (2.2.7-5) unstable; urgency=low
 
   * Renamed apache.conf file to horde2.conf in config.d directory,


signature.asc
Description: Digital signature


Bug#295197: Horde2 fails to uninstall.

2005-02-14 Thread Ola Lundqvist
Hello

Thanks a lot for the patch.

Uploaded now.

Regards,

// Ola

On Mon, Feb 14, 2005 at 10:50:25AM -0800, Steve Langasek wrote:
 tags 295197 patch
 thanks
 
 This seems the week for debconf-related purge failures.
 
 Please find attached a patch for this issue.  The postrm must not output
 user messages to stdout on purge if debconf is used by the package.
 
 -- 
 Steve Langasek
 postmodern programmer

 diff -u horde2-2.2.7/debian/postrm horde2-2.2.7/debian/postrm
 --- horde2-2.2.7/debian/postrm
 +++ horde2-2.2.7/debian/postrm
 @@ -9,7 +9,6 @@
   #
   # Remove files generated for configuration
   #
 -echo Removing /var/lib/horde2
  rm -Rf /var/lib/horde2
  ;;
  *)
 diff -u horde2-2.2.7/debian/changelog horde2-2.2.7/debian/changelog
 --- horde2-2.2.7/debian/changelog
 +++ horde2-2.2.7/debian/changelog
 @@ -1,3 +1,13 @@
 +horde2 (2.2.7-5.1) unstable; urgency=high
 +
 +  * Non-maintainer upload.
 +  * High-urgency upload for sarge-targetted RC bugfix.
 +  * Remove a spurious echo from the postrm, which breaks package purging
 +due to problematic interactions with debconf and is contraindicated
 +by policy anyway.  Closes: #295197
 +
 + -- Steve Langasek [EMAIL PROTECTED]  Mon, 14 Feb 2005 10:26:43 -0800
 +
  horde2 (2.2.7-5) unstable; urgency=low
  
* Renamed apache.conf file to horde2.conf in config.d directory,




-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---


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