Debian Bug report logs - #4448
dselect: Performance gripe with disk method doing dpkg -iGROEB

Package: dselect; Maintainer for dselect is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dselect is src:dpkg (PTS, buildd, popcon).

Reported by: Barak.Pearlmutter@alumni.cs.cmu.edu

Date: Mon, 9 Sep 1996 03:33:05 UTC

Severity: wishlist

Merged with 6039, 7056, 7181, 8340, 10520, 11800, 12667

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-devel@lists.debian.org, Ian Jackson <ian@chiark.chu.cam.ac.uk>:
Bug#4448; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Barak.Pearlmutter@alumni.cs.cmu.edu:
New bug report received and forwarded. Copy sent to Ian Jackson <ian@chiark.chu.cam.ac.uk>. (full text, mbox, link).


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

From: Barak Pearlmutter <bap@sloan.salk.edu>
To: submit@bugs.debian.org
Subject: dselect performance gripe
Date: Sun, 8 Sep 1996 20:09:36 -0700
Package: dpkg
Version: 1.2.14elf

When one fires up dselect, puts all packages on hold, chooses one tiny
little package to install --- say, jgraph --- then hits the big
install button ... it takes FOREVER as a long long list of "skipping
deselected package mumble ..."'s scrolls by at an agonizingly slow
pace.  This should not take so long.  And also (unless some internal
dselect extra verbosity switch is enabled) it's pretty useless
verbiage.

It seems to me that installing one package using dselect should be
about as pleasant and fast as installing it directly using dpkg (which
I am making a point of not learning, to preserve my purity as naive
debian critic).


Information forwarded to debian-bugs-dist@lists.debian.org, Barak.Pearlmutter@alumni.cs.cmu.edu, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#4448; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Harald Weidner <weidner@ifi.unizh.ch>:
Extra info received and forwarded to list. Copy sent to Barak.Pearlmutter@alumni.cs.cmu.edu, Ian Jackson <ian@chiark.greenend.org.uk>. (full text, mbox, link).


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

From: Harald Weidner <weidner@ifi.unizh.ch>
To: submit@bugs.debian.org
Subject: Re: Bug#4448: dselect performance gripe
Date: Mon, 18 Nov 1996 19:13:07 +0100 (MET)
> Package: dpkg
> Version: 1.2.14elf

> When one fires up dselect, puts all packages on hold, chooses one tiny
> little package to install --- say, jgraph --- then hits the big
> install button ... it takes FOREVER as a long long list of "skipping
> deselected package mumble ..."'s scrolls by at an agonizingly slow
> pace.  This should not take so long.  And also (unless some internal
> dselect extra verbosity switch is enabled) it's pretty useless
> verbiage.

This mail is a bit old, but still on list of outstanding bugs.

IMHO, the problem is the script /usr/lib/dpkg/methods/disk/install. 
It does a "dpkg -iGROEB" on the whole selected binary directory.
This can take _very_ long, especially with slow file systems like
nfs over SLIP oder ISDN, or a single speed CD ROM drive.

The ftp/install script is much more intelligent. It fetches only
the necessary packages to a local directory and does a "dpkg -iGROEB"
on the fetched files.

This leads to the conclusion that it is possible to determine
which packages are needed without having a look at all of them.
However, copying the files to a local directory is waste of disk
space when the files are accessible in the filesystem. So, my
proposition is to fix the disk/install script to calculate a
list of packages to process, and then do a "dpkg -iGOEB" on each
package (without the -R option) instead of scanning the whole
directory tree.

-- 
Harald Weidner           http://www.ifi.unizh.ch/staff/weidner.html


Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#4448; Package dpkg. (full text, mbox, link).


Acknowledgement sent to kai@khms.westfalen.de (Kai Henningsen):
Extra info received and forwarded to list. Copy sent to Ian Jackson <ian@chiark.greenend.org.uk>. (full text, mbox, link).


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

From: kai@khms.westfalen.de (Kai Henningsen)
To: submit@bugs.debian.org
Subject: Re: Bug#4448: dselect performance gripe
Date: 18 Nov 1996 23:54:00 +0200
weidner@ifi.unizh.ch (Harald Weidner)  wrote on 18.11.96 in <"josef.ifi..423:18.10.96.18.13.18"@ifi.unizh.ch>:

> IMHO, the problem is the script /usr/lib/dpkg/methods/disk/install.
> It does a "dpkg -iGROEB" on the whole selected binary directory.
> This can take _very_ long, especially with slow file systems like
> nfs over SLIP oder ISDN, or a single speed CD ROM drive.

Not only that, it does it separate for each of the binary directories. It  
can be fun finally understanding why some of your package selections have  
been ignored all the time ... NOT.

However, while this may well qualify as a bug, I do believe it's not the  
most important thing on earth.

> This leads to the conclusion that it is possible to determine
> which packages are needed without having a look at all of them.
> However, copying the files to a local directory is waste of disk
> space when the files are accessible in the filesystem. So, my
> proposition is to fix the disk/install script to calculate a
> list of packages to process, and then do a "dpkg -iGOEB" on each
> package (without the -R option) instead of scanning the whole
> directory tree.

Either (if it's possible, I'm not certain off my head) give all the  
packages as arguments to one call to dpkg, or (probably better) symlink  
them all into a working directory and dpkg -iGROEB that directory.


MfG Kai


Severity set to `wishlist'. Request was from Ian Jackson <ijackson@chiark.greenend.org.uk> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#4448; Package dpkg. (full text, mbox, link).


Acknowledgement sent to remco@blaakmeer.student.utwente.nl (Remco Blaakmeer):
Extra info received and forwarded to maintainer. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #22 received at 4448-maintonly@bugs.debian.org (full text, mbox, reply):

From: remco@blaakmeer.student.utwente.nl (Remco Blaakmeer)
To: 4448-maintonly@bugs.debian.org
Subject: Old bugs need to be looked at
Date: Sun, 1 Feb 1998 12:22:52 +0100 (CET)
This is an automated message sent to all bugs older than one year.

This bug is very old. Please take a look at it and see if you can fix it.
If it has already been fixed, please close it.

If you have problems fixing it or if you don't have the time to fix it,
please ask the people on debian-devel@lists.debian.org for help, so that
at least the oldest bugs can be solved before Debian 2.0 is released.

Remco Blaakmeer


Changed Bug title. Request was from Josip Rodin <joy@cibalia.gkvk.hr> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg' to `dselect'. Request was from Josip Rodin <joy@gkvk.hr> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title. Request was from Martin Quinson <mquinson@ens-lyon.fr> to control@bugs.debian.org. (full text, mbox, link).


Forcibly Merged 4448 6039 7056 7181 8340 10520 11800 12667. Request was from Bruce Sass <bmsass@shaw.ca> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title to 'dselect: Performance gripe with disk method doing dpkg -iGROEB' from '[PERF] dselect performance gripe (disk method doing dpkg -iGROEB)'. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Mon, 04 Mar 2019 21:45:18 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: Sat Apr 20 02:11:43 2024; 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.