Why should we use portsdb?

Discussion in 'Linux & BSD' started by tournevice, Oct 13, 2004.

  1. tournevice

    tournevice OSNN Junior Addict

    Messages:
    17
    Hi there,

    I'm new here, and also, I'm french, so please excuse me for my english :)

    I don't understand the use of portsdb... I mean, before I knew these tools (portupgrade, pkgdb, portsdb...) I just did make install clean via the ports tree, and no problems occured... If you could explain me, it would be nice ;)

    Thx ;)
     
  2. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    Well, as I understand it, some ports corrupt the portsdb in some way. portsdb -u checks the portsdb for the right format and corrects it when necessary. I use it, because I have learnt it that way, but you also just do a make index in /usr/ports.
     
  3. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    Oh and welcome to OSNN.net :)
     
  4. tournevice

    tournevice OSNN Junior Addict

    Messages:
    17
  5. sean.ferguson

    sean.ferguson Moderator Folding Team

    Messages:
    1,693
    Location:
    Fife; Scotland
    i do it once... the first time i install a system. But after that i never do it. Some people say you should do the portdb -u after each and everytime you cvsup your ports
     
  6. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    you personally dont have to use portsdb but it gets used anyway if you use portupgrade and whatnot.

    If you do it yourself itjust gets done earlier than if you didnt.