Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2001 00:31:03 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        Joshua Delong Thomas <jdt2101@ksu.edu>
Cc:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: Interrupted cvsup 
Message-ID:  <200101070631.f076V3Z00489@grumpy.dyndns.org>
In-Reply-To: Message from Joshua Delong Thomas <jdt2101@ksu.edu>  of "Sat, 06 Jan 2001 23:29:15 CST." <Pine.GSO.4.21L.0101062317040.9110-100000@unix2.cc.ksu.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101070631.f076V3Z00489>