From owner-freebsd-questions Thu Oct 11 9:42:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 2BFCE37B408 for ; Thu, 11 Oct 2001 09:42:15 -0700 (PDT) Received: (qmail 37237 invoked by uid 100); 11 Oct 2001 16:42:14 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15301.52198.603878.165954@guru.mired.org> Date: Thu, 11 Oct 2001 11:42:14 -0500 To: "Clarence Brown" Cc: questions@freebsd.org Subject: Re: how to use sysinstall or pkg_add In-Reply-To: <46472108@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Clarence Brown types: > OK, I'm stuck and frustrated on what should be a > simple step. As recommended in the handbook, I'm > trying to add the cvsupit package so I can update to > the latest stable release. I'm starting from the 4.3 CD > set, assuming that much of the source might be the > same reducing the amount of code transferred with CVS > > I'm just trying to add a package off of the installation > CD as recommended by the Handbook, this is supposed > to be easy, RIGHT?? Yes, they are. But you do *not* want cvsup from the 4.3 CD set. It's got an S1G bug and so won't work. > 1. How am I supposed to add the cvsupit package > from the 4.3 install CD using /stand/sysinstall? Don't. As to why it broke - I suspect it hung waiting for you to answer the questions that were asked when you ran pkg_add directly. > 2. If I can't use sysinstall and must manually run > pkg_add, where should I execute the pkg_add command > from? Do I change to the directory that contains the > *.tgz package file? pkg_add will work properly from anywhere so long as you give it the proper file name. I'm not positive about fetching dependencies, as I always use ports instead of packages. > 3. Why does the pkg_add command ask me > questions about which branch to update my source > tree from? I'm NOT trying to update my source tree > at all yet. I thought I understood that adding a > package involved installing a precompiled binary, > not updating a source tree. The only reason I could > see to update the source tree would be in the ports > process where the port downloads source and > compiles it. Because that's what cvsupit *does*. It installs the cvsup binary, then configures things so you can track various FreeBSD branches. It needs to know which ones to track - so it asks. > 4. Since I just installed 4.3 from the CD, why is it > asking me about source for 5.0, 4.4, 3.? etc. Isn't > it dangerous to install utilities from the latest release > of 4.4 onto a 4.3 system? Yes, it is, but it's not dangerous to have the sources for a different system around, and all cvsup does it download sources. It's not even dangerous to buildworld different systems that way, though it may not work. For example, I might keep 5.0 sources on my fast box running 4-STABLE, buildworld on it and then install it on a test box. What you need to do is ftp the package ftp.freebsd.org:/pub/FreeBSD/ports/packages/All/cvsup-16.1e.tgz. Install that with pkg_add cvsup-16.1e.tgz. That will install a working version of cvsup, and has no dependencies. After this, you can either configure cvsup yourself, and there's lots of discussion in the mail list archives and the handbook; or you can install the cvsupit port, which will use the cvsup you just installed, and walk you through the configuration process (at least version 3.0 of the cvsupit port will). http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message