Date: Tue, 24 Dec 2002 08:37:01 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> 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> In-Reply-To: <F105XV4sY9OIerEAMUu0000e592@hotmail.com> References: <F105XV4sY9OIerEAMUu0000e592@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021224083701.GA85250>