Date: Fri, 18 Apr 2008 14:34:29 +0400 From: Andrew Pantyukhin <infofarmer@freebsd.org> To: Aijaz Baig <aijaz.abaig@gmail.com> Cc: leslie@eskk.nu, Mel <fbsd.questions@rachie.is-a-geek.net>, freebsd-questions@freebsd.org Subject: Re: Pkg_info corrupt for some packages Message-ID: <20080418103422.GE1543@amilo.cenkes.org> In-Reply-To: <101a1afc0804141347y4e980688vcabf57dd3df70c8b@mail.gmail.com> References: <101a1afc0804110732u8b2a16k24caa639258e7f42@mail.gmail.com> <200804112204.04948.fbsd.questions@rachie.is-a-geek.net> <101a1afc0804130241p2cae4475qc072ac2b5a4f5aa2@mail.gmail.com> <200804132301.38567.fbsd.questions@rachie.is-a-geek.net> <101a1afc0804141347y4e980688vcabf57dd3df70c8b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 14, 2008 at 10:47:01PM +0200, Aijaz Baig wrote: > Hello, > > I tried running the script suggested by mel and after that I was able to see > that some of those packages got registered as installed. > > However some of the packages were not being found and as an example I saw > the following: > > Restoring doodle-0.6.6_1 > Failed: cannot find doodle-0.6.6_1 in /usr/ports/INDEX-7* > > *Then as suggested by andrew I tried to see just how many packages have been > messed and to my shock the figure for the first command was 336 and for the > second command was 326. > > Well...how do I 'extract the port origins' from pkgdb.db?I am sorry if I > sound naive but im a bit new to freebsd. Ten lost ports is easy enough to do by hand - look what packages miss their contents and find them in the ports tree. Then just cd to each /usr/ports/whatever/whenever and run make install -DFORCE_PKG_REGISTER That should do it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080418103422.GE1543>