From owner-freebsd-questions@FreeBSD.ORG Thu Oct 20 14:34:10 2005 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 E4AF316A41F for ; Thu, 20 Oct 2005 14:34:10 +0000 (GMT) (envelope-from craig@advantagecomputer.biz) Received: from mail.advantagecomputer.biz (mail.acspros.com [209.168.238.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50F2943D5A for ; Thu, 20 Oct 2005 14:34:09 +0000 (GMT) (envelope-from craig@advantagecomputer.biz) Received: from craiglaptop [192.168.0.100] by mail.advantagecomputer.biz with ESMTP (SMTPD32-8.15) id AAF6AC024C; Thu, 20 Oct 2005 09:34:30 -0500 From: "Craig Deal" To: Date: Thu, 20 Oct 2005 09:34:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <44irvse17f.fsf@be-well.ilk.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcXVfu0TIb2kHC/gSIyFVeIPmVTQxgAACbxg Message-Id: <200510200934687.SM01300@craiglaptop> X-mxGuard-Info: Processed by mail.acspros.com using mxGuard v1.6.2 X-mxGuard-Spool-ID: aaf600ac024cacb2 X-mxGuard-Auth-Sender: craig@advantagecomputer.biz@mail.advantagecomputer.biz X-mxGuard-Sender: craig@advantagecomputer.biz X-mxGuard-Spam-Score: 0 X-mxGuard-Spam-Probability: CLEAN Subject: RE: Portupgrade problem 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: Thu, 20 Oct 2005 14:34:11 -0000 > -----Original Message----- > From: lowell@be-well.ilk.org [mailto:lowell@be-well.ilk.org] > On Behalf Of Lowell Gilbert > Sent: Thursday, October 20, 2005 9:02 AM > To: Craig Deal > Cc: freebsd-questions@freebsd.org > Subject: Re: Portupgrade problem > > "Craig Deal" writes: > > > > -----Original Message----- > > > From: owner-freebsd-questions@freebsd.org > > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Lowell > > > Gilbert > > > > How did you install ruby? > > > That's the program (as opposed to portupgrade) that's > trying to link > > > to the wrong library, and the version you have installed > is not the > > > one you would have gotten from the 5.4-RELEASE packages. > > > > > > That could be the problem. I used "pkg_add > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages...... > for some > > of the packages, in order to get the most current version. > I may have > > used the wrong ftp folder on one of the them. Is > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ or > > using "pkg_add -r" the most current packages for ver. 5.4? If so, I > > think I will just start over with a clean install. > > If you want to keep your packages up-to-date, I recommend > updating your ports tree with cvsup and then using > portupgrade or portmanager get the updates. > > Reinstalling the whole system is quite drastic and completely > unnecessary. > That's ok, I'm used to it since I mainly deal with windows (till now anyway). > If you want to keep your packages up-to-date, I recommend > updating your ports tree with cvsup and then using > portupgrade or portmanager get the updates. What is the best way to keep the system up-to-date if you use packages? The manual is fairly clear if you use ports, but things get kinda vague (for me anyway) when it comes to packages. I have successfully installed (from packages) a working system with FreeBSD/Postfix/amavisd-new/spamassassin/Clamav/F-Prot/Postgrey/etc, and I want to make sure I can keep the packages updated without crashing the system. I ran: cvsup -h cvsup1.freebsd.org /usr/share/examples/cvsup/ports-supfile cd /usr/ports/ && make fetchindex pkgdb -uvF portsdb -u portupgrade -arPP" but nothing got updated. It said everything was current. When I ran pkg_version, the majority of the packages had this "<". After that I used "portupgrade -arR" and it updated some packages from the ports tree. I would prefer to use only packages, but it fetches from the .../packages-5-release, which is not current. Any help would be appreciated. Craig