Date: Thu, 5 Apr 2001 00:06:20 -0500 From: Mike Meyer <mwm@mired.org> To: Michael O'Henly <michael@tenzo.com> Cc: questions@freebsd.org Subject: Re: Questions about installing ports... Message-ID: <15051.64844.377238.723131@guru.mired.org> In-Reply-To: <78375481@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael O'Henly <michael@tenzo.com> types: > I have some questions about the use of the ports collection that a first > reading of the FAQs hasn't answered... > > 1. It looks as though binary packages may be added and removed using the > "pkg_add" and "pkg-delete" commands. Will "pkg-delete" also remove binaries > created by the "make install" process? Yes, except it's spelled pkg_delete. Make install adds things to the package database. > 2. Is there a central repository of package information on my system that > could tell me what version of a package is installed? /var/db/pkg. Also see the pkg_info man page. > 3. Is there a way to specify a mirror on the command line when giving the > "make install" command? I'm feeling guilty because most of the sources I've > downloaded have come from "ftp.freebsd.org" rather than a local mirror. Read through /etc/defaults/make.conf, looking for info about MASTER_SITE. The additions should be in /etc/make.conf, not /etc/defaults/make.conf. > 4. I'm pretty sure that XFree86-3.3.6_4 is what gets installed by FreeBSD > 4.2. After installing 4.2, I used cvsup to refresh my ports collection and > noticed that the latest version of the "old" XFree86 is 3.3.6_7. If I went to > /usr/ports/x11/XFree86 and did a "make deinstall" using this updated > Makefile, would it remove 3.3.6_4? (I'm asking because it didn't seem to > work. Neither did "pkg_delete XFree86". I ended up installing 4.0.3 on top of > the old version.) "make deinstall" deinstalls the same version that it installs. Since you updated the ports file, it tried to deinstall XFree86-3.3.6_7, which wasn't installed. I would recommend deinstalling them both (pkg_delete XFree86-3.3.6_4 and XFree86-4.0.3), and then reinstalling the newer one. Then again, not doing so just means you may have some old files lieing around that will probably never be used - and may even work if they are. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. 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?15051.64844.377238.723131>