From owner-freebsd-questions Sat Jan 6 22:31:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from grumpy.dyndns.org (user-24-214-56-41.knology.net [24.214.56.41]) by hub.freebsd.org (Postfix) with ESMTP id 3D23937B6AA for ; Sat, 6 Jan 2001 22:31:21 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by grumpy.dyndns.org (8.11.1/8.11.1) with ESMTP id f076V3Z00489; Sun, 7 Jan 2001 00:31:03 -0600 (CST) (envelope-from dkelly@grumpy.dyndns.org) Message-Id: <200101070631.f076V3Z00489@grumpy.dyndns.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Joshua Delong Thomas Cc: FreeBSD-questions@FreeBSD.ORG From: David Kelly Subject: Re: Interrupted cvsup In-reply-to: Message from Joshua Delong Thomas of "Sat, 06 Jan 2001 23:29:15 CST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Jan 2001 00:31:03 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joshua Delong Thomas writes: > Yes, I'm a newbie, and I just tried to cvsup my ports tree. However, for > aviplay to be installed, I need the newest version of qt, like 2.25 or > something like that. To get that, I have to uninstall 2.21 which I have > right now. However, in the ports tree under qt2.1 there is no makefile, > only a work directory and a readme file. The work directory has some more > make files, but I'm not sure exactly what the work directory is there for, > and none of the makefiles are the correct ones to deinstall qt. I'm lost > here, I don't exactly know what makefiles do, and I don't know how to get > back what I lost when I cvsupped. I looked at the cvsup logfile, and I > found the files, but I didn't know what I was looking at. Is there a way > I can rebuild the ports tree to what I had, or find that makefile, or even > go through and delete everything that qt2.1 installled? I didn't find > anything on this in cvsup or anywhere in the manual. Don't use "make deinstall". Use "pkg_delete /var/db/pkg/qt*" You might have to remove other packages which depend on qt. When a port or package is installed, the record is kept in /var/db/pkg/ where pkg_* tools can deal with it. As for the work files in /usr/ports/, they need to be removed with "make clean" after installing a port else they may confuse newer version of the port. You can "make clean" from the /usr/ports directory to clean up everything but that may take hours. Then again, does your system have anything better to do while you are asleep or at work or something? Others have suggested use of something like this (typed, but untried): find /usr/ports -type d -name work -exec rm -rf "{}" \; -prune -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message