Date: 19 Jun 2003 15:48:26 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: FreeBSD Questions LIST <FreeBSD-Questions@freebsd.org> Subject: Re: "Resetting" ports and pkg's? Message-ID: <44isr1j1bp.fsf@be-well.ilk.org> In-Reply-To: <20030617212121.H32633-100000@Video2Video.Com> References: <20030617212121.H32633-100000@Video2Video.Com>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Leftwich <Hostmaster@Video2Video.Com> writes: > Is there some way to "reset" what my FreeBSD 4.7-RELEASE O.S. "knows" about > what is currently installed? I ask because a while back, I accidentally > deleted part of /usr/local/lib/ (in unlinking a directory). > > Now, whenever I install a port or run `pkg_add -rf` something is always > wrong and indicated by an error message. Help! Thanks CC: me please... > > PS - Is it as easy as just `rm -rf /var/db/pkg/` or just one directory? Hmm. Depends on what you want to do again in the future. If it were I, I would probably pkg_delete everything there, clean out /usr/local, and reinstall them.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44isr1j1bp.fsf>