From owner-freebsd-questions Tue Sep 5 16:35:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom2-235.telepath.com [216.14.2.235]) by hub.freebsd.org (Postfix) with SMTP id 539DA37B423 for ; Tue, 5 Sep 2000 16:35:43 -0700 (PDT) Received: (qmail 76190 invoked by uid 100); 5 Sep 2000 23:35:05 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14773.33577.842372.439782@guru.mired.org> Date: Tue, 5 Sep 2000 18:35:05 -0500 (CDT) To: questions@freebsd.org Cc: jkh@freebsd.org Subject: Re: Installing CD packages to HD? In-Reply-To: <6536344@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Konrad Heuer writes: > On Tue, 5 Sep 2000, Francisco Reyes wrote: > > I now have a computer with enough HD to copy all packages that > > come on the 4.1 CD > > How do I go about it? My only concern are the indexes. I know I > > could just copy the files, but I am concerned that the packages > > may not be right if I just copy. > If you really want - this loop should do: > > cd /cdrom/packages/All > foreach pkg ( *.tgz ) > pkg_add $pkg > end This is *not* a good idea. Many of the packages have multiple variations that will overwrite each other in strange ways if you do that. Besides, I assumed he wanted the *package* files on disk, not the packages installed (a "copy" of them). You an do that by copying all the files in packages/All on each disk to a single directory. The index files aren't used by the software, so this still works. > > Also where are the "distfiles" for the ports? Where these > > replaced by the packages? > No; the "distfiles" are on CD #4. Not on the 4.1 RELEASE CD set, they're not: guru$ cat /cdrom/README.TXT You are looking at CD #4. It contains: packages extra packages - to use, simply mount this CDROM and ``cd packages/All; pkg_add desired-package.tgz'' OR type ``/stand/sysinstall configPackages'' and select CDROM as the media type (in which case you do NOT need to mount the CDROM first, just put it in the drive). I believe the 4.0-RELEASE cdrom was equally damaged. Personally, I *hate* this. Since I build ports with LOCALBASE=/usr/opt, the packages are useless. Since the distfiles can be used to create the packages, but not vice versa, this is a loss in functionality. My use of the things is now restricted to dealing with -questions (as above), and making copies for friends who otherwise wouldn't look at FreeBSD.