Date: Wed, 3 May 2006 10:18:22 -0400 From: Robert Huff <roberthuff@rcn.com> To: freebsd-questions@freebsd.org Subject: how get "/var/db/pkg"? Message-ID: <17496.48046.574945.900645@jerusalem.litteratus.org> In-Reply-To: <ecbcb8050605022205t306f7b8bi4470dac95edbf488@mail.gmail.com> References: <ecbcb8050605022205t306f7b8bi4470dac95edbf488@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
xiang writes: > Today,i run "pkgdb -F",but get a error message:"you do not own > /var/db/pkg",becouse i had delete /var/db/pkg by oversight just > the other day. > > how can i do now? If you have deleted all contents of /var/db/pkg, and you don't have a backup, you're screwed. You'll have to reinstall every to rebuild the db. If, however, you just deleted pkgdb.db then "pkgdb -U" will repopulate it. Robert Huff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17496.48046.574945.900645>