I've done a fresh installation of FreeBSD 10.2 on a new RAIDZ system.
I started following the instructions for installing Apache, etc. found at http://www.cyberciti.biz/faq/how-to-install-apache-mysql-php-stack-on-freebsd-unix-server/ The first step failed because
The
I then ran
I ran
Thinking perhaps there wasn't a real problem, I
I then tried
I thought running
What am I missing?
I started following the instructions for installing Apache, etc. found at http://www.cyberciti.biz/faq/how-to-install-apache-mysql-php-stack-on-freebsd-unix-server/ The first step failed because
portsnap extract
is required before portsnap upgrade
so my second step was portsnap extract update && portupgrade -a
The
portsnap
seems to have succeeded, but portupgrade
is failing:
Code:
[Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1110 packages found (-0 +1110) ....................................................................................................100....................................................................................................200....................................................................................................300....................................................................................................400....................................................................................................500....................................................................................................600....................................................................................................700....................................................................................................800....................................................................................................900....................................................................................................1000....................................................................................................1100.......... done]
[origins - not a string (NilClass)] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1110 packages found (-0 +1110) ....................................................................................................100....................................................................................................200....................................................................................................300....................................................................................................400....................................................................................................500....................................................................................................600....................................................................................................700....................................................................................................800....................................................................................................900....................................................................................................1000....................................................................................................1100.......... done]
[origins - not a string (NilClass)] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1110 packages found (-0 +1110) ....................................................................................................100....................................................................................................200....................................................................................................300....................................................................................................400....................................................................................................500....................................................................................................600....................................................................................................700....................................................................................................800....................................................................................................900....................................................................................................1000....................................................................................................1100.......... done]
origins - not a string (NilClass): Cannot read the pkgdb!
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFOQ
I then ran
pkgdb -fu
and got similar results, ending with the "not a string" error. I did an rm /var/db/pkg/pkgdb.db
and re-ran pkgdb -fu
and got the same results as before deleting the database.I ran
pkg_libchk -qo
and it returned to the prompt without generating any results, which I interpreted as an empty error set.Thinking perhaps there wasn't a real problem, I
cd
'd to www/apache24 and tried make install clean
and got Shared object "libcrypto.so.6" not found, required by "bsdtar"I then tried
pkgdb -F
- which ended with the same "not a string" error.I thought running
make
in a ports directory was supposed to fetch and build any ports/packages it depends on, but that appears to not be the case.What am I missing?