From owner-freebsd-questions Sun Dec 17 15:24:51 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 17 15:24:49 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id ABA4D37B402 for ; Sun, 17 Dec 2000 15:24:48 -0800 (PST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.9.3/8.9.3) with SMTP id SAA93228; Sun, 17 Dec 2000 18:24:25 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <004a01c06880$d4a24200$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Brent Kearney" , References: <20001217142150.A15561@kearneys.ca> Subject: Re: proper way to upgrade a port Date: Sun, 17 Dec 2000 18:26:48 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I could 'make deinstall' in the old port, before using cvsup to update > my ports. However, although I can do this for one port, I'm not going > to do it for every installed port, every time I update the collection. > So some will get left out. > > If I just cvsup my ports, and make install, then will there be > leftover binaries from the old version kicking around on my server? > Will the pkg database be accurate? If you cvsup and then 'make install' for ports that are already installed, you may get parts and pieces of older versions kicking around on your server. Since the package database identifies products by their name and version, you can use pkg_delete to remove the old version, then do 'make install' to install the new version. (Do NOT do a pkg_delete after you've installed the new version, since it may remove identically-named files from the new version.) -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message