Date: Mon, 6 Jun 2005 21:21:15 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Vizion <vizion@vizion.occoxmail.com> Cc: freebsd-questions@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: pkgdb problem Message-ID: <20050607012115.GB33058@xor.obsecurity.org> In-Reply-To: <200506061730.01713.vizion@vizion.occoxmail.com> References: <200506061414.16870.vizion@vizion.occoxmail.com> <20050606223206.GA84164@xor.obsecurity.org> <200506061730.01713.vizion@vizion.occoxmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Y7xTucakfITjPcLV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 06, 2005 at 05:30:01PM -0700, Vizion wrote: > On Monday 06 June 2005 15:32, the author Kris Kennaway contributed to th= e=20 > dialogue on- > Re: pkgdb problem:=20 >=20 > >On Mon, Jun 06, 2005 at 02:14:16PM -0700, Vizion wrote: > >> Hi > >> > >> I managed to get my pkgdb entirely screwed up - and there is now no > >> database. > >> > >> I tried pkgdb -fu > >> And was told there were 0 pkgs! > >> > >> How do I rebuild from scratch? > > > >If you accidentally delete your /var/db/pkg directory then the only > >way to recover it is to restore from backup. >=20 > Ooooooooooooooh dear > are there no recovery scripts - I lost my var partition - and the back up= was=20 > overwritten by a blank db!! No, the information is only stored within that directory. > I have a file listing of all the packages installed on the system - an ou= tput=20 > from pkg_info. > Do you happen to know if there is any way I can at least get that into th= e=20 > pkgdb? Feed it to portinstall to reinstall all of the ports. Kris --Y7xTucakfITjPcLV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCpPaLWry0BWjoQKURArCJAJoCAKfSg2wwyPfiyKFBxnvGu/gHnwCg/51V 5M5qf9uXSMOUZEedtJyag+U= =9obH -----END PGP SIGNATURE----- --Y7xTucakfITjPcLV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050607012115.GB33058>