[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#349623: marked as done (tasksel: Use 'df -P' to support long device name)



Your message dated Tue, 24 Jan 2006 11:32:06 -0800
with message-id <E1F1Tte-0000Bp-0G@spohr.debian.org>
and subject line Bug#349623: fixed in tasksel 2.40
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Jan 2006 06:29:01 +0000
>From kmuto@topstudio.co.jp Mon Jan 23 22:29:01 2006
Return-path: <kmuto@topstudio.co.jp>
Received: from orochi.topstudio.co.jp
	([202.229.186.25] helo=mail.topstudio.co.jp ident=postfix)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1F1Hfp-0007BI-CQ
	for submit@bugs.debian.org; Mon, 23 Jan 2006 22:29:01 -0800
Received: from localhost (localhost [127.0.0.1])
	by mail.topstudio.co.jp (Postfix) with ESMTP id B5531222F87
	for <submit@bugs.debian.org>; Tue, 24 Jan 2006 15:28:56 +0900 (JST)
Received: from mail.topstudio.co.jp ([127.0.0.1])
	by localhost (hydra [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 29137-02 for <submit@bugs.debian.org>;
	Tue, 24 Jan 2006 15:28:56 +0900 (JST)
Received: from localhost.localdomain (cyclopus.topstudio-unet.ocn.ne.jp [192.168.1.3])
	by mail.topstudio.co.jp (Postfix) with ESMTP id 8F44E222F82
	for <submit@bugs.debian.org>; Tue, 24 Jan 2006 15:28:56 +0900 (JST)
Received: by localhost.localdomain (Postfix, from userid 1000)
	id DF6443067F9; Tue, 24 Jan 2006 15:28:55 +0900 (JST)
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tasksel: Use 'df -P' to support long device name
X-Debbugs-CC: Kenshi Muto <kmuto@debian.org>
From: Kenshi Muto <kmuto@debian.org>
User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.4 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <[🔎] 20060124062855.DF6443067F9@localhost.localdomain>
Date: Tue, 24 Jan 2006 15:28:55 +0900 (JST)
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at topstudio.co.jp
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Package: tasksel
Version: 2.39
Severity: normal

Hi,

I noticed one of test code of tasksel failed.

Jan 24 15:02:13 in-target: /usr/lib/tasksel/tests/desktop: line 63: [: 17%: integer expression expected

Problematic codes are here:
disk=$(df /usr | tail -1 | awk '{print $4}')
if [ "$disk" ] && [ "$disk" -ge "$(expr $min_disk \* 1024 \* 1024)" ]; then

This is because long device name, such as LVM, makes a result of 
'df' to 2 lines.
df /usr
/dev/mapper/Debian-root
                       2108500   673720  1327672 34% /

$4 becomes '34%' instead of 1327672.
Using 'df -P' (use POSIX style. stop breaking after long device name)
will solve this, I think.

Thanks,
-- 
Kenshi Muto
kmuto@debian.org

---------------------------------------
Received: (at 349623-close) by bugs.debian.org; 24 Jan 2006 19:42:12 +0000
>From katie@ftp-master.debian.org Tue Jan 24 11:42:12 2006
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1F1Tte-0000Bp-0G; Tue, 24 Jan 2006 11:32:06 -0800
From: Joey Hess <joeyh@debian.org>
To: 349623-close@bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#349623: fixed in tasksel 2.40
Message-Id: <E1F1Tte-0000Bp-0G@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 24 Jan 2006 11:32:06 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: tasksel
Source-Version: 2.40

We believe that the bug you reported is fixed in the latest version of
tasksel, which is due to be installed in the Debian FTP archive:

tasksel_2.40.dsc
  to pool/main/t/tasksel/tasksel_2.40.dsc
tasksel_2.40.tar.gz
  to pool/main/t/tasksel/tasksel_2.40.tar.gz
tasksel_2.40_all.deb
  to pool/main/t/tasksel/tasksel_2.40_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 349623@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated tasksel 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 ftpmaster@debian.org)


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

Format: 1.7
Date: Tue, 24 Jan 2006 14:20:34 -0500
Source: tasksel
Binary: tasksel
Architecture: source all
Version: 2.40
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 tasksel    - Tool for selecting tasks for installation on Debian system
Closes: 349623
Changes: 
 tasksel (2.40) unstable; urgency=low
 .
   [ Translations of debconf templates ]
     - Added Punjabi (Gurmukhi).
 .
   [ Translations of tasks ]
     - Updated Punjabi (Gurmukhi).
 .
   [ Translations of programs ]
     - Updated Punjabi (Gurmukhi).
 .
   [ Joey Hess ]
   * Use df -P to avoid line wrapped df. Closes: #349623
Files: 
 e0959d3bfd788f19330389040efcdc84 626 admin important tasksel_2.40.dsc
 e590605ac32c03d92ee504bdbdc0be21 257997 admin important tasksel_2.40.tar.gz
 082edcfe5fbe23d08eb110bb2c393df7 156442 admin important tasksel_2.40_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD1n5i2tp5zXiKP0wRAmROAKCzv4NH3QiBYiwmqV9XK7/ug79qAgCfY7x+
2lx/S6V26X6iH0Jd3IqOxi4=
=gGzV
-----END PGP SIGNATURE-----



Reply to: