From owner-freebsd-questions@FreeBSD.ORG Mon Feb 27 02:29:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F36F616A420 for ; Mon, 27 Feb 2006 02:29:23 +0000 (GMT) (envelope-from ow.mun.heng@wdc.com) Received: from wdscexfe02.sc.wdc.com (wdscexfe02.sc.wdc.com [129.253.170.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D05543D48 for ; Mon, 27 Feb 2006 02:29:23 +0000 (GMT) (envelope-from ow.mun.heng@wdc.com) Received: from neuromancer.home.net ([129.253.108.208]) by wdscexfe02.sc.wdc.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 26 Feb 2006 18:29:19 -0800 Received: from neuromancer.home.net (neuromancer.home.net [127.0.0.1]) by neuromancer.home.net (8.13.4/8.13.4) with ESMTP id k1O3kBFi008003 for ; Fri, 24 Feb 2006 11:46:12 +0800 From: Ow Mun Heng To: freebsd-questions@freebsd.org In-Reply-To: <200602230815.46972.donaldjoneill@gmail.com> References: <1140659905.1984.20.camel@neuromancer.home.net> <200602222136.22120.donaldjoneill@gmail.com> <1140667149.4762.30.camel@neuromancer.home.net> <200602230815.46972.donaldjoneill@gmail.com> Content-Type: text/plain Date: Fri, 24 Feb 2006 11:46:10 +0800 Message-Id: <1140752770.4762.78.camel@neuromancer.home.net> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Feb 2006 02:29:19.0933 (UTC) FILETIME=[9CFE46D0:01C63B45] Subject: Re: Newbie Alert : pkg_add and packages Q (do not want to compile) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 02:29:24 -0000 On Thu, 2006-02-23 at 08:15 -0600, Donald J. O'Neill wrote: > On Wednesday 22 February 2006 21:59, Ow Mun Heng wrote: > > On Wed, 2006-02-22 at 21:36 -0600, Donald J. O'Neill wrote: > > > On Wednesday 22 February 2006 20:59, Ow Mun Heng wrote: > > > > what about the dependency then? Ignore it? What if there are > > > > "files" needed by xorg-clients? eg: libXX.so.Y and which is not > > > > present in the new xterm? > > > > > > Since you want to replace it with a newer version, why are you > > > worried about the dependencies. The newer version will take care of > > > that. Of course, if you delete xterm and don't replace it, then you > > > will have to handle the dependencies. > > > > So, I do pkg_del -f xterm and then a pkg_add -vr xterm-206_1 and it > > will upgrade xorg-clients if needed? If yes, then Good. > > > No. It would only upgrade xterm. Xterm isn't dependent on xorg-clients. > It's required by xorg-clients. > > So, that brings up a question. Are you really trying to upgrade xorg and > xterm was the example you used? If that's the case, my advice would > have been different. I'm trying to upgrade xterm. But I get what you mean. > > > > > > Use Windows instead. All that takes is money. > > > > Why the sarcasm? > > > be fixed, forgiven, but not forgotten. I'm sorry for the sarcasm. No Harm done and once again. I thank you and everyone else for the help. I'm learning and I'm RTFM and I'm reading the book I bought and I'm googling so I'm not expecting spoon feeding. :-) > I hope that by this time, you've received enough information to do what > you wanted to do. > yes.. I finally found out how to do it and that one of the quirkiness of FreeBSD is to ignore it's "pkg_delete statement of -> Dependencies.. Will delete anyway" > One thought just occurred to me. What is the output from 'uname -a', > mine is: > FreeBSD pres1750.mylan.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed > Feb 8 08:20:10 CST 2006 > root@pres1750.mylan.net:/usr/obj/usr/src/sys/PRES1750-i386 i386 > # uname -a FreeBSD BSD6.home.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 > You'll see that it has "FreeBSD 6.1-PRERELEASE" in it. > If yours has "FreeBSD 6.0-RELEASE" in it. Then you can't install a > package using "pkg_add -r 'some package'" for a package built for > "FreeBSD 6.0-STABLE". You need to have 6.0-STABLE in order to install > packages built for 6.0-STABLE. Yeah. I finally understand that. So, in actuality, BSD _was_ fetching in the correct place. Unfortunately for me, when I passed the Env variable to the shell, it wasn't at the correct FTP PATH. Which messed things up. (BSD is really a different animal. In Gentoo, there's no such thing as a "release" only "stable" or "unstable/bleeding" which we mark as either x86 or ~x86) And to get from FreeBSD-Release to FreeBSD-Stable is done through compiling ports. But I also found out that we can do it via packages. just CVSup ports, put in the correct ENV PACKAGESITE variable and then the best tip I found was to install portupgrade. Now it's just #portupgrade -vPP and it will fetch and only fetch Binary Releases. (it's so intelligent that it will downgrade to the next latest binary which is available in the ftp site.) Thanks again. -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 11:37:35 up 2 days, 13:12, 4 users, load average: 1.56, 0.94, 0.63