Re: issue with ports

From: Andrew J Caines (A.J.Caines_at_halplant.com)
Date: 05/23/03

  • Next message: Stephen McKay: "Re: ad0: READ command timeout...."
    Date: Fri, 23 May 2003 02:57:02 -0400
    To: freebsd-stable@freebsd.org
    
    

    Jason,

    > my ports database seems to have become broken.

    You can always rebuild the ports and package databases if the need arises, though I doubt this is your problem, eg.

    # cd /usr/ports/ ; > INDEX ; > INDEX.db ; make index ; portsdb -Uu
    # > /var/db/pkg/pkgdb.db ; pkgdb -u

    > I can't do even a make clean in ports

    Don't bother. Start with a freshly cvsup'ed ports tree. After you next
    update and install new versions, run "portsclean" (with -CD or whatever
    suits you) and leave the rest to portupgrade.

    > ** Error occured reading /usr/local/etc/pkgtools.conf:
    > undefined method `+' for nil

    Did you copy pkgtools.conf.sample to pkgtools.conf? If so, what changes
    did you make to pkgtools.conf [diff them]?

    I use a script, update_stable[1], to update my sources and ports. It can
    be invoked with an argument just to update the ports (update_stable ports)
    and which takes care of all the databases and other stuff. This may be a
    useful reference even if you don't run it. I have another, for installing
    a newly built world and kernel. You can see my sup and config files for
    reference[3].

    [1] http://halplant.com:88/software/FreeBSD/scripts/update_stable
    [2] http://halplant.com:88/software/FreeBSD/scripts/install_stable
    [3] http://halplant.com:88/server/config/

    -Andrew-

    -- 
     _______________________________________________________________________
    | -Andrew J. Caines-   Unix Systems Engineer   A.J.Caines@halplant.com  |
    | "They that can give up essential liberty to obtain a little temporary |
    |  safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Stephen McKay: "Re: ad0: READ command timeout...."

    Relevant Pages

    • Re: subversion on FreeBSD 4.10
      ... I've upgraded all the ports including perl. ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # To avoid running MAKEDEV all on /dev during install: ...
      (freebsd-questions)
    • Re: newest PHP port upgrade broke php5-mbstring-5.0.1 ?
      ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # certain ports. ... # To avoid running MAKEDEV all on /dev during install: ...
      (freebsd-questions)
    • Re: External drives not installing or working properly on USB
      ... Tne one thing you could try doing is a repair install of XP ... Only one of the five host controllers is connected to the 6 ... As you have 5 host ports, ... operating system to recognise the four additional 'drives'. ...
      (microsoft.public.windowsxp.general)
    • Re: Packages available for different FreeBSD versions
      ... When I install FreeBSD, I am installing a "core operating system version ... Then I may choose to install the "ports" as either ...
      (freebsd-questions)
    • Re: mfi freebsd7
      ... i did update my ports and install the 1.01.40 version... ... A RAID1 config shoudl suit a busy webserver well. ... To unsubscribe, send any mail to ...
      (freebsd-questions)