From owner-freebsd-current Mon May 22 11:38:37 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA01723 for current-outgoing; Mon, 22 May 1995 11:38:37 -0700 Received: from vmbb.cts.com (vmbb.cts.com [192.188.72.18]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id LAA01717 for ; Mon, 22 May 1995 11:38:36 -0700 Received: from io.cts.com by vmbb.cts.com with smtp (Smail3.1.28.1 #9) id m0sDcN7-0000lzC; Mon, 22 May 95 11:38 PDT Received: (from root@localhost) by io.cts.com (8.6.11/8.6.9) id LAA04313 for current@freebsd.org; Mon, 22 May 1995 11:38:47 -0700 From: Morgan Davis Message-Id: <199505221838.LAA04313@io.cts.com> Subject: Bug in tar or ...? To: current@FreeBSD.org Date: Mon, 22 May 1995 11:38:46 -0700 (PDT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1368 Sender: current-owner@FreeBSD.org Precedence: bulk I'm running -current as of 5/20. In attempting to install the emacs-19.28.tgz package from freebsd.org using pkg_manage, I ran into some problems: 1. pkg_manage does not remove older packages from the /var/db/pkg directory (I wanted to emove emacs 19.27). I had to manually delete that directory. (This has happened before) 2. pkg_manage reported that the emacs-19.28.tgz package required 93 MB to install (93xxx kB). This didn't sound right at all, because 19.27 was roughly the same size and fit just fine. (At first I though maybe it contained the sources, too). 3. pkg_add also reported not enough space to install it. I decided to use 'tar tzvf' to inspect the tar file and noticed that it had two entries for the emacs-19.28 binary, and began looping with an apparently infinite listing of files. When I saw the same library and elisp files listed for the third time, I knew something was wrong. The FTP transfer was without error. So I'm wondering if there is a bug in tar in current on large archives, or if the package on freebsd.org or my end is corrupted. cksum gives me: 2453133443 27136131 emacs-19.28.tgz P.S. pkg_manage's delete feature did not appear to remove anything other than the emacs executable. The /usr/local/lib/emacs/19.27 directory and all the files remained following the pkg_manage delete attempt.