Debian Bug report logs - #225483
should use --db to speed up apt-ftparchive

version graph

Package: mini-dinstall; Maintainer for mini-dinstall is Christoph Goehre <christoph.goehre@gmx.de>; Source for mini-dinstall is src:mini-dinstall (PTS, buildd, popcon).

Reported by: Joey Hess <joeyh@debian.org>

Date: Tue, 30 Dec 2003 04:18:03 UTC

Severity: wishlist

Found in version 0.6.12

Fixed in version mini-dinstall/0.6.25

Done: Christoph Goehre <christoph.goehre@gmx.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Graham Wilson <graham@debian.org>:
Bug#225483; Package mini-dinstall. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joey@kitenet.net>:
New Bug report received and forwarded. Copy sent to Graham Wilson <graham@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joey@kitenet.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: should use --db to speed up apt-ftparchive
Date: Mon, 29 Dec 2003 21:07:21 -0500
[Message part 1 (text/plain, inline)]
Package: mini-dinstall
Version: 0.6.12
Severity: wishlist

It takes mini-dinstall a long time to run on my laptop. This may be
because I have some huge packages in the repository. The --db flag of
apt-ftparchive can speed it up a lot:

joey@dragon:~/lib/debian>time apt-ftparchive packages unstable >|/dev/null
0.38user 0.21system 0:00.58elapsed 101%CPU (0avgtext+0avgdata 0maxresident)k
joey@dragon:~/lib/debian>time apt-ftparchive packages unstable --db my.db>|/dev/null
2.11user 0.59system 0:02.88elapsed 93%CPU (0avgtext+0avgdata 0maxresident)k
joey@dragon:~/lib/debian>time apt-ftparchive packages unstable --db my.db>|/dev/null
0.06user 0.00system 0:00.06elapsed 86%CPU (0avgtext+0avgdata 0maxresident)k

As you can see there is a little bit of overhead to prime the db, but once
it's set up, things are *much* faster. This works for sources generation too.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dragon 2.4.23 #1 Wed Dec 17 13:50:20 EST 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages mini-dinstall depends on:
ii  apt-utils                     0.6.1      APT utility programs
ii  python                        2.3.3-1    An interactive high-level object-o
ii  python-apt                    0.6.0      Python interface to libapt-pkg

-- no debconf information

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Graham Wilson <graham@debian.org>:
Bug#225483; Package mini-dinstall. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joey@kitenet.net>:
Extra info received and forwarded to list. Copy sent to Graham Wilson <graham@debian.org>. (full text, mbox, link).


Message #10 received at 225483@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joey@kitenet.net>
To: 225483@bugs.debian.org
Subject: correction
Date: Tue, 30 Dec 2003 09:37:11 -0500
[Message part 1 (text/plain, inline)]
--db does not speed up sources generation, and is ignored for that.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Message sent on to Joey Hess <joey@kitenet.net>:
Bug#225483. (full text, mbox, link).


Message #13 received at 225483-submitter@bugs.debian.org (full text, mbox, reply):

From: Thomas Viehmann <tv@beamnet.de>
To: 225483-submitter@bugs.debian.org
Subject: So what about --db?
Date: Wed, 23 Jun 2004 19:12:25 +0200
[Message part 1 (text/plain, inline)]
Hi Joey,

I take your bug and comment as the suggestion to add --db to the calls
to apt-ftparchive and expect a speedup in generation of Packages, but
not Sources files.
Is this correct?
If that's the case, I guess it would be easy to (optionally, maybe),
call with db.

Cheers

T.
-- 
Thomas Viehmann, Debian mini-dinstall maintainer,
<http://thomas.viehmann.net/>
[Message part 2 (application/pgp-signature, inline)]

Information stored:
Bug#225483; Package mini-dinstall. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and filed, but not forwarded. (full text, mbox, link).


Message #18 received at 225483-quiet@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: Thomas Viehmann <tv@beamnet.de>, 225483-quiet@bugs.debian.org
Cc: 225483-submitter@bugs.debian.org
Subject: Re: Bug#225483: So what about --db?
Date: Wed, 23 Jun 2004 13:38:39 -0400
[Message part 1 (text/plain, inline)]
Thomas Viehmann wrote:
> I take your bug and comment as the suggestion to add --db to the calls
> to apt-ftparchive and expect a speedup in generation of Packages, but
> not Sources files.
> Is this correct?
> If that's the case, I guess it would be easy to (optionally, maybe),
> call with db.

That's right.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Message sent on to Joey Hess <joey@kitenet.net>:
Bug#225483. (full text, mbox, link).


Changed Bug submitter from Joey Hess <joey@kitenet.net> to Joey Hess <joeyh@debian.org>. Request was from Joey Hess <joeyh@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Christoph Goehre <christoph.goehre@gmx.de>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Joey Hess <joeyh@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #28 received at 225483-close@bugs.debian.org (full text, mbox, reply):

From: Christoph Goehre <christoph.goehre@gmx.de>
To: 225483-close@bugs.debian.org
Subject: Bug#225483: fixed in mini-dinstall 0.6.25
Date: Sat, 28 Jun 2008 20:47:18 +0000
Source: mini-dinstall
Source-Version: 0.6.25

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

mini-dinstall_0.6.25.dsc
  to pool/main/m/mini-dinstall/mini-dinstall_0.6.25.dsc
mini-dinstall_0.6.25.tar.gz
  to pool/main/m/mini-dinstall/mini-dinstall_0.6.25.tar.gz
mini-dinstall_0.6.25_all.deb
  to pool/main/m/mini-dinstall/mini-dinstall_0.6.25_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 225483@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Goehre <christoph.goehre@gmx.de> (supplier of updated mini-dinstall 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.8
Date: Sat, 28 Jun 2008 19:15:56 +0200
Source: mini-dinstall
Binary: mini-dinstall
Architecture: source all
Version: 0.6.25
Distribution: unstable
Urgency: low
Maintainer: Christoph Goehre <christoph.goehre@gmx.de>
Changed-By: Christoph Goehre <christoph.goehre@gmx.de>
Description: 
 mini-dinstall - daemon for updating Debian packages in a repository
Closes: 225483 336232
Changes: 
 mini-dinstall (0.6.25) unstable; urgency=low
 .
   * add experimental release support to Release file. Thanks to Stephan
     Suerken (Closes: #336232)
   * use '--db' to speed up apt-ftparchive run (Closes: #225483)
   * check new Checksums-* fields in .dsc and .changes
   * adjust manpage format and Standards-Version
Checksums-Sha1: 
 992dbbc08bc0ba1aa83fbdbafefb1a718b37cd9a 955 mini-dinstall_0.6.25.dsc
 11fd7b26a0aecc0eba0b2654aef510464028fdac 44218 mini-dinstall_0.6.25.tar.gz
 5c207e7a257f8228d3475aba3d82ee8d023d2a3e 42974 mini-dinstall_0.6.25_all.deb
Checksums-Sha256: 
 6d89f48f44bd20b7480e4d14828d37b64c5c8721e6d018abc078a01a01f0b94d 955 mini-dinstall_0.6.25.dsc
 a01cf3790b4862f21b05be64ee31ee541dffa3eed56ad5f70d4215d3f6de2204 44218 mini-dinstall_0.6.25.tar.gz
 1653af0458e90ce037061c8edf054aea0e289fccfa3a652ce6e88b02e9209da8 42974 mini-dinstall_0.6.25_all.deb
Files: 
 42896b747fdb4167084260d1ecad99a1 955 devel optional mini-dinstall_0.6.25.dsc
 6bef92a91fdf5df9656af6e1070550e9 44218 devel optional mini-dinstall_0.6.25.tar.gz
 d0791091a5d9a31606563b4c8bd3d196 42974 devel optional mini-dinstall_0.6.25_all.deb

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

iD8DBQFIZp3Pn88szT8+ZCYRArGjAJ9r7i4scfyRFp7eEjDcGfhzVyc63gCfWdTf
P8IZcwr7toqyT3yA1YnYi2I=
=ynXA
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 07 Aug 2008 07:34:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Aug 14 22:19:40 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.