From owner-freebsd-current Sun Mar 5 00:15:54 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA28898 for current-outgoing; Sun, 5 Mar 1995 00:15:54 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id AAA28884 for ; Sun, 5 Mar 1995 00:15:45 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA10525; Sun, 5 Mar 1995 09:12:54 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id JAA07786 for freebsd-current@FreeBSD.org; Sun, 5 Mar 1995 09:12:54 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.9/8.6.9) id JAA07677 for freebsd-current@FreeBSD.org; Sun, 5 Mar 1995 09:12:28 +0100 From: J Wunsch Message-Id: <199503050812.JAA07677@uriah.heep.sax.de> Subject: Re: pkg_add/delete bug? To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Sun, 5 Mar 1995 09:12:27 +0100 (MET) In-Reply-To: from "Brian Tao" at Mar 5, 95 03:29:11 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 753 Sender: current-owner@FreeBSD.org Precedence: bulk As Brian Tao wrote: > > I grabbed top-3.3beta4.tgz and decided to try pkg_add on it (I > usually compile stuff from scratch, so pkg_add is new for me). I forgot > I had 'top' running in another window, so this is what I get: > > # pkg_add top-3.3beta4.tgz > tar: Could not create file bin/top : Text file busy > [go to the other window to quit 'top'] Before Terry jumps in and proposes us again to store a copy of any executable in swap :^), well, perhaps pkg_add should simply use install(1) to install the binary? This is supposed to take care of ETXTBSY (by renaming/unlinking the old binary). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)