From owner-freebsd-questions@FreeBSD.ORG Tue May 24 20:13:43 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 3DA9F16A41C for ; Tue, 24 May 2005 20:13:43 +0000 (GMT) (envelope-from tshadwick@goinet.com) Received: from mail.goinet.com (mail.goinet.com [208.207.72.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8501843D48 for ; Tue, 24 May 2005 20:13:42 +0000 (GMT) (envelope-from tshadwick@goinet.com) Received: from mail.goinet.com (localhost.goinet.com [127.0.0.1]) by mail.goinet.com (8.13.1/8.13.1) with ESMTP id j4OKDZ0n099678; Tue, 24 May 2005 15:13:35 -0500 (CDT) (envelope-from tshadwick@goinet.com) Received: from localhost (tshadwick@localhost) by mail.goinet.com (8.13.1/8.13.1/Submit) with ESMTP id j4OKDXm5099672; Tue, 24 May 2005 15:13:33 -0500 (CDT) (envelope-from tshadwick@goinet.com) X-Authentication-Warning: mail.goinet.com: tshadwick owned process doing -bs Date: Tue, 24 May 2005 15:13:33 -0500 (CDT) From: Tony Shadwick To: Joey Mingrone In-Reply-To: <200505241426.44751.joey@mingrone.org> Message-ID: <20050524151044.L47072@mail.goinet.com> References: <200505241426.44751.joey@mingrone.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on mail.goinet.com X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: installing / updating ports on an older (4.8 system) 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: Tue, 24 May 2005 20:13:43 -0000 Odds are you're doing a make deinstall/reinstall in the wrong place. You do that to the dependency that fails, not the port you're upgrading. The best way to handle this is to make sure that your ports tree is current using cvsup, and if it's not already installed, install sysutils/port-maintenance-tools. Then do: portupgrade editors/vim That will take care of issues like this for you. To get a good picture of your scenario: portmanager -s. If you read back through the archives for this list, there are also sorts of good examples and practices for keep your ports and sources current and making upgrades relatively painless. :) Tony On Tue, 24 May 2005, Joey Mingrone wrote: > Hi, > > I have a box running 4.8. I only have ssh access so I can't update the OS > at the moment, but I would like to update certain ports. I'm running into > a few problems. The worst is when I update a port it tries to update / > install dependencies that are already up to date. For example, when I try > to update vim, it tries to install gmake-3.80_2, which is already > installed. The build/install ends with the following error message: > > ===> Installing for gmake-3.80_2 > ===> Generating temporary packing list > ===> Checking if devel/gmake already installed > ===> gmake-3.80_2 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of devel/gmake > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/devel/gmake. > *** Error code 1 > > Stop in /usr/ports/devel/pkgconfig. > *** Error code 1 > > Stop in /usr/ports/editors/vim. > ** Command failed [exit code 1]: /usr/bin/script > -qa /tmp/portupgrade34605.0 make > ** Fix the problem and try again. > ** Listing the failed packages (*:skipped / !:failed) > ! editors/vim (vim-6.3.16) (unknown build error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > > I did try the make deinstall / reinstall but with the same results. If I > unistall gmake (and other dependencies) then just build vim, it will work, > but deinstalling dependencies before every update is a little cumbersome. > > A second and possibly related problem is that building an index fails. I > read the following on http://freebsd.org/ports > > The Ports Collection supports the latest release on the FreeBSD-CURRENT and > FreeBSD-STABLE branches. Older releases are not supported and may or may > not work correctly with an up-to-date ports collection. > > So am I out of luck or is there any help out there? > > Thanks, > > Joey > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >