*BSD News Article 94561


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!news.apfel.de!fu-berlin.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!not-for-mail
From: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Installing Packages, Help!
Date: 27 Apr 1997 17:53:52 GMT
Organization: University of Karlsruhe, Germany
Lines: 44
Sender: Philipp Mergenthaler <un1i@ab223.rz.uni-karlsruhe.de>
Message-ID: <5k03rg$b7c$2@nz12.rz.uni-karlsruhe.de>
References: <Pine.SUN.3.95.970424121819.16241A-100000@garcia.efn.org> <5jql10$laq$1@nz12.rz.uni-karlsruhe.de> <slrn5m4uah.aat.ripley@nortobor.nostromo.in-berlin.de>
NNTP-Posting-Host: ab223.rz.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-User: un1i
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970409; AIX 4.1]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39836


 H. Eckert <ripley@nostromo.in-berlin.de> wrote:
> un1i@rz.uni-karlsruhe.de (Philipp Mergenthaler):
> > The reason is probably that DOS cuts name to its 8+3 character format, [...]
> > Solution: copy the file from the dos partition to e.g. /tmp, rename it to
> > its original name, and then run pkg_add.

> Renaming isn't really neccessary at all if you have to resort to
> manually running pkg_add anyway (because you can't access the
> package from within the sysinstall menu).

From the original article I had the impression that he uses dos to copy
packages to a dos partition/floppy, then reboots with FreeBSD and tries to
install them. And on my system (2.2-GAMMA) renaming is necessary, if an
extension like ".tgz" has been cut off (which usually happens, when you
store them on a dos partition/floppy):

/tmp# ll
total 76
drwxrwxrwt   3 bin   bin      512 Apr 27 19:27 .
drwxr-xr-x  21 root  wheel    512 Mar 20 12:27 ..
-r--r--r--   1 root  bin       11 Apr 26 22:26 .X0-lock
drwxrwxrwx   2 root  bin      512 Apr 26 22:26 .X11-unix
-rw-r--r--   1 root  bin    16950 Apr 27 19:27 a2ps-4.3
-rw-r--r--   1 p     bin    16950 Apr 27 19:26 a2ps-4.3.tgz
/tmp# pkg_add a2ps-4.3
tar: Hmm, this doesn't look like a tar archive.
tar: Skipping to next file header...
tar: only read 6710 bytes from archive /tmp/a2ps-4.3
Tar extract of /tmp/a2ps-4.3 failed!
Unable to extract table of contents file from `/tmp/a2ps-4.3' - not a package?.
/tmp#
/tmp# pkg_add a2ps-4.3.tgz             
missing: ./man/skel (created)
/tmp#  which a2ps
/usr/local/bin/a2ps
/tmp#

Bye, Philipp

-- 
P. Mergenthaler, un1i@rz.uni-karlsruhe.de  |  Wer halb gebildet, ist der
Tel.: 0721/694532                          |     schoenste Narr.
Klosterweg 28 / I609, 76131 Karlsruhe      | (Weiss jemand, von wem das ist?)
http://www.uni-karlsruhe.de/~un1i/         |