Your message dated Tue, 06 Jun 2006 14:33:18 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#369107: fixed in localepurge 0.5.4 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: localepurge Version: 0.5.1 Severity: normal Tags: patch Hello, after upgrade from 0.4.1 localepurge reports silly freed disk space, like: localepurge: Disk space freed in /usr/share/locale: 14107933K localepurge: Disk space freed in /usr/share/man: 559906K Total disk space freed by localepurge: 14667839K Looking at the code get_used_space() when quickndirtycalc is true (i.e. QUICKNDIRTYCALC _not_ set, my config) uses "du -sb", which report the used space in _bytes_. When quickndirtycalc is false "df -P" is used, which reports used space in 1k blocks and should be ok. The following patch fixes the issue using "du -ks": --- a/localepurge 2006-05-27 16:55:02.571255000 +0200 +++ b/localepurge 2006-05-27 16:54:34.801519500 +0200 @@ -61,7 +61,7 @@ get_used_space() # Usage: get_used_space <dirname> { [ -d "$1" ] || return 1 # bail out if there's no such dir - set - $(du -bs $1) + set - $(du -ks $1) echo $1 } fi Luca Tettamanti -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-rc5 Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Versions of packages localepurge depends on: ii debconf [debconf-2.0] 1.5.1 Debian configuration management sy ii debianutils 2.16.1 Miscellaneous utilities specific t ii dpkg 1.13.19 package maintenance system for Deb ii locales 2.3.999-1 GNU C Library: National Language ( ii procps 1:3.2.6-2.2 /proc file system utilities localepurge recommends no packages. -- debconf information: * localepurge/mandelete: true * localepurge/showfreedspace: true * localepurge/quickndirtycalc: true localepurge/remove_no: localepurge/none_selected: false * localepurge/nopurge: en, en_US, en_US.UTF-8, it, it_IT, [EMAIL PROTECTED] * localepurge/dontbothernew: false * localepurge/verbose: false
--- End Message ---
--- Begin Message ---Source: localepurge Source-Version: 0.5.4 We believe that the bug you reported is fixed in the latest version of localepurge, which is due to be installed in the Debian FTP archive: localepurge_0.5.4.dsc to pool/main/l/localepurge/localepurge_0.5.4.dsc localepurge_0.5.4.tar.gz to pool/main/l/localepurge/localepurge_0.5.4.tar.gz localepurge_0.5.4_all.deb to pool/main/l/localepurge/localepurge_0.5.4_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Paul Seelig <[EMAIL PROTECTED]> (supplier of updated localepurge package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Format: 1.7 Date: Tue, 06 Jun 2006 20:44:15 +0200 Source: localepurge Binary: localepurge Architecture: source all Version: 0.5.4 Distribution: unstable Urgency: low Maintainer: Paul Seelig <[EMAIL PROTECTED]> Changed-By: Paul Seelig <[EMAIL PROTECTED]> Description: localepurge - Automagically remove unnecessary locale data Closes: 369107 370293 Changes: localepurge (0.5.4) unstable; urgency=low . * Updated Czech translation po/cs.po sent in by Miroslav Kure (closes: #370293) . * Close bugreport by Luca Tettamanti about reporting freed space in bytes instead of KBytes. This was already resolved with upload of version 0.5.2 which was still waiting in the incoming queue when the bug was detected. (closes: #369107) Files: d9f75b11a9b46e50bc8a3ba4228a8919 613 admin optional localepurge_0.5.4.dsc d58bda5b728d38d6b185b8fff96901a3 37171 admin optional localepurge_0.5.4.tar.gz 01a4f7cd83d95975839036cb4178c472 35306 admin optional localepurge_0.5.4_all.deb -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: latin1 iQCVAwUBRIXPZ+gqiw1XE3/lAQEC+wP+M5E4RAcCSPIwpUQp1utw/uwhez15JCs7 h/v4H6VjpnUYh8pkg/ujENg9n8Ss2nboM0Y0hZwdJx6NWD139vnoN7YPAEpu4Lt3 /q1nw0EhX3DeHG/1Emr5snRsENwyQNIsYW9ihBkeuy2sJ2UGr9IOD1gBYvsnZaPp LmvQStv7mSU= =idag -----END PGP SIGNATURE-----
--- End Message ---

