Date: Mon, 15 Dec 2003 16:34:50 -0000 From: Josh Paetzel <friar_josh@tcbug.org> To: Darryl Hoar <darryl@osborne-ind.com> Cc: freebsd-questions@freebsd.org Subject: Re: Removing a program Message-ID: <20031215103413.GC2482@ns1.tcbug.org> In-Reply-To: <06e501c3c325$e96e6bc0$0701a8c0@darryl> References: <06e501c3c325$e96e6bc0$0701a8c0@darryl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 15, 2003 at 10:10:08AM -0600, Darryl Hoar wrote: > Greetings, > I installed phpBB from the ports on my 4.7 box. Went fine. > Had my phpBB bulletin boards hacked, even after applying > all the patches from phpbb.com. My current version of > phpBB is 2.0.0_1. All they suggested was install the new > version of phpBB and make sure I look for patches. > > So... Since I installed phpBB from the ports, how do I remove > the program? I want to download phpBB from their site and > install it clean. > > thanks for any help, > -Darryl You can find the exact name of the package using pkg_info and then pkg_delete it using a command similar to this: #pkg_delete `pkg_info | grep phpBB | awk {'print $1'}` Please note that this will delete any package with phpBB in the name or title or description, so use it with caution. What you'll most likely find is that pkg_de;ete won't be able to delete the entire port, since it can only delete things it knows about. It's not going to be able to delete patched binaries, or the directories that those binaries are residing in. The other thing it won't be able to delete is the mysql databases that phpBB uses. All of these things will have to be hunted down by hand. pkg_delete will however complain about files and directories you can't delete, so that will at least give you a starting point to work from. Hope this helps, Josh Paetzel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031215103413.GC2482>