From owner-freebsd-questions Tue Dec 24 0:37:20 2002 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 82D7637B401 for ; Tue, 24 Dec 2002 00:37:18 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id E325443EE5 for ; Tue, 24 Dec 2002 00:37:16 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gBO8b69Y085421 for ; Tue, 24 Dec 2002 08:37:06 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gBO8b14m085416 for freebsd-questions@FreeBSD.ORG; Tue, 24 Dec 2002 08:37:01 GMT Date: Tue, 24 Dec 2002 08:37:01 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: How to force fresh install of a port, esp. KDE? Message-ID: <20021224083701.GA85250@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 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 Mon, Dec 23, 2002 at 10:03:42PM -0500, Carolyn Longfoot wrote: > How can I install a port without reference to already installed portions of > it, so that it blindly installs everything it needs, regardless of what may > or may not already be there? I think I messed up KDE and ended up > installing some parts by themselves but it still misses obscure files, like > kartsdispatcher.h (even though I have arts installed). > KDE is obviously a very fat port with lots of components and I'm hoping a > forced fresh install will fix my problems. I have no idea how to clean up > the mess otherwise, since it's impossible to locate all the files and ports > that the KDE 'make install', plus my manual fiddling, have already > installed. Set FORCE_PACKAGE_REGISTER in the environment. From /etc/make.conf: # Override "don't install a port that's already installed" behavior. # One might wish to do this for ports debugging or to unconditionally # reinstall a set of suspect/broken ports. # #FORCE_PKG_REGISTER= YES Alternately, or maybe even additionally, it's quite handy to use portupgrade's force update feature, eg: portupgrade -fr x11/kde3 which will reinstall kde3 and every installed port that depends on kde3 --- probably many hours worth of compilation. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message