Debian bug report logs - #1138
ncurses-runtime preinst unnecessarily slow

Package: ncurses-runtime; Reported by: iwj10@cus.cam.ac.uk (Ian Jackson); 102 days old.

Message received at debian-bugs:


From pixar.com!bruce Mon Jul 24 11:32:52 1995
Return-Path: <bruce@pixar.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0saSJA-0005TGC; Mon, 24 Jul 95 11:32 PDT
Received: from mongo.pixar.com by pixar.com with SMTP id AA25708
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 24 Jul 1995 11:31:18 -0700
Received: by mongo.pixar.com (Smail3.1.28.1 #15)
	id m0saSHY-0005TGC; Mon, 24 Jul 95 11:31 PDT
Message-Id: <m0saSHY-0005TGC@mongo.pixar.com>
X-Mailer: exmh version 1.6.2 7/18/95
To: iwj10@cus.cam.ac.uk (Ian Jackson), debian-bugs@Pixar.com
Cc: bruce@Pixar.com
Subject: Re: Bug#1138: ncurses-runtime preinst unnecessarily slow
In-Reply-To: Your message of "Fri, 21 Jul 1995 21:27:00 PDT."
             <m0sZOf3-0002XVZ@chiark.al.cl.cam.ac.uk> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 24 Jul 1995 11:31:12 -0700
From: Bruce Perens <bruce@Pixar.com>


iwj10@cus.cam.ac.uk said:
ncurses-runtime preinst unnecessarily slow 
> This is more efficiently done as:  find /usr/lib/terminfo ! -name 
> '*.dpkg-tmp' -type -f -print0 | \ 	xargs -r0 rm --

Hrmph. You young whipper-snappers want everything to be fast. You don't know 
how easy you have it. When I was young, I walked to school a half-mile in the 
snow. And then the only computer terminal they had in the whole school was a 
teletype
ASR-33 connected to the county computer at 300 Baud that you could use to 
write BASIC programs with no graphics. And they wouldn't let you learn BASIC 
until you'd taken calculus. Do you think that computer was fast? Why should I 
make ncurses-runtime install faster for you young punks? I waited for it to 
install, and so should you!

	Bruce :-)
--
-- Attention Ham Radio Operators: For information on "Linux for Hams", read
-- the World Wide Web page http://www.hams.com/perens/LinuxForHams, or send
-- an e-mail message containing the word "help" to info@hams.com .


Acknowledgement sent to Bruce Perens <bruce@Pixar.com>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1138; Package ncurses-runtime. Full text available.

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Fri Jul 21 16:06:50 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sZR9e-000B81C; Fri, 21 Jul 95 16:06 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA15712
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Fri, 21 Jul 1995 16:05:12 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0sZQ2h-000C0eC; Fri, 21 Jul 95 22:55 BST
Received: by chiark
	id <m0sZOf3-0002XVZ@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.32); Fri, 21 Jul 95 21:27 BST
Message-Id: <m0sZOf3-0002XVZ@chiark.al.cl.cam.ac.uk>
Date: Fri, 21 Jul 95 21:27 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: ncurses-runtime preinst unnecessarily slow

Package: ncurses-runtime
Version: 1.9.3-0

] # Tar can't cope with existing links (there are a lot) in /usr/lib/terminfo.
] echo "This will take several minutes..."
] find /usr/lib/terminfo -! -name '*.dpkg-tmp' -type f -exec rm -f '{}' \;

This is more efficiently done as:
 find /usr/lib/terminfo ! -name '*.dpkg-tmp' -type -f -print0 | \
	xargs -r0 rm --

(Incidentally, the new C version of dpkg has no trouble overwriting
symlinks, so this kludge code will be able to go away eventually.)

Ian.

Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson):
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1138; Package ncurses-runtime. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov