Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2006 13:18:44 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        James Smallacombe <james@pil.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Copying binaries to new server
Message-ID:  <20061024181844.GD53901@dan.emsphone.com>
In-Reply-To: <Pine.BSF.4.44.0610241411130.55341-100000@richard2.pil.net>
References:  <453E36F5.70102@mikestammer.com> <Pine.BSF.4.44.0610241411130.55341-100000@richard2.pil.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 24), James Smallacombe said:
> Here's another issue I just ran into while trying to do just that, using tar:
> 
> su-2.05b# tar xpPvfz
> <snip thousands of lines>
> x /usr/lib/libypclnt.so
> x /usr/lib/libalias.a
> x /usr/lib/libalias.so
> x /usr/lib/libarchive.a
> x /usr/lib/libarchive.so.2Bus error: 10 (core dumped)
> 
> I take it the core dump occured because I was trying to overwrite a lib that
> was in use by tar, right?  Is there a good way around this?

You can try the -U option, which will unlink existing files before
creating the new version.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061024181844.GD53901>