From owner-freebsd-questions Wed Jan 2 8:36:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mcqueen.wolfsburg.de (pns.wobline.de [212.68.68.5]) by hub.freebsd.org (Postfix) with ESMTP id 3251837B416 for ; Wed, 2 Jan 2002 08:36:15 -0800 (PST) Received: from colt.ncptiddische.net (ppp-158.wobline.de [212.68.69.166]) by mcqueen.wolfsburg.de (8.11.3/8.11.3/tw-20010821) with ESMTP id g02Ga4720928; Wed, 2 Jan 2002 17:36:04 +0100 Received: from tisys.org (jodie.ncptiddische.net [192.168.0.2]) by colt.ncptiddische.net (8.11.6/8.11.6) with ESMTP id g02GaTX07098; Wed, 2 Jan 2002 17:36:30 +0100 (CET) (envelope-from nils@tisys.org) Received: (from nils@localhost) by tisys.org (8.11.6/8.11.6) id g02Ga8t30882; Wed, 2 Jan 2002 17:36:08 +0100 (CET) (envelope-from nils) Date: Wed, 2 Jan 2002 17:36:08 +0100 From: Nils Holland To: bruce lindquist Cc: FreeBSD Questions Subject: Re: UPGRADING PORTS Message-ID: <20020102173608.A30756@tisys.org> References: <20020102161101.AC2D737B426@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020102161101.AC2D737B426@hub.freebsd.org>; from blindquist@microinstrument.com on Wed, Jan 02, 2002 at 08:12:27AM -0800 X-Operating-System: FreeBSD jodie.ncptiddische.net 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE X-Machine-Uptime: 5:22PM up 3:50, 1 user, load averages: 0.13, 0.07, 0.02 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 On Wed, Jan 02, 2002 at 08:12:27AM -0800, bruce lindquist stood up and spoke: > > Can someone please help me? I currently have KDE version: 2.2 installed on my > system and I want to upgrade it to version 2.2.2. What steps do I need to > take to accomplish this. So far I have installed cvsup and ran it with my > "supfile." So far so good, I think. I then went to the //localhost/usr/ports > location and typed "make." Everything seemed to work ok. Then I typed "make > install" and it seemed to work ok. What do I do now? Did I miss any steps? I > ran "pkg_version | grep '<'" and get a lot of apps that are <. You did a make in /usr/ports? Didn't that take a very long time, like half a year or so? Well, generally, I do not use any software that isn't part of the FreeBSD base system to keep my ports current. Basically, the procedure I use goes like this: 1) CVSup the latest ports tree, as described in the FreeBSD handbook. If you have a reasonably fast machine, a "make index" in /usr/ports cannot hurt. 2) Run pkg_version and let it write the output to a file, if needed (pkg_version > ports_info). 3) Observe pkg_versions output. All ports marked with = are current, while those marked with < probably need upgrading. I say probably because sometimes a < does not mean that a new version of the port has become available, but that only the port version has been bumped. In that case, some FreeBSD - internal changes were made to the port, and you must decide yourself if that justifies an update. 4) If you've found a port to update, first of all locate its proper name. Let's asume I want to update vim, my favorite editor. So I enter "pkg_info | grep vim". This gives me output like "vim-6.0.101 - Vi workalike with many additional features". Now that I know the exact name of my current vim port, I can remove it with "pkg_delete vim-6.0.101". 5) Now, pull the new version in. To continue the vim example, I'd cd to /usr/ports/editors/vim, type "make" and "make install", and there I go! Typing "pkg_info | grep vim" will also show me that the new version of vim has been installed and properly registered. Now, there are some utilities (portupgrade, for example) that are supposed to make this a little more confortable for you. However, I have always found that I can get everything done just fine with the approach outlined above. Hope that helps. Nils -- Nils Holland Ti Systems - FreeBSD in Tiddische, Germany http://www.tisys.org * nils@tisys.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message