From owner-freebsd-questions Wed Jan 2 21:47: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rush.telenordia.se (mail.telenordia.se [194.213.64.42]) by hub.freebsd.org (Postfix) with SMTP id EE51737B405 for ; Wed, 2 Jan 2002 21:46:56 -0800 (PST) Received: (qmail 11488 invoked from network); 3 Jan 2002 06:46:54 +0100 Received: from bb-62-5-36-29.bb.tninet.se (HELO there) (62.5.36.29) by mail.telenordia.se with SMTP; 3 Jan 2002 06:46:54 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Mark Rowlands To: Nils Holland , bruce lindquist Subject: Re: UPGRADING PORTS Date: Thu, 3 Jan 2002 06:46:54 +0100 X-Mailer: KMail [version 1.3.2] Cc: FreeBSD Questions References: <20020102161101.AC2D737B426@hub.freebsd.org> <20020102173608.A30756@tisys.org> In-Reply-To: <20020102173608.A30756@tisys.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020103054656.EE51737B405@hub.freebsd.org> 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 Wednesday 02 January 2002 5:36 pm, Nils Holland wrote: > 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 pkg_version -c > somefile vi somefile -- I have realised that it's actually possible to know _less_ than nothing about a subject - I am talking about people who deal with TCP/IP on the level of superstition. Give these people a goat & they wouldn't know what to do with it. -- alt.sysadmin.recovery To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message