Date: Tue, 5 Sep 2000 18:35:05 -0500 (CDT) From: Mike Meyer <mwm@mired.org> To: questions@freebsd.org Cc: jkh@freebsd.org Subject: Re: Installing CD packages to HD? Message-ID: <14773.33577.842372.439782@guru.mired.org> In-Reply-To: <6536344@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
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. <mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14773.33577.842372.439782>