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

Bug#43724: marked as done ([OLD PROPOSAL] experimental patch for very much faster dpkg -R)



Your message dated Sun, 28 Mar 2004 17:45:26 +0200
with message-id <20040328154526.GD25294@mails.so.argh.org>
and subject line Has been fixed for more than six month
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; 30 Aug 1999 01:00:27 +0000
Received: (qmail 1812 invoked from network); 30 Aug 1999 01:00:26 -0000
Received: from chiark.greenend.org.uk (mail@195.224.76.132)
  by master.debian.org with SMTP; 30 Aug 1999 01:00:26 -0000
Received: from 37c9d768.35374.57c0.4.bsmtp.davenant.greenend.org.uk by chiark.greenend.org.uk with local-bsmtp (Exim 2.02 #1)
	id 11LFo9-0005v2-00 (Debian); Mon, 30 Aug 1999 02:00:25 +0100
Received: from ian by davenant.greenend.org.uk with local (Exim 2.125 #2)
	id 11LEnS-0001vB-00 (Debian); Mon, 30 Aug 1999 00:55:38 +0100
From: Ian Jackson <ian@davenant.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14281.51321.968678.89715@davenant.relativity.greenend.org.uk>
Date: Mon, 30 Aug 1999 00:55:37 +0100 (BST)
To: submit@bugs.debian.org
X-Debian-Cc: Richard Kettlewell <rjk@sfere.greenend.org.uk>,
             debian-dpkg@lists.debian.org
Subject: Re: experimental patch for very much faster dpkg -R
Newsgroups: chiark.mail.debian.dpkg
In-Reply-To: <14262.44512.7683.552280@lyonesse.relativity.greenend.org.uk>
References: <14262.44512.7683.552280@lyonesse.relativity.greenend.org.uk>
X-Mailer: VM 6.62 under Emacs 19.34.1

Package: policy-manual
Version: not known

Richard Kettlewell writes ("experimental patch for very much faster dpkg -R"):
> Below is a patch against Ian's CVS tree which can massively accelerate
> the `dpkg -iGROEB' call from the disk method of dselect (and
> elsewhere).
> 
> It works by parsing filenames to determine whether it can skip
> particular files, instead of looking inside them.  When most of the
> packages on your system are up to date, it leads to an enormous
> speedup, as instead of opening and parsing thousands of *.deb files it 
> just does a bit of work on the filenames.

I think this is a good patch, and I'd always intended something like
it.  Richard observes ...

> In this version there are two special rules that you must follow:
...
   [ the first rule is uninteresting -iwj ]
> 
>  * Secondly, all version numbers must be unique EXCLUDING THE EPOCH.
>    What this means is that if you have two instances of a package where
>    the version number differs only in the epoch, you will get files
>    ignored when possibly they should not be.
> 
>    I do not know how many packages this effects.  Hopefully it is none
>    at all.  Clearly it is possible for it to be none at all, since we
>    have the Debian-specific revision field.
> 
>    If this patch is adopted then either (1) the rule must become
>    mandatory or (2) all filenames must be modified to include the
>    epoch and this patch adjusted to take advantage of this.
> 
>    Other package management tools would benefit from this too, I
>    imagine.

I think this is a reasonable requirement.  It means that it is
possible, given a mirror which preserves filenames (which is pretty
much essential given the way the other methods use the Packages
information), to determine from a file listing which files to install.

I don't think we should put the epochs in filenames because (a) it
could be confusing to the users and (b) : is a filename metacharacter
in some contexts, notably rcp and friends and most path list
syntaxes.  (In some of these cases there is no quoting mechanism for :
which is bad but we have to deal with it.)

We should observe that the requirement for uniqueness only applies for
the possible skew between Packages file and mirrors (in practice, a
few months even with the worst mirrors), because it's only necessary
that dpkg can tell whether the file is the same one as named in the
Packages file for it to be able to skip it.

I plan to release a version of dpkg which has had this patch applied,
or something very similar.

I therefore propose that the policy manual be amended to require that
package version numbers be unique, even not counting the epoch, within
a period of three months.

Ian.
---------------------------------------
Received: (at 43724-done) by bugs.debian.org; 28 Mar 2004 15:45:29 +0000
>From aba@not.so.argh.org Sun Mar 28 07:45:29 2004
Return-path: <aba@not.so.argh.org>
Received: from mail-in.m-online.net [62.245.150.237] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B7cTY-0007Po-00; Sun, 28 Mar 2004 07:45:28 -0800
Received: from mail.m-online.net (svr14.m-online.net [192.168.3.144])
	by svr8.m-online.net (Postfix) with ESMTP id 6FA634BF4E;
	Sun, 28 Mar 2004 17:45:27 +0200 (CEST)
Received: from sol.so.argh.org (ppp-82-135-4-50.mnet-online.de [82.135.4.50])
	by mail.m-online.net (Postfix) with ESMTP id 2A8636AA10;
	Sun, 28 Mar 2004 17:45:27 +0200 (CEST)
Received: from aba by sol.so.argh.org with local (Exim 4.22 #1 (Debian) [+prerelease])
	id 1B7cTW-00076R-AV; Sun, 28 Mar 2004 17:45:26 +0200
Date: Sun, 28 Mar 2004 17:45:26 +0200
From: Andreas Barth <aba@not.so.argh.org>
To: 23661-done@bugs.debian.org, 27205-done@bugs.debian.org,
	33251-done@bugs.debian.org, 36151-done@bugs.debian.org,
	37999-done@bugs.debian.org, 39125-done@bugs.debian.org,
	42870-done@bugs.debian.org, 43724-done@bugs.debian.org,
	51473-done@bugs.debian.org, 54985-done@bugs.debian.org,
	62768-done@bugs.debian.org, 63598-done@bugs.debian.org,
	65578-done@bugs.debian.org, 71805-done@bugs.debian.org,
	78014-done@bugs.debian.org, 79541-done@bugs.debian.org,
	82595-done@bugs.debian.org, 83669-done@bugs.debian.org,
	85500-done@bugs.debian.org, 88058-done@bugs.debian.org,
	100586-done@bugs.debian.org, 101162-done@bugs.debian.org,
	102917-done@bugs.debian.org, 109171-done@bugs.debian.org,
	119559-done@bugs.debian.org, 191036-done@bugs.debian.org,
	197835-done@bugs.debian.org
Subject: Has been fixed for more than six month
Message-ID: <20040328154526.GD25294@mails.so.argh.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-Editor: Vim http://www.vim.org/
Delivered-To: 43724-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=-2.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Hi,

this bug was set to the status "fixed" more than six month ago, so I'm
closing it now. For an announcement of this, see
http://lists.debian.org/debian-policy/2004/debian-policy-200403/msg00042.html


Cheers,
Andi
-- 
   http://home.arcor.de/andreas-barth/
   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C



Reply to: