Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^3: FreeBSD Ports vs. CPAN

by include (Novice)
on Mar 16, 2005 at 18:49 UTC ( #440088=note: print w/replies, xml ) Need Help??

in reply to Re^2: FreeBSD Ports vs. CPAN
in thread FreeBSD Ports vs. CPAN

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

if you get loss just come to #FreeBSD @freenode.

god PIP :) (port install party)

Replies are listed 'Best First'.
Re^4: FreeBSD Ports vs. CPAN
by samizdat (Vicar) on Mar 16, 2005 at 18:55 UTC
    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.
      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
Re^4: FreeBSD Ports vs. CPAN
by samizdat (Vicar) on Mar 16, 2005 at 19:16 UTC
    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
      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!
        Those extra BSD manpages ARE really helpful. FreeBSD ROX! Thanx for all the tips, include! :D

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://440088]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2022-01-26 18:09 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (69 votes). Check out past polls.