Created attachment 158630 [details] bsdconfig debug log, FBSD 10.1, documentation install when using bsdconfig to install either documentation or packages on a fresh freebsd 10.1 install, after selecting media (main freebsd distribution site, FTP or HTTP) it appears to connect OK, but then i get "No pkg(8) database found!" on the GUI. using bsdconfig -D debug file when attempting to install documentation shows this line when it fails: /usr/libexec/bsdinstall/docsinstall: cannot open /var/db/pkg/repo-packagesite.sqlite running bsdconfig for packages list/install fails with the same error message on the GUI, but the debug log doesn't seem to show any critical failures..? i note there is a repo-FreeBSD.sqlite file in /var/db/pkg but not repo-packagesite.sqlite. pkg appears to operate properly from the command line, and i've already done portsnap fetch extract and built/installed latest bsdconfig and pkg.
Created attachment 158631 [details] bsdconfig debug log, FBSD 10.1, package install
This has been an ongoing problem since the 10.0-RELEASE cycle, and persisted through 10.1-RELEASE. I do not expect this to be resolved anytime soon, and certainly not before 10.2-RELEASE. Instructions on using the on-disc packages for installation were included in the 10.1-RELEASE announcement email, and will be included in the 10.2-RELEASE email as well. I suspect the issue persists in 11.0-CURRENT as well.
that's a shame, i just hope this kind of bug doesn't discourage people who are new to FreeBSD and are attempting to do something basic like install documentation. during installation at many VPS houses the standard procedure does not include docs, and bsdconfig looks like a reasonable way to try to procure them, up until it not working that is.. ;-) is the issue that this is a complicated fix, or just that there isn't time prioritized to do it, given other things that need work..?
bsdconfig(8) is not needed for this. # pkg install freebsd-doc-en (substituting 'en' for a language code) will provide the same result. Personally, I think using utilites that wrap around pkg(8) hinder from the benefits pkg(8) provides, instead of providing a better user experience.
(In reply to yossarian holmberg from comment #0) The problem, contrary to what Glen has to say, is that pkg is maintained outside of FreeBSD while bsdconfig is maintained inside FreeBSD. When I wrote and released bsdconfig, the path was as the error claims, /var/db/pkg/repo-packagesite.sqlite, whereas today it is different. If this hasn't been fixed already and simply not closed, I will fix it and (either way) update this bug accordingly.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195705 appears to be related
*** Bug 175094 has been marked as a duplicate of this bug. ***
^Triage: to assignee: is there anything further that needs to be done with this PR?
I just installed 14.0-RELEASE and ran into this problem.