There are many tips to fix your database of instaled ports/packages, lets rock. (that message i think he is saying you dont have Perl installed via ports)
a very nice app to help you maintainning the installed ports is sysutils/portupgrade. just:
#cd /usr/ports/sysutils/portupgrade ; make install clean ; rehash ; portversion | grep '<'
(read UPDATING) and then
#portupgrade -aR
finaly fix the database
#pkgdb -Fu
#pkg_info perl-5\* | more
(#ls -l /var/db/pkg/perl*)
and you can see if you have Perl installed by ports/packages.
if you have Perl installed but want to force a reinstall, do:
#cd /usr/ports/lang/perl5.8 ; make FORCE_PKG_REGISTER=yes install
read the last output normaly the file pkg_desc or message is outputed in he end of the instalation of any port. i recomend you take a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
if you get loss just come to #FreeBSD @freenode.
god PIP :) (port install party) | [reply] |
Coolio, but I've gotten myself into portupgrade hell several times. It wants to rebuild everything for every port. :-( I think on a machine that you run it consistently on and follow through with, everything should be copacetic.
Thanks for the tips though. I have a machine that is fairly clean now, so it should be doable.
| [reply] |
the better choice is to update all ports for a nice system, (and if you are concern about security just install portaudit),, but you can FORCE for only update what you want.
#portupgrade -f PORTNAME
but COOLIEST :D is to have a jail to build packages and then deploy to other machines
| [reply] |
Two additions to your portupgrade sequence, for the benefit of others:
- add FORCE_PKG_REGISTER=yes to the make install clean
- rehash only exists as a builtin in csh
It's chuffing away now... :D
| [reply] |
Yep, thats true :D in some machines i dont install other shell than the standard, so sometimes i forget to "un_rehash" my comments;)
thanks :P
the last tip is the best one :D
#man 7 ports
many people forget this manpage exist :D,, i did learn in here!
| [reply] |