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

Bug#248037: marked as done (package-versions is extremly slow)

Your message dated Mon, 6 Sep 2004 21:21:34 -0400
with message-id <20040907012134.GA24450@kitenet.net>
and subject line FWD: Fixed in NMU of bugreporter-udeb 1.00
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; 8 May 2004 18:19:04 +0000
>From tbm@cyrius.com Sat May 08 11:19:04 2004
Return-path: <tbm@cyrius.com>
Received: from sorrow.cyrius.com [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BMWPg-0006LB-00; Sat, 08 May 2004 11:19:04 -0700
Received: by sorrow.cyrius.com (Postfix, from userid 10)
	id 82E4364D3A; Sat,  8 May 2004 18:19:03 +0000 (UTC)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
	id 70B1FFF26; Sat,  8 May 2004 19:18:26 +0100 (BST)
Date: Sat, 8 May 2004 19:18:26 +0100
From: Martin Michlmayr <tbm@cyrius.com>
To: submit@bugs.debian.org
Subject: package-versions is extremly slow
Message-ID: <20040508181826.GA22481@deprecation.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-CrossAssassin-Score: 1

Package: bugreporter-udeb
Version: 0.25
Severity: wishlist

When I install d-i on something which is probasbly not the most modern
hardware, but still a usable system, the "Gathering information for
installation report" step takes ages.  I thought it is discover being
run, but I just found out it's package-versions... it takes about 50
seconds on this system... changing the script to use:

grep "^\(Package\|Version\):" /var/lib/dpkg/status | \

bring it down to about 10 seconds.

An even faster variant is:

grep "^\(Package\|Version\):" /var/lib/dpkg/status | sed -e 's/^[^:]+: //' | \
    while read package ; do
        read version
        echo "$package $version"

However, this won't work on a normal system because
/var/lib/dpkg/status may contain information about "Package:", but
not "Version:".  However, I think on d-i we always have Package +
Version because nothing is being removed.

In any case, package-versions is definitely a case where optimization
would help.
Martin Michlmayr

Received: (at 248037-done) by bugs.debian.org; 7 Sep 2004 01:21:08 +0000
>From joey@kitenet.net Mon Sep 06 18:21:08 2004
Return-path: <joey@kitenet.net>
Received: from kitenet.net [] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C4UfS-0001qA-00; Mon, 06 Sep 2004 18:21:06 -0700
Received: from dragon.kitenet.net (unknown [])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "Joey Hess", Issuer "Joey Hess" (verified OK))
	by kitenet.net (Postfix) with ESMTP id F261818349
	for <248037-done@bugs.debian.org>; Tue,  7 Sep 2004 01:21:04 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
	id 305456E0B4; Mon,  6 Sep 2004 21:21:34 -0400 (EDT)
Date: Mon, 6 Sep 2004 21:21:34 -0400
From: Joey Hess <joeyh@debian.org>
To: 248037-done@bugs.debian.org
Subject: FWD: Fixed in NMU of bugreporter-udeb 1.00
Message-ID: <20040907012134.GA24450@kitenet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040818i
Delivered-To: 248037-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,VALID_BTS_CONTROL 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

----- Forwarded message from Joey Hess <joeyh@debian.org> -----

=46rom: Joey Hess <joeyh@debian.org>
Date: Mon, 06 Sep 2004 21:02:03 -0400
To: control@bugs.debian.org
Cc: Joey Hess <joeyh@debian.org>,
	Debian Install System Team <debian-boot@lists.debian.org>
Subject: Fixed in NMU of bugreporter-udeb 1.00

tag 248037 + fixed


This message was generated automatically in response to a
non-maintainer upload.  The .changes file follows.

Hash: SHA1

Format: 1.7
Date: Mon,  6 Sep 2004 20:47:55 -0400
Source: bugreporter-udeb
Binary: bugreporter-udeb
Architecture: source all
Version: 1.00
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
 bugreporter-udeb - Save logs and configuration to floppy for debug purpose=
s (udeb)
Closes: 248037
 bugreporter-udeb (1.00) unstable; urgency=3Dlow
   * Petter Reinholdtsen
     - Avoid calling package-version in prebaseconfig.d script, as it
       is very slow. Copy the status file instead. (Closes: #248037)
   * Updated translations:
     - Arabic (ar.po) by Ossama M. Khayat
     - Bulgarian (bg.po) by Ognyan Kulev
     - Bosnian (bs.po) by Safir =C5=A0e=C4=87erovi=C4=87
     - Catalan (ca.po) by Jordi Mallach
     - Czech (cs.po) by Miroslav Kure
     - Welsh (cy.po) by Dafydd Harries
     - Danish (da.po) by Claus Hindsgaul
     - Greek, Modern (1453-) (el.po) by Konstantinos Margaritis
     - Spanish (Castilian) (es.po) by Javier Fernandez-Sanguino Pe=C3=B1a
     - Basque (eu.po) by Piarres Beobide Ega=C3=B1a
     - Finnish (fi.po) by Tapio Lehtonen
     - French (fr.po) by French Team
     - Hebrew (he.po) by Lior Kaplan
     - Croatian (hr.po) by Krunoslav Gernhard
     - Japanese (ja.po) by Kenshi Muto
     - Korean (ko.po) by Changwoo Ryu
     - Lithuanian (lt.po) by K=C4=99stutis Bili=C5=ABnas
     - Latvian (lv.po) by Aigars Mahinovs
     - B=C3=B8kmal, Norwegian (nb.po) by Bj=C3=B8rn Steensrud
     - Norwegian Nynorsk (nn.po) by H=C3=A5vard Korsvoll
     - Polish (pl.po) by Bartosz Fenski
     - Russian (ru.po) by Yuri Kozlov
     - Slovak (sk.po) by Peter KLFMANiK Mann
     - Slovenian (sl.po) by Matjaz Horvat
     - Turkish (tr.po) by Recai Okta=C5=9F
     - Simplified Chinese (zh_CN.po) by Carlos Z.F. Liu
 28c9d4e6c2ce177b2e6f532d6ca8352a 636 debian-installer standard bugreporter=
 15cc11fd82d531ecc8c2c01a73dc0f74 27820 debian-installer standard bugreport=
 ec7788d4dc77ab0f8a873a36687339d1 16204 debian-installer standard bugreport=
package-type: udeb

Version: GnuPG v1.2.5 (GNU/Linux)


----- End forwarded message -----

see shy jo

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.2.5 (GNU/Linux)



Reply to: